![]() |
VR-Forces 4.0.4 Class Documentation
|
class DtPointConfigWidget: More...

Public Slots | |
| virtual void | updateUnits (const QString &, const QString &, const QString &) |
| 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 | changeDefaultZPoint (double h) |
| virtual void | setHeightOffset (double h) |
| virtual void | userComplete (bool finish) |
| Received when the user has right clicked the mouse and they never want this dialog shown. | |
Signals | |
| void | updateSymbol () |
| void | cancelActivated () |
| 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 | editActivated (QString name, QString label, QColor color, int forceType, int appearance, bool publish, DtArchivableObject *userData) |
| void | heightOffsetChanged (double) |
| void | nameChanged () |
| Sent when the user has changed the name of the object. | |
Public Member Functions | |
| DtPointConfigWidget (QWidget *parent=NULL, const Qt::WindowFlags &flags=0) | |
| default constructor | |
| virtual | ~DtPointConfigWidget () |
| destructor | |
| virtual bool | init (const DtTMMapArea *converter, QVector< DtPoint > *list, QString *name, QString *label, int forceType, const DtModelData *data, bool editNotCreate=0, DtSymbol *workingSymbol=NULL, const DtEntityMapperKey *key=NULL, DtArchivableObject *userData=NULL) |
| virtual double | heightOffset () const |
| virtual void | setNameLabel (const QString &name) |
| bool | editNotCreate () const |
| const DtEntityMapperKey & | entityMapperKey () const |
| void | setUpdateSymbolOnChange (bool) |
| If there is a temp symbol, rather than emitting the updateSymbol() method, change the symbol and have the active map area update. | |
| bool | updateSymbolOnChange () const |
Static Public Member Functions | |
| static QWidget * | create (QWidget *parent=NULL, const Qt::WindowFlags &f=0) |
Public Attributes | |
| Ui::PointConfigWidgetUi | 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 | addPointToList (const DtPoint &p) |
| virtual bool | passNameCheck () |
| virtual bool | shouldPublish () const |
| virtual void | closeEvent (QCloseEvent *c) |
| virtual void | symbolUpdated () |
| Called when the symbol should be updated. | |
Protected Attributes | |
| QVector< DtPoint > | myDisplayPoints |
| const DtTMMapArea * | myCSConverter |
| Pointers to creator and creator's data. | |
| QVector< DtPoint > * | myPointList |
| QString * | myObjectNamePtr |
| QString * | myLabelPtr |
| bool | myEditNotCreate |
| double | myHeightOffset |
| DtSymbol * | myWorkingSymbol |
| const DtModelData * | myModelData |
| DtLocationEntryWidget * | myLocationEntryWidget |
| DtArchivableObject * | myUserData |
| bool | myClosing |
| int | myAppearance |
| int | myDefaultTransparency |
| DtEntityMapperKey | myEntityMapperKey |
| bool | myUpdateSymbolOnChange |
Private Member Functions | |
| DtPointConfigWidget (const DtPointConfigWidget &orig) | |
| copy constructor | |
| DtPointConfigWidget & | operator= (const DtPointConfigWidget &orig) |
| assignment operator | |
class DtPointConfigWidget:
Instances of DtPointConfigWidget are
| DtPointConfigWidget::DtPointConfigWidget | ( | QWidget * | parent = NULL, |
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
default constructor
| virtual DtPointConfigWidget::~DtPointConfigWidget | ( | ) | [virtual] |
destructor
| DtPointConfigWidget::DtPointConfigWidget | ( | const DtPointConfigWidget & | orig | ) | [private] |
copy constructor
| virtual bool DtPointConfigWidget::init | ( | const DtTMMapArea * | converter, |
| QVector< DtPoint > * | list, | ||
| QString * | name, | ||
| QString * | label, | ||
| int | forceType, | ||
| const DtModelData * | data, | ||
| bool | editNotCreate = 0, |
||
| DtSymbol * | workingSymbol = NULL, |
||
| const DtEntityMapperKey * | key = NULL, |
||
| DtArchivableObject * | userData = NULL |
||
| ) | [virtual] |
| virtual double DtPointConfigWidget::heightOffset | ( | ) | const [virtual] |
| virtual void DtPointConfigWidget::setNameLabel | ( | const QString & | name | ) | [virtual] |
| static QWidget* DtPointConfigWidget::create | ( | QWidget * | parent = NULL, |
| const Qt::WindowFlags & | f = 0 |
||
| ) | [static] |
| bool DtPointConfigWidget::editNotCreate | ( | ) | const [inline] |
References myEditNotCreate.
| const DtEntityMapperKey & DtPointConfigWidget::entityMapperKey | ( | ) | const [inline] |
References myEntityMapperKey.
| void DtPointConfigWidget::setUpdateSymbolOnChange | ( | bool | b | ) | [inline] |
If there is a temp symbol, rather than emitting the updateSymbol() method, change the symbol and have the active map area update.
This will only work if there is a temp symbol and an active map area. Default is false
References myUpdateSymbolOnChange.
| bool DtPointConfigWidget::updateSymbolOnChange | ( | ) | const [inline] |
References myUpdateSymbolOnChange.
| void DtPointConfigWidget::updateSymbol | ( | ) | [signal] |
| void DtPointConfigWidget::cancelActivated | ( | ) | [signal] |
| void DtPointConfigWidget::createActivated | ( | QVector< DtPoint > & | points, |
| QString | name, | ||
| QString | label, | ||
| QColor | color, | ||
| int | forceType, | ||
| int | appearance, | ||
| bool | publish, | ||
| QString | attachTo, | ||
| DtArchivableObject * | userData, | ||
| bool | lastOne = true |
||
| ) | [signal] |
| void DtPointConfigWidget::editActivated | ( | QString | name, |
| QString | label, | ||
| QColor | color, | ||
| int | forceType, | ||
| int | appearance, | ||
| bool | publish, | ||
| DtArchivableObject * | userData | ||
| ) | [signal] |
| void DtPointConfigWidget::heightOffsetChanged | ( | double | ) | [signal] |
| void DtPointConfigWidget::nameChanged | ( | ) | [signal] |
Sent when the user has changed the name of the object.
| virtual void DtPointConfigWidget::updateUnits | ( | const QString & | , |
| const QString & | , | ||
| const QString & | |||
| ) | [virtual, slot] |
| virtual void DtPointConfigWidget::addPoint | ( | const DtPoint & | p | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::editPoint | ( | const DtPoint & | p | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::redisplayPoints | ( | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::cancelAndClose | ( | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::createAndClose | ( | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::editAndClose | ( | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::changePoint | ( | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::changeName | ( | const QString & | s | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::changeDefaultZPoint | ( | double | h | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::setHeightOffset | ( | double | h | ) | [virtual, slot] |
| virtual void DtPointConfigWidget::userComplete | ( | bool | finish | ) | [virtual, slot] |
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
| DtPointConfigWidget& DtPointConfigWidget::operator= | ( | const DtPointConfigWidget & | orig | ) | [private] |
assignment operator
| virtual void DtPointConfigWidget::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
Handle the return key to accept changes or escape key to cancel changes.
| virtual bool DtPointConfigWidget::initConnections | ( | const DtTMMapArea * | area | ) | [protected, virtual] |
| virtual void DtPointConfigWidget::addPointToList | ( | const DtPoint & | p | ) | [protected, virtual] |
| virtual bool DtPointConfigWidget::passNameCheck | ( | ) | [protected, virtual] |
| virtual bool DtPointConfigWidget::shouldPublish | ( | ) | const [protected, virtual] |
| virtual void DtPointConfigWidget::closeEvent | ( | QCloseEvent * | c | ) | [protected, virtual] |
| virtual void DtPointConfigWidget::symbolUpdated | ( | ) | [protected, virtual] |
Called when the symbol should be updated.
Either updates the symbol or emits the updateSymbol() signal
| Ui::PointConfigWidgetUi DtPointConfigWidget::myUiImpl |
QVector<DtPoint> DtPointConfigWidget::myDisplayPoints [protected] |
const DtTMMapArea* DtPointConfigWidget::myCSConverter [protected] |
Pointers to creator and creator's data.
FIX this is a very bad approach.
QVector<DtPoint>* DtPointConfigWidget::myPointList [protected] |
QString* DtPointConfigWidget::myObjectNamePtr [protected] |
QString* DtPointConfigWidget::myLabelPtr [protected] |
bool DtPointConfigWidget::myEditNotCreate [protected] |
Referenced by editNotCreate().
double DtPointConfigWidget::myHeightOffset [protected] |
DtSymbol* DtPointConfigWidget::myWorkingSymbol [protected] |
const DtModelData* DtPointConfigWidget::myModelData [protected] |
DtArchivableObject* DtPointConfigWidget::myUserData [protected] |
bool DtPointConfigWidget::myClosing [protected] |
int DtPointConfigWidget::myAppearance [protected] |
int DtPointConfigWidget::myDefaultTransparency [protected] |
Referenced by entityMapperKey().
bool DtPointConfigWidget::myUpdateSymbolOnChange [protected] |
Referenced by setUpdateSymbolOnChange(), and updateSymbolOnChange().