Public Slots |
| virtual void | setTerrainDatabase (const DtTerrainDatabase *d) |
| | Called when the terrain database is set.
|
| virtual void | applyAndClose () |
| | Apply changes and close the window.
|
| virtual void | applyChanges () |
| | Apply changes without closing.
|
| virtual void | featureChanged (QTreeWidgetItem *item) |
| | Called when a user selects an item in the list box, will see if the visible flag has changed.
|
| virtual void | showAll () |
| virtual void | hideAll () |
| virtual void | restore () |
| | Restores the list box to the original settings.
|
| virtual void | featureColorChanged (QTreeWidgetItem *) |
| | Called when the mouse button is pressed on an item, if it is the left mouse button and on the color column, bring up the color dialog to change.
|
| virtual void | raiseLayer () |
| | Called to raise the selected layer in the drawing order.
|
| virtual void | lowerLayer () |
| | Called to lower the selected layer in the drawing order.
|
| virtual void | updateRaiseButtons () |
| | Updates the status of the raise/lower buttons.
|
| virtual void | selectionChanged (QTreeWidgetItem *item, int col) |
| | Will enable/disable select all button.
|
| virtual void | selectAll () |
| | This will select all of the features on the currently active map by asking the terrain selector of that map to select all features that are of particular specification.
|
| virtual void | selectionModeChanged (DtBaseWindow *) |
| | Received when parent window changes its selection mode.
|
Public Attributes |
| Ui::DtTerrainPaperMapWidgetUi | myUiImpl |
Constructor & Destructor Documentation
| DtTerrainFeaturesWidget::DtTerrainFeaturesWidget |
( |
QWidget * |
parent = 0, |
|
|
const Qt::WindowFlags & |
flags = 0 |
|
) |
| |
| virtual DtTerrainFeaturesWidget::~DtTerrainFeaturesWidget |
( |
| ) |
|
|
virtual |
Member Function Documentation
Must be called after creation.
| virtual void DtTerrainFeaturesWidget::connectParent |
( |
DtBaseWindow * |
window | ) |
|
|
virtual |
Returns the list box of features.
| virtual bool DtTerrainFeaturesWidget::setAllLayersTo |
( |
bool |
show | ) |
|
|
protectedvirtual |
Sets all the feature layers to either show or hide.
Returns true if any layer changed
Creates the features list list box.
| virtual void DtTerrainFeaturesWidget::initConnections |
( |
DtBaseWindow * |
parent | ) |
|
|
protectedvirtual |
Selects the specified feature group, merging into current selection if merge is true.
| virtual void DtTerrainFeaturesWidget::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protectedvirtual |
| void DtTerrainFeaturesWidget::featuresChanged |
( |
DtList * |
| ) |
|
|
signal |
Sent when a feature has changed.
If the draw order of the features has also changed will include the new draw order list of specifications (A DtList which contains a list of DtLists that have the specifications in the order they should be drawn) as the parameter, else NULL
| virtual void DtTerrainFeaturesWidget::setTerrainDatabase |
( |
const DtTerrainDatabase * |
d | ) |
|
|
virtualslot |
Called when the terrain database is set.
| virtual void DtTerrainFeaturesWidget::applyAndClose |
( |
| ) |
|
|
virtualslot |
Apply changes and close the window.
| virtual void DtTerrainFeaturesWidget::applyChanges |
( |
| ) |
|
|
virtualslot |
Apply changes without closing.
| virtual void DtTerrainFeaturesWidget::featureChanged |
( |
QTreeWidgetItem * |
item | ) |
|
|
virtualslot |
Called when a user selects an item in the list box, will see if the visible flag has changed.
| virtual void DtTerrainFeaturesWidget::showAll |
( |
| ) |
|
|
virtualslot |
| virtual void DtTerrainFeaturesWidget::hideAll |
( |
| ) |
|
|
virtualslot |
| virtual void DtTerrainFeaturesWidget::restore |
( |
| ) |
|
|
virtualslot |
Restores the list box to the original settings.
| virtual void DtTerrainFeaturesWidget::featureColorChanged |
( |
QTreeWidgetItem * |
| ) |
|
|
virtualslot |
Called when the mouse button is pressed on an item, if it is the left mouse button and on the color column, bring up the color dialog to change.
| virtual void DtTerrainFeaturesWidget::raiseLayer |
( |
| ) |
|
|
virtualslot |
Called to raise the selected layer in the drawing order.
| virtual void DtTerrainFeaturesWidget::lowerLayer |
( |
| ) |
|
|
virtualslot |
Called to lower the selected layer in the drawing order.
| virtual void DtTerrainFeaturesWidget::updateRaiseButtons |
( |
| ) |
|
|
virtualslot |
Updates the status of the raise/lower buttons.
| virtual void DtTerrainFeaturesWidget::selectionChanged |
( |
QTreeWidgetItem * |
item, |
|
|
int |
col |
|
) |
| |
|
virtualslot |
Will enable/disable select all button.
| virtual void DtTerrainFeaturesWidget::selectAll |
( |
| ) |
|
|
virtualslot |
This will select all of the features on the currently active map by asking the terrain selector of that map to select all features that are of particular specification.
| virtual void DtTerrainFeaturesWidget::selectionModeChanged |
( |
DtBaseWindow * |
| ) |
|
|
virtualslot |
Received when parent window changes its selection mode.
Member Data Documentation
| Ui::DtTerrainPaperMapWidgetUi DtTerrainFeaturesWidget::myUiImpl |
| bool DtTerrainFeaturesWidget::myDrawOrderingEnabled |
|
protected |
Set in constructor to true/false to enable/disable draw ordering.
The documentation for this class was generated from the following file: