VR-Forces 4.1.1 Class Documentation
List of all members | Public Slots | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
DtAreaConfigWidget Class Reference

class DtAreaConfigWidget: More...

Inheritance diagram for DtAreaConfigWidget:
Inheritance graph
[legend]

Public Slots

virtual void fillStyleChanged (int)
 Called when the line styple has changed on the overlay extension, change the style of the line being drawn.
- Public Slots inherited from DtLineConfigWidget
virtual void updateUnits (const DtUnitDisplayManager *u)
virtual void updateCoordinateSystem (const DtCoordSys &system)
virtual void addPoint (const DtPoint &p)
virtual void editPoint (const DtPoint &p)
virtual void redisplayPoints ()
virtual void cancelAndClose ()
virtual void changePoint ()
virtual void changeName (const QString &s)
virtual void changeDefaultZPoint (double height)
virtual void changeAllZPoints (double h)
virtual void setHeightOffset (double h)
virtual void addPoint ()
virtual void deletePoint ()
virtual void selectionChanged ()
virtual void userComplete (bool finish)
 Received when the user has right clicked the mouse and they never want this dialog shown.
virtual void reversePoints ()
 Reverse the points in the point list.
virtual void setInFreehandDrawingMode (bool)
 Set when in freehand drawing mode. Will not update list box until set to false.
virtual void updateUnits (const QString &, const QString &, const QString &)

Public Member Functions

 DtAreaConfigWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0)
 default constructor
virtual ~DtAreaConfigWidget ()
 destructor
- Public Member Functions inherited from DtLineConfigWidget
 DtLineConfigWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0)
 default constructor
virtual ~DtLineConfigWidget ()
 destructor
virtual bool init (const DtTMMapArea *converter, QVector< DtPoint > *list, QString *name, QString *label, int forceType, const QString &minimumPoints, const DtModelData *data, bool editNotCreate=0, DtSymbol *workingSymbol=NULL, const DtEntityMapperKey *key=NULL, DtArchivableObject *userData=NULL)
virtual double heightOffset () const
bool editNotCreate () const
const DtEntityMapperKeyentityMapperKey () const

Static Public Member Functions

static QWidgetcreate (QWidget *parent=NULL, const Qt::WindowFlags &flags=0)

Protected Member Functions

virtual void createAndClose ()
virtual void editAndClose ()
virtual bool valid () const
 Returns true if area is not concave.
virtual bool initMainDialogChanges ()
 Hides height information.
virtual void setEditPoint (QTreeWidgetItem *item)
- Protected Member Functions inherited from DtLineConfigWidget
virtual void keyPressEvent (QKeyEvent *e)
 Handle the return key to accept changes or escape key to cancel changes.
virtual bool initConnections (const DtTMMapArea *area)
virtual void clearPointEdit ()
virtual void addPointToList (const DtPoint &p, QTreeWidgetItem *before=NULL)
virtual void updateButtons ()
virtual bool passNameCheck ()
virtual bool shouldPublish () const
virtual void updateNumPointsLabel ()
virtual bool prepareCreateModify (QColor &color)
virtual bool hideZValues (const DtEntityMapperKey *key)
 Hide Z values based on key type. Return true if want to hide.
virtual void hideHeightInformation ()
virtual void fillPointList ()
virtual int selectedIndex () const
virtual void setLabels ()
 Sets labels due to coordinate system and unit selection.
virtual bool fillPointListIfDifferent (DtPoint *curPoint=NULL)
 If the number of points in the list view is different than the internal list, update the internal list.
virtual void closeEvent (QCloseEvent *c)
virtual void updateOptions (DtSymbol *symbol, const DtModelData *data, const DtEntityMapperKey *key)
virtual QTreeWidgetItemaddPoint (const DtPoint &pnt, QTreeWidgetItem *before, const QString &name, const QString &xtr, const QString &ystr, const QString &zstr)
virtual QTreeWidgetItemfirstChild ()
 Override to allow subclasses to determine which is really the first and next sibling.
virtual QTreeWidgetItemnextSibling (QTreeWidgetItem *item)
virtual void clearListView ()
virtual unsigned int childCount () const
virtual bool eventFilter (QObject *o, QEvent *e)
virtual void reversePoints (int iStart, int iCount)
 Reverses the points from start to end location in the myPointList array and redisplay points on the screen.
virtual void reversePointsInMemory (int iStart, int iCount)
virtual void updatePointList (bool emitSignal=true)
 Clears and redisplays point list.
