![]() |
VR-Forces 4.2 Class Documentation
|
class DtLineConfigWidget: More...

Public Slots | |
| 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 | createAndClose () |
| virtual void | editAndClose () |
| virtual void | changePoint () |
| virtual void | changeName (const QString &s) |
| virtual void | setEditPoint (QTreeWidgetItem *item) |
| 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 &) |
Signals | |
| 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 Member Functions | |
| 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 DtEntityMapperKey & | entityMapperKey () const |
Static Public Member Functions | |
| static QWidget * | create (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) |
Public Attributes | |
| Ui::LineConfigWidgetUi | myUiImpl |
Protected Member Functions | |
| 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 bool | initMainDialogChanges () |
| Override to modify the main body of the dialog with new controls. | |
| virtual void | closeEvent (QCloseEvent *c) |
| virtual void | updateOptions (DtSymbol *symbol, const DtModelData *data, const DtEntityMapperKey *key) |
| virtual QTreeWidgetItem * | addPoint (const DtPoint &pnt, QTreeWidgetItem *before, const QString &name, const QString &xtr, const QString &ystr, const QString &zstr) |
| virtual QTreeWidgetItem * | firstChild () |
| Override to allow subclasses to determine which is really the first and next sibling. | |
| virtual QTreeWidgetItem * | nextSibling (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 | |
| DtTMMapArea * | myCSConverter |
| Pointers to creator and creator's data. | |
| QVector< DtPoint > * | myPointList |
| QString * | myObjectNamePtr |
| QString * | myLabelPtr |
| bool | myEditNotCreate |
| int | myPointNum |
| int | myTotalPoints |
| double | myHeightOffset |
| DtSymbol * | myWorkingSymbol |
| int | myMinimumPoints |
| bool | myUnlimitedPoints |
| const DtModelData * | myModelData |
| DtLocationEntryWidget * | myLocationEntryWidget |
| DtArchivableObject * | myUserData |
| 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< DtPoint > | myCurrentList |
| bool | myInFreehandDrawingMode |
Private Member Functions | |
| DtLineConfigWidget (const DtLineConfigWidget &orig) | |
| copy constructor | |
| DtLineConfigWidget & | operator= (const DtLineConfigWidget &orig) |
| assignment operator | |
class DtLineConfigWidget:
Instances of DtLineConfigWidget are
| DtLineConfigWidget::DtLineConfigWidget | ( | QWidget * | parent = NULL, |
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
default constructor
|
virtual |
destructor
|
private |
copy constructor
|
virtual |
|
virtual |
|
static |
Reimplemented in DtTerrainLineConfigWidget, and DtAreaConfigWidget.
|
inline |
References myEditNotCreate.
|
inline |
References myEntityMapperKey.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
Sent when the color of the object has changed.
|
signal |
Sent when the user has changed the name of the object.
|
signal |
Emitted when this dialog is closing, also pass it along to the controller to remove any dialogs spawned by this dialog.
|
signal |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
Reimplemented in DtAreaConfigWidget.
|
virtualslot |
Reimplemented in DtAreaConfigWidget.
|
virtualslot |
Reimplemented in DtTerrainLineConfigWidget.
|
virtualslot |
|
virtualslot |
Reimplemented in DtAreaConfigWidget.
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
Reimplemented in DtTerrainLineConfigWidget.
|
virtualslot |
|
virtualslot |
Received when the user has right clicked the mouse and they never want this dialog shown.
If the data is complete, signals to create the object in question. If it is incomplete, will bring up the dialog so the user can finish with the object creation
|
virtualslot |
Reverse the points in the point list.
Reimplemented in DtTerrainLineConfigWidget.
|
virtualslot |
Set when in freehand drawing mode. Will not update list box until set to false.
|
virtualslot |
|
private |
assignment operator
|
protectedvirtual |
Handle the return key to accept changes or escape key to cancel changes.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Hide Z values based on key type. Return true if want to hide.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Sets labels due to coordinate system and unit selection.
|
protectedvirtual |
If the number of points in the list view is different than the internal list, update the internal list.
If optional point is supplied, make that the first point in the list. Returns true if filled in list
|
protectedvirtual |
Override to modify the main body of the dialog with new controls.
Reimplemented in DtTerrainLineConfigWidget, and DtAreaConfigWidget.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
Override to allow subclasses to determine which is really the first and next sibling.
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
Reverses the points from start to end location in the myPointList array and redisplay points on the screen.
iCount is the number of points to reverse and iStart is where in the point list to start
|
protectedvirtual |
|
protectedvirtual |
Clears and redisplays point list.
if emitSignal is true, emits a signal to update symbols
|
protectedvirtual |
If there is a list of original points, add the point in relative position (given current sampling rate) into the list.
-1 means add at "end"
|
protectedvirtual |
|
protectedvirtual |
Apply any last minute changes to point list.
This includes removing static skip points. This is called before sending the create or edit messages
Reimplemented in DtTerrainLineConfigWidget.
|
protectedvirtual |
|
protectedvirtual |
| Ui::LineConfigWidgetUi DtLineConfigWidget::myUiImpl |
|
protected |
Pointers to creator and creator's data.
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by editNotCreate().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
If sampling down, this list will hold all the original points;.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by entityMapperKey().
|
protected |
|
protected |