![]() |
VR-Forces 4.0.4 Class Documentation
|

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. | |
Signals | |
| void | featuresChanged (DtList *) |
| Sent when a feature has changed. | |
Public Member Functions | |
| DtTerrainFeaturesWidget (QWidget *parent=0, const Qt::WindowFlags &flags=0) | |
| virtual | ~DtTerrainFeaturesWidget () |
| virtual bool | init (DtBaseWindow *parent) |
| Must be called after creation. | |
| virtual void | connectParent (DtBaseWindow *window) |
| virtual DtTerrainFeaturesList * | featuresList () const |
| Returns the list box of features. | |
Static Public Member Functions | |
| static DtTerrainFeaturesWidget * | create (QWidget *parent, const Qt::WindowFlags &flags) |
| Returns a newly created instance of a DtTerrainPaperMapWidget. | |
Public Attributes | |
| Ui::DtTerrainPaperMapWidgetUi | myUiImpl |
Protected Member Functions | |
| virtual bool | setAllLayersTo (bool show) |
| Sets all the feature layers to either show or hide. | |
| virtual DtTerrainFeaturesListEx * | createFeaturesList () |
| Creates the features list list box. | |
| virtual void | initConnections (DtBaseWindow *parent) |
| virtual bool | featureIsVisible (QTreeWidgetItem *item) |
| virtual void | selectFeature (QTreeWidgetItem *item, bool merge) |
| Selects the specified feature group, merging into current selection if merge is true. | |
| virtual void | keyPressEvent (QKeyEvent *e) |
Protected Attributes | |
| DtTerrainFeaturesListEx * | myFeaturesList |
| bool | myDrawOrderingEnabled |
| Set in constructor to true/false to enable/disable draw ordering. | |
| DtBaseWindow * | myParent |
| DtTerrainFeaturesWidget::DtTerrainFeaturesWidget | ( | QWidget * | parent = 0, |
| const Qt::WindowFlags & | flags = 0 |
||
| ) |
| virtual DtTerrainFeaturesWidget::~DtTerrainFeaturesWidget | ( | ) | [virtual] |
| virtual bool DtTerrainFeaturesWidget::init | ( | DtBaseWindow * | parent | ) | [virtual] |
Must be called after creation.
| virtual void DtTerrainFeaturesWidget::connectParent | ( | DtBaseWindow * | window | ) | [virtual] |
| virtual DtTerrainFeaturesList* DtTerrainFeaturesWidget::featuresList | ( | ) | const [virtual] |
Returns the list box of features.
| static DtTerrainFeaturesWidget* DtTerrainFeaturesWidget::create | ( | QWidget * | parent, |
| const Qt::WindowFlags & | flags | ||
| ) | [static] |
Returns a newly created instance of a DtTerrainPaperMapWidget.
| virtual bool DtTerrainFeaturesWidget::setAllLayersTo | ( | bool | show | ) | [protected, virtual] |
Sets all the feature layers to either show or hide.
Returns true if any layer changed
| virtual DtTerrainFeaturesListEx* DtTerrainFeaturesWidget::createFeaturesList | ( | ) | [protected, virtual] |
Creates the features list list box.
| virtual void DtTerrainFeaturesWidget::initConnections | ( | DtBaseWindow * | parent | ) | [protected, virtual] |
| virtual bool DtTerrainFeaturesWidget::featureIsVisible | ( | QTreeWidgetItem * | item | ) | [protected, virtual] |
| virtual void DtTerrainFeaturesWidget::selectFeature | ( | QTreeWidgetItem * | item, |
| bool | merge | ||
| ) | [protected, virtual] |
Selects the specified feature group, merging into current selection if merge is true.
| virtual void DtTerrainFeaturesWidget::keyPressEvent | ( | QKeyEvent * | e | ) | [protected, virtual] |
| 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 | ) | [virtual, slot] |
Called when the terrain database is set.
| virtual void DtTerrainFeaturesWidget::applyAndClose | ( | ) | [virtual, slot] |
Apply changes and close the window.
| virtual void DtTerrainFeaturesWidget::applyChanges | ( | ) | [virtual, slot] |
Apply changes without closing.
| virtual void DtTerrainFeaturesWidget::featureChanged | ( | QTreeWidgetItem * | item | ) | [virtual, slot] |
Called when a user selects an item in the list box, will see if the visible flag has changed.
| virtual void DtTerrainFeaturesWidget::showAll | ( | ) | [virtual, slot] |
| virtual void DtTerrainFeaturesWidget::hideAll | ( | ) | [virtual, slot] |
| virtual void DtTerrainFeaturesWidget::restore | ( | ) | [virtual, slot] |
Restores the list box to the original settings.
| virtual void DtTerrainFeaturesWidget::featureColorChanged | ( | QTreeWidgetItem * | ) | [virtual, slot] |
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 | ( | ) | [virtual, slot] |
Called to raise the selected layer in the drawing order.
| virtual void DtTerrainFeaturesWidget::lowerLayer | ( | ) | [virtual, slot] |
Called to lower the selected layer in the drawing order.
| virtual void DtTerrainFeaturesWidget::updateRaiseButtons | ( | ) | [virtual, slot] |
Updates the status of the raise/lower buttons.
| virtual void DtTerrainFeaturesWidget::selectionChanged | ( | QTreeWidgetItem * | item, |
| int | col | ||
| ) | [virtual, slot] |
Will enable/disable select all button.
| virtual void DtTerrainFeaturesWidget::selectAll | ( | ) | [virtual, slot] |
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 * | ) | [virtual, slot] |
Received when parent window changes its selection mode.
| Ui::DtTerrainPaperMapWidgetUi DtTerrainFeaturesWidget::myUiImpl |
bool DtTerrainFeaturesWidget::myDrawOrderingEnabled [protected] |
Set in constructor to true/false to enable/disable draw ordering.
DtBaseWindow* DtTerrainFeaturesWidget::myParent [protected] |