VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
makVrf::DtVrfHierarchyPage Class Reference
Inheritance diagram for makVrf::DtVrfHierarchyPage:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtVrfHierarchyPage ()
 DTOR.
DtVrfTreeWidgetechelon ()
virtual void selectObjects (const std::vector< DtVrfObjectListViewItem::DtVrfObjectState >)
 Clears current selection and selects object in list.
virtual std::vector
< DtVrfObjectListViewItem::DtVrfObjectState
selectedObjects () const
 Returns a list of the objects selected.
virtual DtExpandCollapseButtoncreateExpandCollapseButton (unsigned int, int numButtons)
- 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 QIcon icon ()=0
 Get the icon of the page.
virtual QString title ()=0
 Get the title of the page.
virtual const std::string & pageClassName () const =0
 Get the class name of the 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 QWidgetparentDialog ()
 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 Attributes

QVBoxLayout * myMasterLayout
DtVrfTreeWidgetmyEchelon
DtScrollButtonAreamyCollapseButtonWidget
QPixmap myPlusPixmap
QPixmap myMinusPixmap
QCheckBoxmyShowEchelonId

Protected Slots

virtual void onRightClickOnItem (QTreeWidgetItem *, QMouseEvent *, int col)
 Sends off boost signal of similar name.
virtual void onItemSelected ()
 Calls down to logic to select item.
virtual void onScrollRangeChanged (int)
virtual void onViewItemExpanded (QTreeWidgetItem *)
virtual void onViewItemCollapsed (QTreeWidgetItem *)
virtual void onExpandToLevel (unsigned int)
virtual void onCollapseToLevel (unsigned int)
virtual DtVrfTreeWidgetcreateHierarchyList ()=0

Protected Member Functions

 DtVrfHierarchyPage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0)
 CTOR.
virtual void setupUi (QWidget *p)
virtual DtScrollButtonAreacreateCollapseButtonConainer (QWidget *parent)
virtual void slot_onDeParent (const QStringList &)
virtual void slot_onReParent (const QStringList &children, makVrv::DtUniqueID parentId)
virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Called when the page is hidden.

Protected Attributes

DtVrfHierarchyPageLogicmyLogic
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidgetmyParentDialog
PageAction myCurrentPageAction
int myActionFlag

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }

Constructor & Destructor Documentation

virtual makVrf::DtVrfHierarchyPage::~DtVrfHierarchyPage ( )
virtual

DTOR.

makVrf::DtVrfHierarchyPage::DtVrfHierarchyPage ( makVrv::DtDe de,
QWidget parent = 0,
Qt::WindowFlags  flags = 0 
)
protected

CTOR.

Member Function Documentation

DtVrfTreeWidget* makVrf::DtVrfHierarchyPage::echelon ( )
virtual void makVrf::DtVrfHierarchyPage::selectObjects ( const std::vector< DtVrfObjectListViewItem::DtVrfObjectState )
virtual

Clears current selection and selects object in list.

Blocks signals so the new selection will not be signaled. Only objects on the current filter will be selected

virtual std::vector<DtVrfObjectListViewItem::DtVrfObjectState> makVrf::DtVrfHierarchyPage::selectedObjects ( ) const
virtual

Returns a list of the objects selected.

virtual DtExpandCollapseButton* makVrf::DtVrfHierarchyPage::createExpandCollapseButton ( unsigned  int,
int  numButtons 
)
virtual
virtual void makVrf::DtVrfHierarchyPage::onRightClickOnItem ( QTreeWidgetItem ,
QMouseEvent *  ,
int  col 
)
protectedvirtualslot

Sends off boost signal of similar name.

virtual void makVrf::DtVrfHierarchyPage::onItemSelected ( )
protectedvirtualslot

Calls down to logic to select item.

virtual void makVrf::DtVrfHierarchyPage::onScrollRangeChanged ( int  )
protectedvirtualslot
virtual void makVrf::DtVrfHierarchyPage::onViewItemExpanded ( QTreeWidgetItem )
protectedvirtualslot
virtual void makVrf::DtVrfHierarchyPage::onViewItemCollapsed ( QTreeWidgetItem )
protectedvirtualslot
virtual void makVrf::DtVrfHierarchyPage::onExpandToLevel ( unsigned  int)
protectedvirtualslot
virtual void makVrf::DtVrfHierarchyPage::onCollapseToLevel ( unsigned  int)
protectedvirtualslot
virtual DtVrfTreeWidget* makVrf::DtVrfHierarchyPage::createHierarchyList ( )
protectedpure virtualslot
virtual void makVrf::DtVrfHierarchyPage::setupUi ( QWidget p)
protectedvirtual
virtual DtScrollButtonArea* makVrf::DtVrfHierarchyPage::createCollapseButtonConainer ( QWidget parent)
protectedvirtual
virtual void makVrf::DtVrfHierarchyPage::slot_onDeParent ( const QStringList &  )
protectedvirtual
virtual void makVrf::DtVrfHierarchyPage::slot_onReParent ( const QStringList &  children,
makVrv::DtUniqueID  parentId 
)
protectedvirtual
virtual void makVrf::DtVrfHierarchyPage::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrf::DtVrfHierarchyPage::deactivate ( )
protectedvirtual

Called when the page is hidden.

Implements makVrv::DtPage.

Member Data Documentation

DtVrfHierarchyPageLogic* makVrf::DtVrfHierarchyPage::myLogic
protected
QVBoxLayout* makVrf::DtVrfHierarchyPage::myMasterLayout
DtVrfTreeWidget* makVrf::DtVrfHierarchyPage::myEchelon
DtScrollButtonArea* makVrf::DtVrfHierarchyPage::myCollapseButtonWidget
QPixmap makVrf::DtVrfHierarchyPage::myPlusPixmap
QPixmap makVrf::DtVrfHierarchyPage::myMinusPixmap
QCheckBox* makVrf::DtVrfHierarchyPage::myShowEchelonId

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)