VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Public Attributes | Protected Types | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtLayoutManagerWidget Class Reference

The DtLayoutManagerWidget class allows for the managing (adding, setting and deleting) of UI Layout configurations. More...

Inheritance diagram for makVrf::DtLayoutManagerWidget:
Inheritance graph
[legend]

Classes

struct  LayoutItem

Public Member Functions

 DtLayoutManagerWidget (makVrv::DtDe &de, QWidget *parent=NULL, const Qt::WindowFlags &flags=0)
virtual ~DtLayoutManagerWidget ()

Public Attributes

boost::signal< void()> signal_dialogDestroyed
Ui_DtLayoutManagerWidgetUi myUiImpl

Protected Types

typedef std::map< DtString,
LayoutItem
Items

Protected Slots

virtual void onMakeDefault ()
 Make the selected the new default.
virtual void onSelectLayout ()
 Make the selected the new layout.
virtual void onSelectionChanged ()
 Called when selection has changed, validate buttons.
virtual void onRestoreFromFactory ()
 Restored selected from factory settings.
virtual void onRevert ()
 Reverts to the layout as originally started.
virtual void onUpdate ()
 Updates layout with current UI layout and options.
virtual void onNewLayout ()
 Asks for a new layout name, and, when a unique one is given, creates and selects the new layout.
virtual void onDeleteLayout ()
 Deletes the selected layout.
virtual void onRenameLayout ()
 Asks the user for a new name to rename layout.
virtual void onChangeWindowGeometry ()
 Changes the window geometry for the given item.

Protected Member Functions

void initializeConnections ()
 Called from constructor. Inializes connection.
void initializeLayouts ()
 Called from constructor. Initializes layouts.
virtual void slot_onDefaultChanged (const DtString &newDefault, const DtString &oldDefault)
 Called when the default layout has changed.
virtual void slot_onLayoutSelected (const DtString &, const DtString &)
 Called when a layout is selected to be a new layout.
virtual void slot_onLayoutAdded (const DtString &)
 Called when a layout is added.
virtual void slot_onLayoutDeleted (const DtString &)
 Called when a layout is deleted.
virtual bool getInputName (QString &)
 Gets a new input name.
virtual void slot_onLayoutRenamed (const DtString &oldName, const DtString &newName)
 Called when a layout is renamed.

Protected Attributes

makVrv::DtDemyDe
Items myItems
makVrv::DtSignalConnectionManager myConnections

Detailed Description

The DtLayoutManagerWidget class allows for the managing (adding, setting and deleting) of UI Layout configurations.

Member Typedef Documentation

Constructor & Destructor Documentation

makVrf::DtLayoutManagerWidget::DtLayoutManagerWidget ( makVrv::DtDe de,
QWidget *  parent = NULL,
const Qt::WindowFlags &  flags = 0 
)
virtual makVrf::DtLayoutManagerWidget::~DtLayoutManagerWidget ( )
virtual

Member Function Documentation

void makVrf::DtLayoutManagerWidget::initializeConnections ( )
protected

Called from constructor. Inializes connection.

void makVrf::DtLayoutManagerWidget::initializeLayouts ( )
protected

Called from constructor. Initializes layouts.

virtual void makVrf::DtLayoutManagerWidget::slot_onDefaultChanged ( const DtString newDefault,
const DtString oldDefault 
)
protectedvirtual

Called when the default layout has changed.

virtual void makVrf::DtLayoutManagerWidget::slot_onLayoutSelected ( const DtString ,
const DtString  
)
protectedvirtual

Called when a layout is selected to be a new layout.

virtual void makVrf::DtLayoutManagerWidget::slot_onLayoutAdded ( const DtString )
protectedvirtual

Called when a layout is added.

virtual void makVrf::DtLayoutManagerWidget::slot_onLayoutDeleted ( const DtString )
protectedvirtual

Called when a layout is deleted.

virtual bool makVrf::DtLayoutManagerWidget::getInputName ( QString &  )
protectedvirtual

Gets a new input name.

virtual void makVrf::DtLayoutManagerWidget::slot_onLayoutRenamed ( const DtString oldName,
const DtString newName 
)
protectedvirtual

Called when a layout is renamed.

virtual void makVrf::DtLayoutManagerWidget::onMakeDefault ( )
protectedvirtualslot

Make the selected the new default.

virtual void makVrf::DtLayoutManagerWidget::onSelectLayout ( )
protectedvirtualslot

Make the selected the new layout.

virtual void makVrf::DtLayoutManagerWidget::onSelectionChanged ( )
protectedvirtualslot

Called when selection has changed, validate buttons.

virtual void makVrf::DtLayoutManagerWidget::onRestoreFromFactory ( )
protectedvirtualslot

Restored selected from factory settings.

virtual void makVrf::DtLayoutManagerWidget::onRevert ( )
protectedvirtualslot

Reverts to the layout as originally started.

virtual void makVrf::DtLayoutManagerWidget::onUpdate ( )
protectedvirtualslot

Updates layout with current UI layout and options.

virtual void makVrf::DtLayoutManagerWidget::onNewLayout ( )
protectedvirtualslot

Asks for a new layout name, and, when a unique one is given, creates and selects the new layout.

virtual void makVrf::DtLayoutManagerWidget::onDeleteLayout ( )
protectedvirtualslot

Deletes the selected layout.

virtual void makVrf::DtLayoutManagerWidget::onRenameLayout ( )
protectedvirtualslot

Asks the user for a new name to rename layout.

virtual void makVrf::DtLayoutManagerWidget::onChangeWindowGeometry ( )
protectedvirtualslot

Changes the window geometry for the given item.

Member Data Documentation

boost::signal<void ()> makVrf::DtLayoutManagerWidget::signal_dialogDestroyed
Ui_DtLayoutManagerWidgetUi makVrf::DtLayoutManagerWidget::myUiImpl
makVrv::DtDe& makVrf::DtLayoutManagerWidget::myDe
protected
Items makVrf::DtLayoutManagerWidget::myItems
protected
makVrv::DtSignalConnectionManager makVrf::DtLayoutManagerWidget::myConnections
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)