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

Public Member Functions

virtual ~DtLastPointClickedWidget ()
 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.
virtual void setLocationByDatabaseClick (const DtVector &local)
- 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::DtLastPointClickedWidgetInterface
virtual ~DtLastPointClickedWidgetInterface ()
 Destructor.

Public Attributes

DtLastPointInfoLocationmyLocation
QLabelmySoilTypeLabel
QLabelmySoilTypeUnavailable
QComboBoxmySoilType
QCheckBoxmyQuerySimEngine
- Public Attributes inherited from makVrf::DtLastPointClickedWidgetInterface
boost::signal< void(bool)> signal_querySimEngineChanged

Protected Slots

virtual void soilTypeSelected ()
virtual void querySimEngineChanged ()

Protected Member Functions

 DtLastPointClickedWidget (makVrv::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 setupGui ()
 Called from constructor.
virtual void setXLabel (const QString &)
 Sets label titles.
virtual void setYLabel (const QString &)
virtual void setZLabel (const QString &)
virtual void setXValue (const QString &)
 Sets values.
virtual void setYValue (const QString &)
virtual QString xValue () const
virtual QString yValue () const
virtual QString zValue () const
virtual DtVector location () const
virtual void setLocation (const DtVector &)
 Sets the location in the location widget.
virtual void setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys)
 Sets the coordinate system.
virtual void setCurrentAltitudeTypeSelection (int)
 Set the selection type.
virtual void clearSoilTypeInformation ()
 Clears out any soil type information and sets to "Unavailable".
virtual void addSoilTypeInformation (const QString &, const DtVector &)
 Adds a soil type string and an intersection point. Vector is in local coordinates.
virtual QString currentSoilType () const
 Returns the currently selected soil type name.
virtual void setCurrentSoilType (const QString &)
 Selects the current soil type.
virtual void setSoilTypeInformationVisible (bool b)
 Sets whether or not soil type information is visible.
virtual void mergeSoilTypes (const QStringList &, const std::vector< DtVector > &)
 Merges in soil type changes, keeping old soil types (replacing with new values), removing those that are not used and adding those that are.
virtual void disableSoilType ()
 Disable/enable soil type pulldown.
virtual void enableSoilType ()
virtual void disable ()
 Diable/enable widget.
virtual void enable ()
virtual void setSimEngineAvailable (bool)

Protected Attributes

std::string myClassName
DtLastPointClickedWidgetLogicmyLogic
 Pointer to our logic handler.
std::vector< DtVectormyIntersectionPoints
bool mySoilTypeVisible
makVrv::DtSignalConnectionManager myConnections
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe
QWidget * myParentDialog
PageAction myCurrentPageAction
int myActionFlag

Private Member Functions

 DtLastPointClickedWidget (const DtLastPointClickedWidget &orig)
 Not implemented.
DtLastPointClickedWidgetoperator= (const DtLastPointClickedWidget &orig)
 Not implemented.

Friends

class DtLastPointClickedWidgetCreator
 Let the creator create the page.

Additional Inherited Members

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

Constructor & Destructor Documentation

virtual makVrf::DtLastPointClickedWidget::~DtLastPointClickedWidget ( )
virtual

Destructor.

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

Constructor of the page.

makVrf::DtLastPointClickedWidget::DtLastPointClickedWidget ( const DtLastPointClickedWidget orig)
private

Not implemented.

Member Function Documentation

virtual QIcon makVrf::DtLastPointClickedWidget::icon ( )
virtual

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrf::DtLastPointClickedWidget::title ( )
virtual

Get the title of the page.

Implements makVrv::DtPage.

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

Get the class name of the page.

Implements makVrv::DtPage.

virtual void makVrf::DtLastPointClickedWidget::setLocationByDatabaseClick ( const DtVector local)
virtual
virtual void makVrf::DtLastPointClickedWidget::activate ( )
protectedvirtual

