Changeset View
Changeset View
Standalone View
Standalone View
src/main/KexiMainWindow.h
Show First 20 Lines • Show All 283 Lines • ▼ Show 20 Line(s) | 172 | //! @todo move part of this to KexiProject, because currently KexiProject::openObject() allows multiple opens! | |||
---|---|---|---|---|---|
284 | virtual tristate showPageSetupForItem(KexiPart::Item* item); | 284 | virtual tristate showPageSetupForItem(KexiPart::Item* item); | ||
285 | 285 | | |||
286 | /*! Executes custom action for the main window, usually provided by a plugin. | 286 | /*! Executes custom action for the main window, usually provided by a plugin. | ||
287 | Also used by KexiFormEventAction. */ | 287 | Also used by KexiFormEventAction. */ | ||
288 | virtual tristate executeCustomActionForObject(KexiPart::Item* item, const QString& actionName); | 288 | virtual tristate executeCustomActionForObject(KexiPart::Item* item, const QString& actionName); | ||
289 | 289 | | |||
290 | /*! Add searchable model to the main window. This extends search to a new area. | 290 | /*! Add searchable model to the main window. This extends search to a new area. | ||
291 | One example is Project Navigator. @see KexiMainWindowIface */ | 291 | One example is Project Navigator. @see KexiMainWindowIface */ | ||
292 | virtual void addSearchableModel(KexiSearchableModel *model); | 292 | void addSearchableModel(KexiSearchableModel *model) override; | ||
293 | | ||||
294 | /*! Removes searchable model from the main window. @a model is not deleted. | ||||
295 | @see KexiMainWindowIface */ | ||||
296 | void removeSearchableModel(KexiSearchableModel *model) override; | ||||
293 | 297 | | |||
294 | //! Shows design tab when switching between objects or views. Depends on current window and view mode. | 298 | //! Shows design tab when switching between objects or views. Depends on current window and view mode. | ||
295 | void showDesignTabIfNeeded(int previousItemId); | 299 | void showDesignTabIfNeeded(int previousItemId); | ||
296 | 300 | | |||
297 | void toggleFullScreen(bool isFullScreen); | 301 | void toggleFullScreen(bool isFullScreen); | ||
298 | 302 | | |||
299 | /*! Implemented for KexiMainWindowIface. | 303 | /*! Implemented for KexiMainWindowIface. | ||
300 | Sets reasonable dialog size based on main window size, that is 80% of its size. */ | 304 | Sets reasonable dialog size based on main window size, that is 80% of its size. */ | ||
▲ Show 20 Lines • Show All 333 Lines • Show Last 20 Lines |