|
| | DtQtLayoutManager (makVrv::DtDe &de) |
| |
| virtual | ~DtQtLayoutManager () |
| |
| virtual void | setLayout (const DtFilename &) |
| | Sets a new GUI layout from the given uisx layout file. More...
|
| |
| virtual void | resetLayoutFromMasterModeConfiguration () |
| | Resets the layout to the current global master configuration. More...
|
| |
| virtual void | setLayoutUsesFullScreen (const DtString &) |
| | If top, left, width and height are all 0 means this window is maximized. More...
|
| |
| virtual void | setLayoutIsAlwaysMaximized (const DtString &) |
| |
| virtual void | updateLayout (const DtString &) |
| | Updates the specified layout (className) with the current state of toolsbars and pages. More...
|
| |
| virtual void | initialize () |
| | Called after the gui has been assembled. More...
|
| |
| virtual void | updateWindowWithGeometryFrom (const DtString &) |
| | Given the layout class, change the window geometry to the geometry in that class. More...
|
| |
| virtual void | setPanelVisible (const DtString &className, const DtString &panel, bool b) |
| | Sets the page panel visible if layout is current. More...
|
| |
| virtual void | setToolbarVisible (const DtString &className, const DtString &toolbar, bool b) |
| | Sets the toolbar visible if layout is current. More...
|
| |
| | DtLayoutManager (makVrv::DtDe &de) |
| |
| virtual | ~DtLayoutManager () |
| |
| virtual void | setLayout (const DtFilename &, bool updateCurrentLayoutBeforeSwitch=false) |
| | Sets a new GUI layout from the given uisx layout file. More...
|
| |
| virtual void | setLayoutFromClass (const DtString &, bool updateCurrentLayoutBeforeSwitch=false) |
| | Sets a new GUI layout from the given class name. More...
|
| |
| virtual DtString | layout () const |
| | Currently selected layout. If blank is the default layout. The layout returned is the class name. More...
|
| |
| virtual std::vector< DtString > | layouts () const |
| | Returns a list of all the layouts available. More...
|
| |
| virtual bool | hasFactoryDefault (const DtString &) const |
| | Returns true if there is a file in the factory settings folder that matches the given class name's file. More...
|
| |
| virtual void | restoreFromFactory (const DtString &) |
| | Restores the layout settings from the factory file specified by the class name, if it exists. More...
|
| |
| virtual bool | copyToFactory (const DtString &) |
| | Copies the settings to the factory directory. Will overwrite existing. More...
|
| |
| virtual void | revertCurrentLayout () |
| | Reverts the current layout. More...
|
| |
| virtual void | revertLayout (const DtString &) |
| | Reverts the layout to the original layout (by class name) More...
|
| |
| virtual DtString | classNameFrom (const DtFilename &f) const |
| | Given the ui layout file, return the class name from it. More...
|
| |
| virtual void | uiConfigurationFor (const DtFilename &, makVrv::DtVrvApplicationConfiguration::UIConfiguration &) |
| | Returns the current configuration for the given uisx file. If does not exist will load it. More...
|
| |
| virtual void | updateCurrentLayout () |
| | Updates the current layout (toolbars and dock widgets) with the state of the pages. More...
|
| |
| virtual void | setIgnoreGeometryChange (bool b) |
| | Sets whether or not to ignore geometry changes and leave the window as is regardless of what the layout wants. Default is false. More...
|
| |
| virtual bool | ignoreGeometryChange () const |
| |
| virtual void | setDefaultLayout (const DtString &) |
| | Sets/gets the default layout. More...
|
| |
| virtual void | clearDefaultLayout () |
| |
| virtual DtString | defaultLayout () const |
| |
| virtual bool | duplicateLayout (const DtString &classNameFrom, const DtString &classNameTo) |
| | Duplicates the from layout from the specified class to the given class. More...
|
| |
| virtual DtFilename | layoutFilename (const DtString &) const |
| | Returns the filename associated with the layout class. More...
|
| |
| virtual void | addConfiguration (const DtFilename &, const makVrv::DtVrvApplicationConfiguration::UIConfiguration &) |
| | Creates a new configuration slot based on the supplied configuration and filename. More...
|
| |
| virtual bool | hasLayout (const DtString &) const |
| | Returns true if this layout exists. More...
|
| |
| virtual void | addPageCollectionFromMaster (const DtString &) |
| | Looks in the master mode configuration for the page collection, and, if present, adds to all page collections that is not currently in. More...
|
| |
| virtual void | addToolbarFromMaster (const DtString &) |
| | Looks in the master mode configuration for the toolbar, and, if present, adds to all toolbar collections that is not currently in. More...
|
| |
| virtual void | setPaletteItemVisible (const std::string &, bool) |
| | Sets whether or not the given palette item is visible. More...
|
| |
| virtual bool | paletteItemVisible (const std::string &, bool *keyExists=0) const |
| |
| virtual void | addPaletteItemIfDoesNotExistAndSetToVisible (const std::string &, bool b) |
| | If this palette item is not present, add it and set its visiblity to the given flag. More...
|
| |
| virtual void | newLayout (const DtString &, bool basedOnCurrent=true) |
| | Creates a new layout based on the current UI configuration and makes it the current layout. More...
|
| |
| virtual void | writeLayouts () |
| | Saves all the layouts to their respective files (unless the flag to save layouts is turned off) More...
|
| |
| virtual void | saveLayout (const DtString &) |
| | Saves the specified layout class to the directory where it was read from. More...
|
| |
| virtual bool | deleteLayout (const DtString &s) |
| | Deletes the layout (class name) from disk and internal structures. More...
|
| |
| virtual void | renameLayout (const DtString &oldName, const DtString &newName) |
| | Renames the layout internally and on disk from the old to the new name. More...
|
| |
| virtual void | setCurrentLayoutUsesFullScreen () |
| | Sets/gets current configuration using full screen. More...
|
| |
| virtual bool | currentLayoutUsesFullScreen () const |
| |
| virtual bool | layoutUsesFullScreen (const DtString &) const |
| |
| virtual void | setCurrentLayoutIsAlwaysMaximized () |
| | Sets/gets current configuration using full screen. More...
|
| |
| virtual bool | currentLayoutIsAlwaysMaximized () const |
| |
| virtual bool | layoutIsAlwaysMaximized (const DtString &) const |
| |
| virtual void | setCurrentLayoutUsesWindowGeometry () |
| | Gets/sets whether or not the layout, when updates, will store the current windows geometry. More...
|
| |
| virtual bool | currentLayoutUsesWindowGeometry () const |
| |
| virtual void | setLayoutUsesWindowGeometry (const DtString &) |
| |
| virtual bool | layoutUsesWindowGeometry (const DtString &) const |
| |
| virtual void | setWindowGeometry (const DtString &, int top, int left, int width, int height) |
| |
| virtual void | layoutWindowGeometry (const DtString &, int &top, int &left, int &width, int &height) const |
| |
| virtual void | setSaveLayouts (bool) |
| | Sets whether or not layouts can be saved (default is true) More...
|
| |
| bool | saveLayouts () const |
| |
| virtual void | setSaveLastSavedLayout (bool) |
| | Sets whether or not to save the last saved layout. This flag is checked before saving in the application. More...
|
| |
| bool | saveLastSavedLayout () const |
| |
| virtual void | addClassToIgnore (const DtString &) |
| | Classes to ignore when initializing. More...
|
| |
| virtual void | removeClassToIgnore (const DtString &) |
| |
| const std::set< DtString > & | classesToIgnore () const |
| |
| virtual bool | ignoreClass (const DtString &) const |
| |
| virtual void | setLastSavedLayoutClassName (const DtString &) |
| | Get/set the class name of the file used to save the GUI layout in the case of no default layout. More...
|
| |
| virtual const DtString & | lastSavedLayoutClassName () const |
| |
| virtual void | preAssemble () |
| | Pre/post gui assembly. More...
|
| |
| virtual void | postAssemble () |
| |
| | DtVirtualBaseClass () |
| | Do nothing constructor. More...
|
| |
| virtual | ~DtVirtualBaseClass () |
| | Virtual do nothing destructor. More...
|
| |
The DtLayoutManager class allows for the managing (adding, setting and deleting) of UI Layout configurations.