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

Public Member Functions

 DtComputeAerodromeDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="")
 Constructor. More...
 
virtual ~DtComputeAerodromeDefinitionDialog ()
 Destructor. More...
 
virtual void init (const QString &title)
 Performs dialog initialization. More...
 
virtual void setForce (int force)
 Selects the force. More...
 
int getForce () const
 Returns selected force. More...
 
virtual void addOverlay (const QString &name, bool translate=true)
 Add an overlay to the object's overlay. More...
 
virtual void removeOverlay (const QString &name)
 Remove an overlay from the object's overlay. More...
 
virtual void renameOverlay (const QString &oldName, const QString &newName)
 Rename an overlay int the object's overlay. More...
 
virtual void setOverlay (const QString &name)
 Sets the object's overlay. More...
 
virtual QString getOverlay () const
 Gets the object's overlay. More...
 
virtual void clearOverlays ()
 Clear the overlays combo box. More...
 
virtual void populateOverlays ()
 Populate the overlays combo box. More...
 
virtual void setStatusText (const QString &text)
 Sets the status text. More...
 
virtual void enableEditing (bool enable)
 Enable or disable editing and creation of a new route. More...
 
virtual void closeDialog ()
 Closes the dialog. More...
 
virtual void processCreateNewArea ()
 tells the creation manager to begin to create an area object More...
 
virtual void setArea (const DtUUID &)
 
virtual DtUUID area () const
 
- Public Member Functions inherited from makVrf::DtAutoHideDock
 DtAutoHideDock (makVrv::DtDe &de, const QString &title="", const std::string &className="", QWidget *parent=0, Qt::WindowFlags flags=0)
 Ctor. More...
 
 ~DtAutoHideDock ()
 Dtor. More...
 
virtual const QIcon & icon ()
 Set/Get the icon. More...
 
virtual void setIcon (const QIcon &icon)
 
virtual DtAutoHideDockType dockType () const
 Set/Get the type of dock this item represents. More...
 
virtual void setDockType (DtAutoHideDockType t)
 
virtual bool pinned () const
 Set/Get the pin status. More...
 
virtual void setPinned (bool flag)
 
virtual void setTitle (const QString &title)
 
virtual void setAdjustToMinimumSize (bool)
 Whether or not to adjust the size of the doc (on open) to minimum size. Default is true. More...
 
virtual bool adjustToMinimumSize () const
 
const std::string & className () const
 
virtual bool keepAlive () const
 Return true to keep this dock on display even after the mouse have left the dock widget. More...
 

Protected Slots

virtual void slot_onCreateButtonClicked ()
 Processing the clicking of the create button. More...
 
virtual void onAddAreaButtonClicked ()
 Invoked when the "Add Area" button is pressed. More...
 
- Protected Slots inherited from makVrf::DtAutoHideDock
virtual void slot_closePressed ()
 Gets called when the close button is pressed on the titleBarWidget. More...
 
virtual void slot_pinPressed (bool flag)
 Gets called when the pin is pressed on the titleBarWidget. More...
 
virtual void slot_topLevelChanged (bool)
 Gets called when the widget changes its floating status. More...
 

Protected Member Functions

virtual void slot_onAreaAdded (makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *s)
 
virtual void sessionStatusChanged (int status)
 Close dialog if session is loading or closing scenario. More...
 
virtual void setupGui ()
 Configures the dialog. More...
 
virtual void setupConnections ()
 Connects signals and slots. More...
 
virtual void tearDownConnections ()
 Disconnects signals and slots. More...
 
virtual
DtComputeAerodromeDefinitionDialogLogic
createLogic ()
 Creates the logic controlling the dialog. More...
 
virtual void closeEvent (QCloseEvent *event)
 Handles closing of the dialog. More...
 
virtual void showEvent (QShowEvent *event)
 Handles showing of the dialog. More...
 
- Protected Member Functions inherited from makVrf::DtAutoHideDock
virtual bool eventFilter (QObject *p, QEvent *e)
 Event filter installed to listen for mouse events from the titleBarWidget. More...
 
virtual void enterEvent (QEvent *event)
 Automatic event that gets triggered when the mouse enters the widget. More...
 
virtual void leaveEvent (QEvent *event)
 Automatic event that gets triggered when the mouse leaves the widget. More...
 
virtual void paintEvent (QPaintEvent *p)
 This event gets automatically called when the widget is about to be painted on screen. More...
 
virtual void resizeEvent (QResizeEvent *event)
 

Protected Attributes

Ui_ComputedAerodromeDefinitionWidgetUi myUiImpl
 
DtOverlayParentEntryWidgetmyOverlaysCombo
 
QWidget * myMainWidget
 
QPushButtonmyCreateButton
 
QPushButtonmyCancelButton
 
DtComputeAerodromeDefinitionDialogLogicmyLogic
 
QWidget * myParent
 
DtForceSelectionEntryWidgetmyForceSelection
 
DtAirportSelectionWidgetmyAirportSelectionWidget
 
makVrf::DtVrfFilteredListViewmyAreaSelection
 
bool myConnectionsSetup
 
- Protected Attributes inherited from makVrf::DtAutoHideDock
makVrv::DtDemyDe
 
DtExtendedTitleBarWidgetmyTitleBarWidget
 
QIcon myIcon
 
DtAutoHideDockType myDockType
 
bool myAdjustToMinimumSize
 
std::string myClassName
 

Friends

class DtComputeAerodromeDefinitionDialogLogic
 

Additional Inherited Members

- Public Types inherited from makVrf::DtAutoHideDock
enum  DtAutoHideDockType { Palette = 0, Dialog }
 
- Signals inherited from makVrf::DtAutoHideDock
void signal_closing (DtAutoHideDock *dock)
 This signal gets emitted when the widget is closing. More...
 
void signal_pinPressed (DtAutoHideDock *dock)
 This signal gets emitted when the pin button is pressed on this widget. More...
 
void signal_topLevelChanged (DtAutoHideDock *dock)
 This signal gets emitted when this widget changes its status from docked to floating and vice versa. More...
 
void signal_resized (DtAutoHideDock *dock)
 This signal gets emitted when this widget is resized. More...
 
void signal_destroyed (DtAutoHideDock *dock)
 This signal gets emitted when this widget is about to be destroyed. More...
 
void signal_enter (DtAutoHideDock *dock)
 This signal gets emitted when the mouse enters on this widget. More...
 
void signal_leave (DtAutoHideDock *dock)
 This signal gets emitted when the mouse leaves this widget. More...
 

Constructor & Destructor Documentation

makVrf::DtComputeAerodromeDefinitionDialog::DtComputeAerodromeDefinitionDialog ( makVrv::DtDe de,
QWidget *  parent,
const QString &  title = "" 
)

Constructor.

virtual makVrf::DtComputeAerodromeDefinitionDialog::~DtComputeAerodromeDefinitionDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrf::DtComputeAerodromeDefinitionDialog::init ( const QString &  title)
virtual

Performs dialog initialization.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::setForce ( int  force)
virtual

Selects the force.

int makVrf::DtComputeAerodromeDefinitionDialog::getForce ( ) const

Returns selected force.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::addOverlay ( const QString &  name,
bool  translate = true 
)
virtual

Add an overlay to the object's overlay.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::removeOverlay ( const QString &  name)
virtual

Remove an overlay from the object's overlay.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::renameOverlay ( const QString &  oldName,
const QString &  newName 
)
virtual

Rename an overlay int the object's overlay.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::setOverlay ( const QString &  name)
virtual

Sets the object's overlay.

virtual QString makVrf::DtComputeAerodromeDefinitionDialog::getOverlay ( ) const
virtual

Gets the object's overlay.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::clearOverlays ( )
virtual

Clear the overlays combo box.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::populateOverlays ( )
virtual

Populate the overlays combo box.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::setStatusText ( const QString &  text)
virtual

Sets the status text.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::enableEditing ( bool  enable)
virtual

Enable or disable editing and creation of a new route.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::closeDialog ( )
virtual

Closes the dialog.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::processCreateNewArea ( )
virtual

tells the creation manager to begin to create an area object

virtual void makVrf::DtComputeAerodromeDefinitionDialog::setArea ( const DtUUID )
virtual
virtual DtUUID makVrf::DtComputeAerodromeDefinitionDialog::area ( ) const
virtual
virtual void makVrf::DtComputeAerodromeDefinitionDialog::slot_onAreaAdded ( makVrv::DtStateView< makVrv::DtVrlinkSimulatedBaseState > *  s)
protectedvirtual
virtual void makVrf::DtComputeAerodromeDefinitionDialog::sessionStatusChanged ( int  status)
protectedvirtual

Close dialog if session is loading or closing scenario.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::setupGui ( )
protectedvirtual

Configures the dialog.

Reimplemented from makVrf::DtAutoHideDock.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::setupConnections ( )
protectedvirtual

Connects signals and slots.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::tearDownConnections ( )
protectedvirtual

Disconnects signals and slots.

virtual DtComputeAerodromeDefinitionDialogLogic* makVrf::DtComputeAerodromeDefinitionDialog::createLogic ( )
protectedvirtual

Creates the logic controlling the dialog.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::closeEvent ( QCloseEvent *  event)
protectedvirtual

Handles closing of the dialog.

Reimplemented from makVrf::DtAutoHideDock.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::showEvent ( QShowEvent *  event)
protectedvirtual

Handles showing of the dialog.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::slot_onCreateButtonClicked ( )
protectedvirtualslot

Processing the clicking of the create button.

virtual void makVrf::DtComputeAerodromeDefinitionDialog::onAddAreaButtonClicked ( )
protectedvirtualslot

Invoked when the "Add Area" button is pressed.

Allows user to add a new area which is then automatically selected

Friends And Related Function Documentation

Member Data Documentation

Ui_ComputedAerodromeDefinitionWidgetUi makVrf::DtComputeAerodromeDefinitionDialog::myUiImpl
protected
DtOverlayParentEntryWidget* makVrf::DtComputeAerodromeDefinitionDialog::myOverlaysCombo
protected
QWidget* makVrf::DtComputeAerodromeDefinitionDialog::myMainWidget
protected
QPushButton* makVrf::DtComputeAerodromeDefinitionDialog::myCreateButton
protected
QPushButton* makVrf::DtComputeAerodromeDefinitionDialog::myCancelButton
protected
DtComputeAerodromeDefinitionDialogLogic* makVrf::DtComputeAerodromeDefinitionDialog::myLogic
protected
QWidget* makVrf::DtComputeAerodromeDefinitionDialog::myParent
protected
DtForceSelectionEntryWidget* makVrf::DtComputeAerodromeDefinitionDialog::myForceSelection
protected
DtAirportSelectionWidget* makVrf::DtComputeAerodromeDefinitionDialog::myAirportSelectionWidget
protected
makVrf::DtVrfFilteredListView* makVrf::DtComputeAerodromeDefinitionDialog::myAreaSelection
protected
bool makVrf::DtComputeAerodromeDefinitionDialog::myConnectionsSetup
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)