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 Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtObjectsListPanel Class Reference

Tabbed dialog that has instances of both an entity list and an environmental list. More...

Inheritance diagram for makVrv::DtObjectsListPanel:
Inheritance graph
[legend]

Public Slots

virtual void tick ()
 Tick echelon window and embarkation window panels.
virtual void onRightClicked (QPoint where)
virtual void onDoubleClicked (DtUniqueID elementID)

Signals

void rightClickOnItem (QPoint where)
void deleteRequested ()

Public Member Functions

virtual ~DtObjectsListPanel ()
 Destructor.
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
DtEntityListWidgetentityList () const
- 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.

Protected Member Functions

 DtObjectsListPanel (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor of the page.
virtual void activate ()
 Called when the page is displayed.
virtual void deactivate ()
 Called when the page is hidden.
virtual void createEntityListView ()
virtual void initConnections (QWidget *list)
 Initializes base level list connections.
void setAttachMode (DtObserverObject::AttachType attachType)
 Used by right click menu.
void attachSelected ()
void onInputDriverCreated (DtInputDriver *inputDriver)
 called by signal when the input driver is created
void onInputDriverAboutToBeDestroyed (DtInputDriver *inputDriver)
 called by signal when the input driver is destroyed

Protected Attributes

QVBoxLayout * myLayout
DtEntityListWidgetmyEntityList
DtInputDrivermyInputDriver
std::string myClassName
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidget * myParentDialog
PageAction myCurrentPageAction
int myActionFlag

Private Member Functions

 DtObjectsListPanel (const DtObjectsListPanel &orig)
 Not implemented.
DtObjectsListPaneloperator= (const DtObjectsListPanel &orig)
 Not implemented.

Friends

class DtObjectsListPageCreator
 Let the creator create the page.

Additional Inherited Members

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

Detailed Description

Tabbed dialog that has instances of both an entity list and an environmental list.

Constructor & Destructor Documentation

virtual makVrv::DtObjectsListPanel::~DtObjectsListPanel ( )
virtual

Destructor.

makVrv::DtObjectsListPanel::DtObjectsListPanel ( DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
protected

Constructor of the page.

makVrv::DtObjectsListPanel::DtObjectsListPanel ( const DtObjectsListPanel orig)
private

Not implemented.

Member Function Documentation

virtual QIcon makVrv::DtObjectsListPanel::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtObjectsListPanel::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtObjectsListPanel::pageClassName ( ) const
virtual

Get the class name of the page.

Implements makVrv::DtPage.

DtEntityListWidget* makVrv::DtObjectsListPanel::entityList ( ) const
virtual void makVrv::DtObjectsListPanel::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

virtual void makVrv::DtObjectsListPanel::deactivate ( )
protectedvirtual

Called when the page is hidden.

Implements makVrv::DtPage.

virtual void makVrv::DtObjectsListPanel::createEntityListView ( )
protectedvirtual
virtual void makVrv::DtObjectsListPanel::initConnections ( QWidget *  list)
protectedvirtual

Initializes base level list connections.

void makVrv::DtObjectsListPanel::setAttachMode ( DtObserverObject::AttachType  attachType)
protected

Used by right click menu.

void makVrv::DtObjectsListPanel::attachSelected ( )
protected
void makVrv::DtObjectsListPanel::onInputDriverCreated ( DtInputDriver inputDriver)
protected

called by signal when the input driver is created

void makVrv::DtObjectsListPanel::onInputDriverAboutToBeDestroyed ( DtInputDriver inputDriver)
protected

called by signal when the input driver is destroyed

void makVrv::DtObjectsListPanel::rightClickOnItem ( QPoint  where)
signal
void makVrv::DtObjectsListPanel::deleteRequested ( )
signal
virtual void makVrv::DtObjectsListPanel::tick ( )
virtualslot

Tick echelon window and embarkation window panels.

virtual void makVrv::DtObjectsListPanel::onRightClicked ( QPoint  where)
virtualslot
virtual void makVrv::DtObjectsListPanel::onDoubleClicked ( DtUniqueID  elementID)
virtualslot
DtObjectsListPanel& makVrv::DtObjectsListPanel::operator= ( const DtObjectsListPanel orig)
private

Not implemented.

Friends And Related Function Documentation

friend class DtObjectsListPageCreator
friend

Let the creator create the page.

Member Data Documentation

QVBoxLayout* makVrv::DtObjectsListPanel::myLayout
protected
DtEntityListWidget* makVrv::DtObjectsListPanel::myEntityList
protected
DtInputDriver* makVrv::DtObjectsListPanel::myInputDriver
protected
std::string makVrv::DtObjectsListPanel::myClassName
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)