virtual void addPointToPointLists (DtPoint *pnt, int pos)
 If there is a list of original points, add the point in relative position (given current sampling rate) into the list.
virtual void addPointToPointList (QVector< DtPoint > *list, DtPoint *pnt, int pos)
virtual void applyChangesToPointList ()
 Apply any last minute changes to point list.
virtual bool pointListsDifferent ()
virtual void setupZValue ()

Protected Attributes

int myDefaultFillStyle
- Protected Attributes inherited from DtLineConfigWidget
DtTMMapAreamyCSConverter
 Pointers to creator and creator's data.
QVector< DtPoint > * myPointList
QString * myObjectNamePtr
QString * myLabelPtr
bool myEditNotCreate
int myPointNum
int myTotalPoints
double myHeightOffset
DtSymbolmyWorkingSymbol
int myMinimumPoints
bool myUnlimitedPoints
const DtModelDatamyModelData
DtLocationEntryWidgetmyLocationEntryWidget
DtArchivableObjectmyUserData
bool myClosing
int myAppearance
QVector< DtPoint > * myOriginalList
 If sampling down, this list will hold all the original points;.
int myCurrentSamplingRate
int myDefaultLineWidth
int myDefaultLineStyle
int myDefaultTransparency
bool myFirstTime
DtEntityMapperKey myEntityMapperKey
QVector< DtPointmyCurrentList
bool myInFreehandDrawingMode

Private Member Functions

 DtAreaConfigWidget (const DtAreaConfigWidget &orig)
 copy constructor
DtAreaConfigWidgetoperator= (const DtAreaConfigWidget &orig)
 assignment operator

Additional Inherited Members

- Signals inherited from DtLineConfigWidget
void updateSymbol ()
void createActivated (QVector< DtPoint > &points, QString name, QString label, QColor color, int forceType, int appearance, bool publish, QString attachTo, DtArchivableObject *userData, bool lastOne=true)
void cancelActivated ()
void editActivated (QString name, QString label, QColor color, int forceType, int appearance, bool publish, DtArchivableObject *userData)
void heightOffsetChanged (double)
void colorChanged ()
 Sent when the color of the object has changed.
void nameChanged ()
 Sent when the user has changed the name of the object.
void closing (QVector< DtPoint > *)
 Emitted when this dialog is closing, also pass it along to the controller to remove any dialogs spawned by this dialog.
void altitudeSelectionChanged (int, double)
- Public Attributes inherited from DtLineConfigWidget
Ui::LineConfigWidgetUi myUiImpl

Detailed Description

class DtAreaConfigWidget:

Instances of DtAreaConfigWidget are

Constructor & Destructor Documentation

DtAreaConfigWidget::DtAreaConfigWidget ( QWidget parent = NULL,
const Qt::WindowFlags &  flags = 0 
)

default constructor

virtual DtAreaConfigWidget::~DtAreaConfigWidget ( )
virtual

destructor

DtAreaConfigWidget::DtAreaConfigWidget ( const DtAreaConfigWidget orig)
private

copy constructor

Member Function Documentation

static QWidget* DtAreaConfigWidget::create ( QWidget parent = NULL,
const Qt::WindowFlags &  flags = 0 
)
static

Reimplemented from DtLineConfigWidget.

virtual void DtAreaConfigWidget::fillStyleChanged ( int  )
virtualslot

Called when the line styple has changed on the overlay extension, change the style of the line being drawn.

virtual void DtAreaConfigWidget::createAndClose ( )
protectedvirtual

Reimplemented from DtLineConfigWidget.

virtual void DtAreaConfigWidget::editAndClose ( )
protectedvirtual

Reimplemented from DtLineConfigWidget.

virtual bool DtAreaConfigWidget::valid ( ) const
protectedvirtual

Returns true if area is not concave.

virtual bool DtAreaConfigWidget::initMainDialogChanges ( )
protectedvirtual

Hides height information.

Reimplemented from DtLineConfigWidget.

virtual void DtAreaConfigWidget::setEditPoint ( QTreeWidgetItem item)
protectedvirtual

Reimplemented from DtLineConfigWidget.

DtAreaConfigWidget& DtAreaConfigWidget::operator= ( const DtAreaConfigWidget orig)
private

assignment operator

Member Data Documentation

int DtAreaConfigWidget::myDefaultFillStyle
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)