Called when the page is displayed.

Implements makVrv::DtPage.

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

Called when the page is hidden.

Implements makVrv::DtPage.

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

Called from constructor.

virtual void makVrf::DtLastPointClickedWidget::setXLabel ( const QString &  )
protectedvirtual

Sets label titles.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::setYLabel ( const QString &  )
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::setZLabel ( const QString &  )
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::setXValue ( const QString &  )
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::setYValue ( const QString &  )
protectedvirtual
virtual QString makVrf::DtLastPointClickedWidget::xValue ( ) const
protectedvirtual
virtual QString makVrf::DtLastPointClickedWidget::yValue ( ) const
protectedvirtual
virtual QString makVrf::DtLastPointClickedWidget::zValue ( ) const
protectedvirtual
virtual DtVector makVrf::DtLastPointClickedWidget::location ( ) const
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::setLocation ( const DtVector )
protectedvirtual

Sets the location in the location widget.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::setCoordinateSystem ( const makArchives::DtDisplayUnitsSettingsRecord::CoordSys coordSys)
protectedvirtual

Sets the coordinate system.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::setCurrentAltitudeTypeSelection ( int  )
protectedvirtual

Set the selection type.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::clearSoilTypeInformation ( )
protectedvirtual

Clears out any soil type information and sets to "Unavailable".

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::addSoilTypeInformation ( const QString &  ,
const DtVector  
)
protectedvirtual

Adds a soil type string and an intersection point. Vector is in local coordinates.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual QString makVrf::DtLastPointClickedWidget::currentSoilType ( ) const
protectedvirtual

Returns the currently selected soil type name.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::setCurrentSoilType ( const QString &  )
protectedvirtual

Selects the current soil type.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::setSoilTypeInformationVisible ( bool  b)
protectedvirtual

Sets whether or not soil type information is visible.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::mergeSoilTypes ( const QStringList &  ,
const std::vector< DtVector > &   
)
protectedvirtual

Merges in soil type changes, keeping old soil types (replacing with new values), removing those that are not used and adding those that are.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::disableSoilType ( )
protectedvirtual

Disable/enable soil type pulldown.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::enableSoilType ( )
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::disable ( )
protectedvirtual

Diable/enable widget.

Implements makVrf::DtLastPointClickedWidgetInterface.

virtual void makVrf::DtLastPointClickedWidget::enable ( )
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::setSimEngineAvailable ( bool  )
protectedvirtual
virtual void makVrf::DtLastPointClickedWidget::soilTypeSelected ( )
protectedvirtualslot
virtual void makVrf::DtLastPointClickedWidget::querySimEngineChanged ( )
protectedvirtualslot
DtLastPointClickedWidget& makVrf::DtLastPointClickedWidget::operator= ( const DtLastPointClickedWidget orig)
private

Not implemented.

Friends And Related Function Documentation

friend class DtLastPointClickedWidgetCreator
friend

Let the creator create the page.

Member Data Documentation

std::string makVrf::DtLastPointClickedWidget::myClassName
protected
DtLastPointClickedWidgetLogic* makVrf::DtLastPointClickedWidget::myLogic
protected

Pointer to our logic handler.

std::vector<DtVector> makVrf::DtLastPointClickedWidget::myIntersectionPoints
protected
bool makVrf::DtLastPointClickedWidget::mySoilTypeVisible
protected
makVrv::DtSignalConnectionManager makVrf::DtLastPointClickedWidget::myConnections
protected
DtLastPointInfoLocation* makVrf::DtLastPointClickedWidget::myLocation
QLabel* makVrf::DtLastPointClickedWidget::mySoilTypeLabel
QLabel* makVrf::DtLastPointClickedWidget::mySoilTypeUnavailable
QComboBox* makVrf::DtLastPointClickedWidget::mySoilType
QCheckBox* makVrf::DtLastPointClickedWidget::myQuerySimEngine

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)