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

A widget class for managing different camera views the currently selected observer can be placed in. More...

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

Public Member Functions

 DtPropCreatePalette (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR.
virtual ~DtPropCreatePalette ()
 DTOR.
void setupUi (QWidget *p)
 Sets up the contents of the widget onto the supplied parent.
virtual void clear ()
 Clears contents of widget (from DtGenericPaletteInterface)
virtual void clearProps ()
 Clears out props tree.
virtual void update ()
 Tells widget to update (redraw) (from DtGenericPaletteInterface)
virtual void setEnabled (bool)
 Enables/Disables Gui (from DtGenericPaletteInterface)
virtual void addItem (const std::string &name, const std::string &type, const std::string &modelDef, const std::string &group)
virtual QIcon icon ()
 Icon to be used in small display.
virtual QString title ()
 Name to put next to the icon.
virtual const std::string & pageClassName () const
 Get the class name of the page.
virtual bool initiallyVisible () const
virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Called when the page is hidden.
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page.
virtual ~DtPage ()
 DTOR for page.
virtual PageAction pageAction ()
 return the current action on the page
virtual void setPageAction (PageAction action)
 set the curret action on the page
virtual void setActionFlag (int flag)
 set the action flag of the page
virtual int actionFlag ()
 return the action flag of the page
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page
virtual QWidget * parentDialog ()
 return the parent dialog that own this page
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing.
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it.
virtual void resumeLastAction ()
 resume the last action of the page
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing.
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing.
- Public Member Functions inherited from makVrf::DtPropCreatePaletteInterface
virtual ~DtPropCreatePaletteInterface ()
 Virtual DTOR.
- Public Member Functions inherited from makVrf::DtGenericPaletteInterface
virtual ~DtGenericPaletteInterface ()
 Virtual DTOR.

Static Public Member Functions

static const std::string & thePageClassName ()
 Static accessor for the class name.

Protected Slots

virtual void slot_onItemClicked (QTreeWidgetItem *, int)

Protected Attributes

DtPropCreatePaletteLogicmyLogic
QVBoxLayout * myMainLayout
QTreeWidgetmyPropTree
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidget * myParentDialog
PageAction myCurrentPageAction
int myActionFlag

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
- Public Attributes inherited from makVrf::DtPropCreatePaletteInterface
boost::signal< void(const
std::string &, const
std::string &)> 
signal_itemSelected
boost::signal< void(DtPropCreatePaletteInterface *)> signal_Updated

Detailed Description

A widget class for managing different camera views the currently selected observer can be placed in.

Constructor & Destructor Documentation

makVrf::DtPropCreatePalette::DtPropCreatePalette ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

CTOR.

virtual makVrf::DtPropCreatePalette::~DtPropCreatePalette ( )
virtual

DTOR.

Member Function Documentation

void makVrf::DtPropCreatePalette::setupUi ( QWidget *  p)

Sets up the contents of the widget onto the supplied parent.

virtual void makVrf::DtPropCreatePalette::clear ( )
inlinevirtual

Clears contents of widget (from DtGenericPaletteInterface)

Implements makVrf::DtGenericPaletteInterface.

virtual void makVrf::DtPropCreatePalette::clearProps ( )
virtual

Clears out props tree.

Implements makVrf::DtPropCreatePaletteInterface.

virtual void makVrf::DtPropCreatePalette::update ( )
inlinevirtual

Tells widget to update (redraw) (from DtGenericPaletteInterface)

Implements makVrf::DtGenericPaletteInterface.

virtual void makVrf::DtPropCreatePalette::setEnabled ( bool  )
virtual

Enables/Disables Gui (from DtGenericPaletteInterface)

Implements makVrf::DtGenericPaletteInterface.

virtual void makVrf::DtPropCreatePalette::addItem ( const std::string &  name,
const std::string &  type,
const std::string &  modelDef,
const std::string &  group 
)
virtual
virtual QIcon makVrf::DtPropCreatePalette::icon ( )
virtual

Icon to be used in small display.

Implements makVrv::DtPage.

virtual QString makVrf::DtPropCreatePalette::title ( )
virtual

Name to put next to the icon.

Implements makVrv::DtPage.

virtual const std::string& makVrf::DtPropCreatePalette::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& makVrf::DtPropCreatePalette::thePageClassName ( )
static

Static accessor for the class name.

virtual bool makVrf::DtPropCreatePalette::initiallyVisible ( ) const
inlinevirtual
virtual void makVrf::DtPropCreatePalette::activate ( )
inlinevirtual

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrf::DtPropCreatePalette::deactivate ( )
inlinevirtual

Called when the page is hidden.

Implements makVrv::DtPage.

virtual void makVrf::DtPropCreatePalette::slot_onItemClicked ( QTreeWidgetItem ,
int   
)
protectedvirtualslot

Member Data Documentation

DtPropCreatePaletteLogic* makVrf::DtPropCreatePalette::myLogic
protected
QVBoxLayout* makVrf::DtPropCreatePalette::myMainLayout
protected
QTreeWidget* makVrf::DtPropCreatePalette::myPropTree
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)