Changeset View
Changeset View
Standalone View
Standalone View
src/core/KexiMainWindowIface.h
Show First 20 Lines • Show All 269 Lines • ▼ Show 20 Line(s) | 262 | //! @todo replace with the final Actions API | |||
---|---|---|---|---|---|
270 | If the current property is 0 and @a textToDisplayForNullSet string is empty, the info label widget becomes | 270 | If the current property is 0 and @a textToDisplayForNullSet string is empty, the info label widget becomes | ||
271 | hidden. */ | 271 | hidden. */ | ||
272 | virtual void updatePropertyEditorInfoLabel(const QString& textToDisplayForNullSet = QString()) = 0; | 272 | virtual void updatePropertyEditorInfoLabel(const QString& textToDisplayForNullSet = QString()) = 0; | ||
273 | 273 | | |||
274 | /*! Add searchable model to the main window. This extends search to a new area. | 274 | /*! Add searchable model to the main window. This extends search to a new area. | ||
275 | One example is Project Navigator. */ | 275 | One example is Project Navigator. */ | ||
276 | virtual void addSearchableModel(KexiSearchableModel *model) = 0; | 276 | virtual void addSearchableModel(KexiSearchableModel *model) = 0; | ||
277 | 277 | | |||
278 | /*! Removes searchable model from the main window. @a model is not deleted. */ | ||||
279 | virtual void removeSearchableModel(KexiSearchableModel *model) = 0; | ||||
280 | | ||||
278 | virtual KexiUserFeedbackAgent* userFeedbackAgent() const = 0; | 281 | virtual KexiUserFeedbackAgent* userFeedbackAgent() const = 0; | ||
279 | 282 | | |||
280 | //! Interface to the migrate manager | 283 | //! Interface to the migrate manager | ||
281 | virtual KexiMigrateManagerInterface* migrateManager() = 0; | 284 | virtual KexiMigrateManagerInterface* migrateManager() = 0; | ||
282 | 285 | | |||
283 | //! Sets reasonable dialog size based on main window size, that is 80% of its size. | 286 | //! Sets reasonable dialog size based on main window size, that is 80% of its size. | ||
284 | virtual void setReasonableDialogSize(QDialog *dialog) = 0; | 287 | virtual void setReasonableDialogSize(QDialog *dialog) = 0; | ||
285 | 288 | | |||
286 | protected: // Q_SLOTS: | 289 | protected: // Q_SLOTS: | ||
287 | virtual void slotObjectRenamed(const KexiPart::Item &item, const QString& oldName) = 0; | 290 | virtual void slotObjectRenamed(const KexiPart::Item &item, const QString& oldName) = 0; | ||
288 | 291 | | |||
289 | }; | 292 | }; | ||
290 | 293 | | |||
291 | Q_DECLARE_OPERATORS_FOR_FLAGS(KexiMainWindowIface::SaveObjectOptions) | 294 | Q_DECLARE_OPERATORS_FOR_FLAGS(KexiMainWindowIface::SaveObjectOptions) | ||
292 | 295 | | |||
293 | #endif | 296 | #endif |