class DtPointConfigWidget:
More...
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 |
Detailed Description
Constructor & Destructor Documentation
| DtPointConfigWidget::DtPointConfigWidget |
( |
QWidget * |
parent = NULL, |
|
|
const Qt::WindowFlags & |
flags = 0 |
|
) |
| |
| virtual DtPointConfigWidget::~DtPointConfigWidget |
( |
| ) |
|
|
virtual |
Member Function Documentation
| 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 |
| 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 |
| 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 & |
|
|
) |
| |
|
virtualslot |
| virtual void DtPointConfigWidget::addPoint |
( |
const DtPoint & |
p | ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::editPoint |
( |
const DtPoint & |
p | ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::redisplayPoints |
( |
| ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::cancelAndClose |
( |
| ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::createAndClose |
( |
| ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::editAndClose |
( |
| ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::changePoint |
( |
| ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::changeName |
( |
const QString & |
s | ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::changeDefaultZPoint |
( |
double |
h | ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::setHeightOffset |
( |
double |
h | ) |
|
|
virtualslot |
| virtual void DtPointConfigWidget::userComplete |
( |
bool |
finish | ) |
|
|
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
| virtual void DtPointConfigWidget::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protectedvirtual |
Handle the return key to accept changes or escape key to cancel changes.
| virtual bool DtPointConfigWidget::initConnections |
( |
const DtTMMapArea * |
area | ) |
|
|
protectedvirtual |
| virtual void DtPointConfigWidget::addPointToList |
( |
const DtPoint & |
p | ) |
|
|
protectedvirtual |
| virtual bool DtPointConfigWidget::passNameCheck |
( |
| ) |
|
|
protectedvirtual |
| virtual bool DtPointConfigWidget::shouldPublish |
( |
| ) |
const |
|
protectedvirtual |
| virtual void DtPointConfigWidget::closeEvent |
( |
QCloseEvent * |
c | ) |
|
|
protectedvirtual |
| virtual void DtPointConfigWidget::symbolUpdated |
( |
| ) |
|
|
protectedvirtual |
Called when the symbol should be updated.
Either updates the symbol or emits the updateSymbol() signal
Member Data Documentation
| Ui::PointConfigWidgetUi DtPointConfigWidget::myUiImpl |
| QVector<DtPoint> DtPointConfigWidget::myDisplayPoints |
|
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 |
| double DtPointConfigWidget::myHeightOffset |
|
protected |
| DtSymbol* DtPointConfigWidget::myWorkingSymbol |
|
protected |
| bool DtPointConfigWidget::myClosing |
|
protected |
| int DtPointConfigWidget::myAppearance |
|
protected |
| int DtPointConfigWidget::myDefaultTransparency |
|
protected |
| bool DtPointConfigWidget::myUpdateSymbolOnChange |
|
protected |
The documentation for this class was generated from the following file: