Changeset View
Changeset View
Standalone View
Standalone View
src/widget/dataviewcommon/kexiformdataiteminterface.h
Show First 20 Lines • Show All 154 Lines • ▼ Show 20 Line(s) | 34 | public: | |||
---|---|---|---|---|---|
155 | } | 155 | } | ||
156 | 156 | | |||
157 | //! Selects contents of the widget if there is such behaviour set (it is by default). | 157 | //! Selects contents of the widget if there is such behaviour set (it is by default). | ||
158 | //! @todo add option for not selecting the field | 158 | //! @todo add option for not selecting the field | ||
159 | virtual void selectAllOnFocusIfNeeded(); | 159 | virtual void selectAllOnFocusIfNeeded(); | ||
160 | 160 | | |||
161 | protected: | 161 | protected: | ||
162 | QString m_dataSource; | 162 | QString m_dataSource; | ||
163 | QString m_dataSourcePartClass; | 163 | QString m_dataSourcePartClass = QStringLiteral("org.kexi-project.table"); //!< default for cases when the part class is missing | ||
164 | KDbQueryColumnInfo* m_columnInfo; | 164 | KDbQueryColumnInfo* m_columnInfo; | ||
165 | KexiDisplayUtils::DisplayParameters *m_displayParametersForEnteredValue; //!< used in setDisplayDefaultValue() | 165 | KexiDisplayUtils::DisplayParameters *m_displayParametersForEnteredValue; //!< used in setDisplayDefaultValue() | ||
166 | KexiDisplayUtils::DisplayParameters *m_displayParametersForDefaultValue; //!< used in setDisplayDefaultValue() | 166 | KexiDisplayUtils::DisplayParameters *m_displayParametersForDefaultValue; //!< used in setDisplayDefaultValue() | ||
167 | bool m_displayDefaultValue; //!< used by setDisplayDefaultValue() | 167 | bool m_displayDefaultValue; //!< used by setDisplayDefaultValue() | ||
168 | 168 | | |||
169 | friend class KexiDBAutoField; | 169 | friend class KexiDBAutoField; | ||
170 | }; | 170 | }; | ||
171 | 171 | | |||
172 | #endif | 172 | #endif |