![]() |
VR-Exchange 2.2 API Documentation
|
A dialog for customizing plot series display settings. More...

Signals | |
| void | seriesToggled (const DtString &brokerName, const DtString &fieldName, bool enabled) |
| Notifies listening slots that the series has been toggled. | |
| void | seriesStyleChanged (const DtString &brokerName, const DtString &fieldName, unsigned int style) |
| Notifies listening slots that the series' style has changed. | |
| void | seriesColorChanged (const DtString &brokerName, const DtString &fieldName, int r, int g, int b) |
| Notifies listening slots that the series' color has changed. | |
Public Member Functions | |
| DtPlotterLegendDialog (QWidget *parent=0) | |
| CTOR. | |
| virtual | ~DtPlotterLegendDialog () |
| Virtual DTOR. | |
| virtual void | addItem (const DtSeriesColorRecord &rec, const DtString &units, const DtString &description) |
| Add an item to with the given name in the given section. | |
| virtual void | removeSection (const DtString §ionName) |
| Removes the section with the given name and all items under it. | |
| virtual void | resizeToContents () |
| Resize the dialog to the size of the table. | |
Protected Types | |
| typedef std::map< DtString, QTableWidgetItem * > | SectionHeaderMap |
| typedef std::map< DtString, QTableWidgetItem * > | SeriesItemsMap |
| typedef std::map < QTableWidgetItem *, SeriesItemsMap > | HeaderSeriesItemsMap |
Protected Slots | |
| virtual void | onTableWidgetItemChanged (QTableWidgetItem *item) |
| Receives notification that the user toggled a series on or off. | |
| virtual void | onEnableAllSeries () |
| Enables all the series for the current broker. | |
| virtual void | onDisableAllSeries () |
| Disables all the series for the current broker. | |
Protected Member Functions | |
| void | initView () |
| Create the view. | |
| void | connectToSignals () |
| Connect to signals from legend widgets. | |
| virtual QTableWidgetItem * | getHeaderItem (const DtString §ionName) |
| Get (or create) the header item for the given section. | |
| virtual bool | eventFilter (QObject *obj, QEvent *event) |
| Processes events from the main table list. | |
Protected Attributes | |
| SectionHeaderMap | mySectionHeaders |
| HeaderSeriesItemsMap | myHeaderSeriesItems |
| bool | myNeedsShowHideFlag |
| QMenu * | myHeaderContextMenu |
| DtLineStyleComboDelegate * | myStyleDelegate |
| DtLineColorSelectDelegate * | myColorDelegate |
| QTableWidget * | myListWidget |
Private Member Functions | |
| DtPlotterLegendDialog (DtPlotterLegendDialog &other) | |
| Copy CTOR not Implemented – do not copy. | |
| DtPlotterLegendDialog & | operator= (DtPlotterLegendDialog &other) |
| Assignment Operator not Implemented – do not copy. | |
A dialog for customizing plot series display settings.
|
protected |
|
protected |
|
protected |
| MAKVrExchange::DtPlotterLegendDialog::DtPlotterLegendDialog | ( | QWidget * | parent = 0 | ) |
CTOR.
|
virtual |
Virtual DTOR.
|
private |
Copy CTOR not Implemented – do not copy.
|
virtual |
Add an item to with the given name in the given section.
|
virtual |
Removes the section with the given name and all items under it.
|
virtual |
Resize the dialog to the size of the table.
|
protected |
Create the view.
Non-virtual - Called from CTOR.
|
protected |
Connect to signals from legend widgets.
Non-virtual - Called from CTOR.
|
protectedvirtual |
Get (or create) the header item for the given section.
|
protectedvirtual |
Processes events from the main table list.
Displays context menu if header is right clicked.
|
signal |
Notifies listening slots that the series has been toggled.
|
signal |
Notifies listening slots that the series' style has changed.
|
signal |
Notifies listening slots that the series' color has changed.
|
protectedvirtualslot |
Receives notification that the user toggled a series on or off.
Updates the plot using the checked state and the series id.
|
protectedvirtualslot |
Enables all the series for the current broker.
Called when the user selects enable all from the header context menu.
|
protectedvirtualslot |
Disables all the series for the current broker.
Called when the user selects disable all from the header context menu.
|
private |
Assignment Operator not Implemented – do not copy.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |