VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfGuiCommonQt Library API Changes

Table of Contents

This document describes the public API changes in the vrfGuiCommonQt library between VR-Forces 5.2 and VR-Forces 5.3.

vrfGuiCommonQt supplies the Qt widgets, dialogs, and dialog logic classes that are shared by the VR-Forces front-end applications and by customer-written GUI plug-ins.

The dominant theme of the release is the reworking of checkpointing into a general scenario snapshot and save mechanism. Nearly every symbol that used the word "Checkpoint" in a snapshot context was renamed to use "Scenario" or "Snapshot", and the delete-checkpoints dialog was replaced by a delete-scenarios dialog. Other significant changes are the migration of DtSessionStatusBox into its own header, the move of DtTagSelectorWidget from vrfGuiCoreQt into this library, the rework of the back-end remapping dialog onto DtBackEndSelectionCombo, and a new symbol identifier (SIDC) rendering path in DtVrfGuiSymbolMapper.

Changes that are internal to an implementation or limited to comments are not listed.

Breaking Changes

The checkpoint dialog classes were replaced by scenario dialog classes

deleteCheckpointsDialog.h, deleteCheckpointsDialogInterface.h, and deleteCheckpointsDialogLogic.h were removed. They were renamed to deleteScenariosDialog.h, deleteScenariosDialogInterface.h, and deleteScenariosDialogLogic.h, and the classes they define were renamed to match. The design (a dialog class, an abstract interface, and a logic class) is unchanged, so most code needs only a mechanical substitution.

5.2 declaration 5.3 declaration
DtDeleteCheckpointsDialog DtDeleteScenariosDialog
DtDeleteCheckpointsDialogInterface DtDeleteScenariosDialogInterface
DtDeleteCheckpointsDialogLogic DtDeleteScenariosDialogLogic
DtDeleteCheckpointsDialogInterface::clearCheckpointsList() DtDeleteScenariosDialogInterface::clearScenariosList()
DtDeleteCheckpointsDialogLogic::checkpointSaved(double) DtDeleteScenariosDialogLogic::scenarioSaved(double)
Ui_DtDeleteCheckPointsDlg myUiImpl Ui_DtDeleteScenariosDlg myUiImpl

The generated UI header included by the dialog also changed from deleteCheckPointsDlgUi.hpp to deleteScenariosDlgUi.hpp.

The signal_checkpointsDeleted signal moved. In 5.2 it was a member of the concrete DtDeleteCheckpointsDialog; in 5.3 the equivalent signal_scenariosDeleted is declared on the abstract DtDeleteScenariosDialogInterface, alongside the existing signal_removeDeletedFiles. Code that connected to the signal through a concrete dialog pointer still compiles; code that declared its own implementation of the interface must account for the additional inherited signal.

// 5.2
DtDeleteCheckpointsDialog* dlg = new DtDeleteCheckpointsDialog(de, parent);
dlg->signal_checkpointsDeleted.connect(...);
// 5.3
DtDeleteScenariosDialog* dlg = DtDeleteScenariosDialogCreator::instance(de).create(parent);
dlg->signal_scenariosDeleted.connect(...);

DtVrfCheckpointManager checkpoint methods and signals were renamed

The save-related API of DtVrfCheckpointManager in vrfCheckpointManager.h was renamed from checkpoint terminology to scenario terminology. The replacements are direct substitutions with identical signatures.

5.2 declaration 5.3 declaration
bool saveCheckpoints(const std::set<double>&) bool saveScenarios(const std::set<double>&)
bool saveCheckpoint(double) bool saveScenario(double)
bool saveCheckpoints() bool saveScenarios()
bool isSavingCheckpoints() const bool isSavingScenarios() const
void updateCheckpointsSavedStatus() void updateSnapshotsSavedStatus()
signal_savedScenarioCheckpoint signal_savedScenario
signal_savedCheckpointsCleared signal_savedScenariosCleared

signal_savingCheckpoints kept its name, so do not perform a global rename of every symbol containing "Checkpoint" in this header. Review each reference individually.

DtVrfCheckpointManager::schedulePeriodicSnapshoting changed signature

Two parameters were added so that periodic on-disk checkpointing can be scheduled independently of periodic in-memory snapshotting. There is no default for either new parameter, so every call site must be updated.

// 5.2
virtual void schedulePeriodicSnapshoting(bool enabled, double simTime, int numberOfSnapshotsToKeep);
// 5.3
virtual void schedulePeriodicSnapshoting(bool enabled, double simTime, int numberOfSnapshotsToKeep,
bool enableCheckpoints, double checkpointTime);

To preserve the 5.2 behavior, pass false and 0.0 for the new arguments.

DtVrfCheckpointManager protected methods were removed

The following protected virtuals were removed. Derived classes that override them will no longer be called, and the override will fail to compile if it is marked override.

virtual DtDeleteCheckpointsDialog* createDeleteCheckpointsDialog(QWidget* p, const Qt::WindowFlags& f);
virtual void checkNeedsPeriodicSave(const std::set<double>&);
virtual void updatePeriodicCheckpointFrequency(int periodicCheckpointFrequency);
virtual void simulationSettingsChanged();

Dialog creation is now performed through DtDeleteScenariosDialogCreator; register a subclass of that creator to substitute a custom dialog. Periodic save scheduling is driven by the back-end settings delivered to slot_settingReceived and exposed through currentSettings(), so the frequency and settings-change hooks are no longer needed. The protected member myPeriodicCheckpointFrequency was removed along with them.

DtScenarioSnapshotsWidgetInterface methods and signals were renamed

scenarioSnapshotsWidgetInterface.h declares the abstract interface implemented by DtScenarioSnapshotsWidget. Any class deriving from the interface must rename its overrides, and any code connecting to the signals must use the new names.

5.2 declaration 5.3 declaration
virtual void setSavedCheckpoint(double, bool) = 0 virtual void setSavedScenario(double, bool) = 0
signal_saveCheckpoints signal_saveScenarios
signal_enablePeriodicCheckpoints signal_enablePeriodicSnapshots

The signal signatures are unchanged: signal_saveScenarios still carries a const std::set<double>& and signal_enablePeriodicSnapshots still carries a bool. DtScenarioSnapshotsWidget in scenarioSnapshotsWidget.h was updated correspondingly, so its setSavedCheckpoint override is now setSavedScenario.

DtScenarioSnapshotsWidgetLogic slots were renamed

The matching logic class slots were renamed. All signatures are unchanged.

5.2 declaration 5.3 declaration
slot_saveCheckpoints(const std::set<double>&) slot_saveScenarios(const std::set<double>&)
slot_savedScenarioCheckpoint(double) slot_savedScenario(double)
slot_savedCheckpointsCleared(const std::set<double>&) slot_savedScenariosCleared(const std::set<double>&)
slot_savingCheckpoints(const std::set<double>&) slot_savingScenarios(const std::set<double>&)
slot_enablePeriodicCheckpoints(bool) slot_enablePeriodicSnapshots(bool)
slot_startingScenarioCheckpointTimeChanged(double, double) slot_startingScenarioSnapshotTimeChanged(double, double)

DtSessionStatusBox moved to its own header

DtSessionStatusBox was defined at the bottom of commonScenarioManager.h in 5.2. It now lives in the new header vrfGuiCommonQt/sessionStatusBox.h. Code that used the class by including commonScenarioManager.h must add the new include.

The class itself changed in two ways that affect derived classes. A LoadingPlugins enumerator was added to DtSessionStatusBox::Status, and the protected member that displayed the per-back-end operation was replaced:

// 5.2
QLabel* myOperation;
// 5.3
QTreeWidget* myOperationsList;

DtSessionStatusBox also gained a showEvent override. Subclasses that override showEvent must chain to the base implementation.

DtCommonScenarioManager::closeScenario and postSaveClose changed signature

A trailing parameter was added to both methods so that the manager can suppress work that would be undone by a checkpoint load immediately following the close.

// 5.2
virtual void closeScenario(bool resetScenario = true, const DtFilename& databaseToOpen = "",
bool forceCloseAll = false);
virtual void postSaveClose(bool resetScenario, DtFilename databaseToOpen, bool forceCloseAll);
// 5.3
virtual void closeScenario(bool resetScenario = true, const DtFilename& databaseToOpen = "",
bool forceCloseAll = false, bool willLoadCheckpointAfterClose = false);
virtual void postSaveClose(bool resetScenario, DtFilename databaseToOpen, bool forceCloseAll,
bool willLoadCheckpointAfterClose);

closeScenario defaults the new parameter, so existing call sites continue to compile and behave as before. Overrides of either method, and all call sites of postSaveClose, must be updated.

DtCommonScenarioManager::requestSpotReports was removed

virtual void requestSpotReports();

There is no replacement. Spot report data is delivered without an explicit front-end request.

DtCommonScenarioManager::StatusDialogs enumeration changed

A LoadingPlugins value was added and AllStatusDialogs was redefined to include it:

// 5.3
LoadingPlugins = 0x00000040,
AllStatusDialogs = Loading | Saving | Closing | Importing | CreatingSimulationObjectGroup
| Reinitializing | LoadingPlugins

Code that stored AllStatusDialogs as a persisted value, or that assumed the set of bits it covers, must be reviewed. The same enumerator was added to DtSessionStatusBox::Status.

DtRemappingDialogInterface changed to use DtBackEndSelectionCombo

The remapping dialog was rebuilt around a tree of DtBackEndSelectionCombo widgets instead of a grid of QComboBox widgets. The abstract interface in remappingDialogInterface.h changed accordingly, so any class implementing it must be updated.

// 5.2
virtual QComboBox* addMapTo(const QString&, int row) = 0;
virtual QComboBox* readdMapTo(const QString&) = 0;
// 5.3
virtual DtBackEndSelectionCombo* addMapTo(const QString&) = 0;
virtual DtBackEndSelectionCombo* mapAllTo() = 0;

addMapTo lost its row parameter because ordering is now handled by the tree widget, and its return type changed. readdMapTo was removed; call addMapTo instead, which appends the entry. The new pure virtual mapAllTo returns the combo that drives the "map all" behavior and must be implemented.

DtRemappingDialog public members changed

The concrete dialog's public members reflect the new layout. Code that reached into the dialog to adjust its widgets must be reworked.

5.2 member 5.3 replacement
QLabel* myMissingBackendLabel removed
QLabel* myRemapToLabel removed
QFrame* mySeparator removed
QLabel* myMapAllLabel removed
QGridLayout* myEntryLayout removed
QComboBox* myMapAllComboBox DtBackEndSelectionCombo* myMapAllComboBox
— QTreeWidget* myBackends (new)

The nested DtRemappingDialog::MapToEntry structure changed both of its members:

// 5.2
struct MapToEntry
{
QLabel* label;
QComboBox* backends;
};
// 5.3
struct MapToEntry
{
DtBackEndSelectionCombo* backends;
};

DtRemappingDialogLogic::myMapTo changed type from std::map<std::string, QComboBox*> to std::map<std::string, DtBackEndSelectionCombo*>.

DtTreeWidget base class changed

DtTreeWidget now derives from makVrv::DtStyledQTreeWidget rather than directly from QTreeWidget:

// 5.2
class DtTreeWidget : public QTreeWidget
// 5.3
class DtTreeWidget : public makVrv::DtStyledQTreeWidget

DtStyledQTreeWidget is itself a QTreeWidget, so pointer conversions and most usage are unaffected. Derived classes that explicitly name QTreeWidget when chaining to a base implementation must name makVrv::DtStyledQTreeWidget instead. treeWidget.h now includes vrvCoreQt/DtStyledQTreeWidget.h.

DtTreeWidget also gained an eventFilter override; subclasses that override eventFilter must chain to the base implementation so that header context-menu handling continues to work.

DtBackEndSelectionList and DtBackEndSelectionCombo access levels changed

addBackend and removeBackend moved from the protected section to the public section of both classes. This is source compatible for callers and for existing overrides, but code that relied on the members being inaccessible from outside the class hierarchy will now compile differently.

// 5.3, now public on both classes
virtual void addBackend(const std::string& backend, const DtBackend&) override;
virtual void removeBackend(const std::string& backend) override;

DtObjectListViewItem::isTDLItem was removed

virtual bool isTDLItem() const;

There is no replacement. The protected member myIsDestroyed was removed at the same time; derived classes must use the existing damage state accessors instead of reading the flag directly.

DtObjectListViewItem::ShowHideFlags gained values

// 5.3
OtherFilter = 6,
ForceFilter = 7

Code that switches exhaustively over ShowHideFlags, or that treats the enumeration as a closed set when persisting hidden state, must handle the new values.

DtVrfGuiSymbolMapper::getIcon default arguments changed

Both getIcon overloads, and the protected milStdRender, changed the default value of the milStdOutlineColor parameter from Qt::black to a default-constructed, invalid QColor:

// 5.2
const QColor& milStdOutlineColor = Qt::black
// 5.3
const QColor& milStdOutlineColor = QColor()

An invalid color now means "use the color determined by the current symbology settings", while Qt::black continues to mean "force a black outline". Callers that relied on the default producing a black outline must pass Qt::black explicitly.

DtVrfEnvironmentConditionsWeatherLogic elevational wind handlers were renamed

The elevational wind configuration handlers were renamed and are now overrides of base class virtuals rather than plain virtuals. Derived classes must rename their overrides.

// 5.2
virtual void onAddElevationalWind();
virtual void onRemoveElevationalWind(float altitude);
// 5.3
virtual void onAddElevationalConfiguration() override;
virtual void onRemoveElevationalConfiguration(float altitude) override;

DtVrfEnvironmentConditionsDateAndTimeLogic::onUpdateTimeRequested was removed

virtual void onUpdateTimeRequested() override;

The override was removed; the base class implementation is used. Derived classes that called through to this class's implementation should call the base class directly.

DtVrfEnvironmentConditionsDateAndTimeWidget::setDateAndTimeOfDay changed signature

// 5.2
virtual void setDateAndTimeOfDay(time_t);
// 5.3
virtual void setDateAndTimeOfDay(time_t, bool fromNetwork = false);

Callers are unaffected because the new parameter is defaulted, but overrides must be updated. slot_utcDateTimeChanged(time_t) moved from the protected section to the public section of the same class, and the protected member mySetTimeBasedOnCreation was renamed to mySetKeepTimeLocalContanstant.

DtVrfEnvironmentalDateTimeEntryWidget::updateForLocalTime was removed

virtual void updateForLocalTime();

This protected virtual was removed. updateForUtcTime remains, and the widget now drives local-time display through the time zone manager included from vrfGuiCore/timeZoneManager.h. The class also gained a setEnabled(bool) override that propagates the enabled state to the contained entry widgets; subclasses overriding setEnabled must chain to it.

DtVrfEnvironmentConditionsWeatherWidget gained pure virtual overrides

The widget now overrides several base class virtuals that a subclass may also have been overriding: initDepthOffsetWidgets, initWaveFetchWidgets, on_addElevationalConfigurationButtonClicked, on_multiElevationWindCellClicked, and on_elevationalConfigurationChanged. Subclasses that override any of these must chain to the DtVrfEnvironmentConditionsWeatherWidget implementation rather than to the base class implementation, or the global weather and elevational wind controls will not behave correctly.

The VrfWidgetGroupId enumeration gained VrfWidgetGroupIdCreateGlobalWeatherWidgets immediately before VrfWidgetGroupId_ExtraWidgets. Because VrfWidgetGroupId_ExtraWidgets is documented as the starting point for application-defined identifiers, its numeric value shifted by one. Any persisted or hard-coded numeric widget group identifier must be recomputed.

DtPerformanceMonitorGraph protected member removed

The protected member QFrame* mySeparatorLine was removed from the graph container class. Derived classes that referenced it must be updated; there is no replacement.

Renamed and Moved Headers

5.2 path 5.3 path
vrfGuiCommonQt/deleteCheckpointsDialog.h vrfGuiCommonQt/deleteScenariosDialog.h
vrfGuiCommonQt/deleteCheckpointsDialogInterface.h vrfGuiCommonQt/deleteScenariosDialogInterface.h
vrfGuiCommonQt/deleteCheckpointsDialogLogic.h vrfGuiCommonQt/deleteScenariosDialogLogic.h
vrfGuiCoreQt/tagSelectorWidget.h vrfGuiCommonQt/tagSelectorWidget.h
vrfGuiCommonQt/commonScenarioManager.h (for DtSessionStatusBox) vrfGuiCommonQt/sessionStatusBox.h

DtTagSelectorWidget, DtStickyButton, DtOutlineButton, and DtTagSelectorWidgetCreator moved from vrfGuiCoreQt to vrfGuiCommonQt. The class names and the declarations are otherwise unchanged, but the export macro changed from DT_DLL_VRFGUICOREQT to DT_DLL_VRFGUICOMMONQT. Update the include path, and make sure the project links vrfGuiCommonQt rather than relying on vrfGuiCoreQt to supply these symbols.

Additions

sessionStatusBox.h and DtSessionStatusBoxCreator

Besides relocating DtSessionStatusBox, the new header introduces a creator class so that applications can substitute their own status box:

class DtSessionStatusBoxCreator : public makVrv::DtVirtualBaseClass
{
public:
virtual DtSessionStatusBox* create(DtCommonScenarioManager*, QWidget* window = 0);
};

Register a subclass at startup to have VR-Forces construct a derived status box.

DtDeleteScenariosDialogCreator

deleteScenariosDialog.h adds a creator for the delete-scenarios dialog, replacing the protected DtVrfCheckpointManager::createDeleteCheckpointsDialog factory method:

class DtDeleteScenariosDialogCreator : public makVrv::DtVirtualBaseClass
{
public:
virtual DtDeleteScenariosDialog* create(QWidget* parent, const Qt::WindowFlags& flags = Qt::Tool);
};

Checkpoint saving and periodic settings on DtVrfCheckpointManager

A new overload saves a named scenario checkpoint and reports the file it produced:

virtual bool saveScenario(const DtString& scenarioName, const DtString& runId, double simTime,
DtFilename& scenarioFile);

Periodic snapshot and checkpoint settings received from the back-ends are now exposed directly:

virtual void slot_settingReceived(const std::string& setting, const DtVrfBackendState* state);
virtual void requestPeriodicCheckpointSettings();
virtual const DtPeriodicSnapshotSettings* currentSettings() const;
boost::signals2::signal<void (const DtPeriodicSnapshotSettings*)> signal_settingsReceived;
boost::signals2::signal<void (const DtFilename&)> signal_checkpointSaved;

signal_settingsReceived fires when a back-end reports its periodic snapshot configuration, and signal_checkpointSaved fires with the path of each checkpoint file written to disk. The protected virtual doPendingWaitWork was added so derived classes can participate in the wait for those files to appear.

Checkpoint loading on DtCommonScenarioManager

Loading a scenario checkpoint can now be posted as a Qt event, matching the existing pattern for posting a scenario load:

static const QEvent::Type LoadScenarioCheckpointEventType = (QEvent::Type)(QEvent::User + 304);
class LoadScenarioCheckpointEvent : public QEvent
{
public:
LoadScenarioCheckpointEvent(const DtString& s, const DtString& runId, double simTime);
LoadScenarioCheckpointEvent(const LoadScenarioCheckpointEvent&);
virtual ~LoadScenarioCheckpointEvent() override;
DtString myScenario;
DtString myRunId;
double mySimTime;
};
virtual void postLoadScenarioCheckpointEvent(const DtString& scenarioName, const DtString& runId,
double simTime);
virtual void loadScenarioCheckpoint(const DtString& scenarioName, const DtString& runId,
double simTime);

Use postLoadScenarioCheckpointEvent from a context where the load cannot be performed immediately; loadScenarioCheckpoint performs the load directly.

Deferred scenario loads waiting on simulation engine plug-ins

DtCommonScenarioManager can now defer a scenario load until every discovered simulation engine has reported its plug-in set, which prevents a load from failing because a required back-end plug-in has not been announced yet:

virtual bool allSimEnginesHaveReportedPlugins() const;
virtual void slot_pluginsAdded();
virtual void clearPendingPluginsLoadInformation();

slot_pluginsAdded retries a deferred load when new plug-in data arrives, and clearPendingPluginsLoadInformation abandons the deferred load. The LoadingPlugins status value described above is displayed while the manager is waiting.

DtEmptyTextLineEdit

searchWidget.h adds a line edit that paints placeholder text when it is empty:

class DtEmptyTextLineEdit : public DtLineEdit
{
public:
DtEmptyTextLineEdit(makVrv::DtDe&, QWidget* parent = nullptr);
void setEmptyText(const QString& s);
const QString& emptyText() const;
virtual void paintEvent(QPaintEvent*) override;
};

The header now includes vrfGuiCommonQt/qtLineEdit.h instead of forward declaring QLineEdit. DtSearchWidget itself is unchanged.

DtTreeWidget header context menu

DtTreeWidget can now report right clicks on its header view:

virtual void setSignalContextMenuRequestedForHeader(bool);
signals:
void headerContextMenu(const QPoint& pos, int col);

col is the logical column index under the cursor. The default is off, so existing behavior is preserved.

DtBackEndSelectionCombo additions

The back-end combo gained several methods that the reworked remapping dialog relies on, and that are useful when embedding the combo in a custom dialog:

virtual void setAsComboOnly(bool);
virtual void addBackend(const std::string& backend, const DtSimulationAddress&);
virtual void selectBackend(const std::string&);
QComboBox* backends() const;

setAsComboOnly turns off the automatic back-end tracking logic so that the widget behaves as a plain, ordered list of back-end names.

DtObjectListViewItem item spacing and view-specific size hints

virtual void setItemSpacing(int);
int itemSpacing() const;
virtual void clearHiddenFilters();

setItemSpacing controls the vertical padding applied to the item, and clearHiddenFilters clears every ShowHideFlags bit at once instead of calling setHidden(false, ...) per flag.

DtObjectListViewItemDelegate gained two size hint methods that return a hint appropriate for the view rather than for a menu or tooltip:

virtual QVariant iconSizeHintForView(const DtObjectListViewItem*) const;
virtual QVariant iconAndGumballSizeHintForView(const DtObjectListViewItem*) const;

SIDC rendering in DtVrfGuiSymbolMapper

The symbol mapper can now render a symbol directly from a symbol identification code, selecting between the MIL-STD-2525D and APP-6D symbol sets:

virtual QPixmap getSidcIcon(const DtEntityMapperKey& key, bool destroyed = false, int pointSize = 48,
const std::string& sidc = "",
const QColor& milStdOutlineColor = QColor(), const QColor& fillColor = QColor());
virtual QPixmap getSidcIcon(const std::string& sidc, bool destroyed = false, int pointSize = 48,
const QColor& milStdOutlineColor = QColor(), const QColor& fillColor = QColor());

If sidc is empty, the code is taken from the current model set entry for the key. If symbolSet is Undefined, the system default is used. The existing getIcon methods dispatch to this path automatically when the user has selected a SIDC-based symbology, so most code does not need to call getSidcIcon directly.

Related additions notify the mapper of symbology changes and let clients react to cache invalidation:

virtual void clear();
virtual void clearCache();
virtual void notifyStandardChanged(makVrv::DtSymbologyStandard standard);
virtual void notifyColorByForceChanged(bool b);
boost::signals2::signal<void ()> signal_cleared;

clear now delegates to the new clearCache and then emits signal_cleared. Connect to signal_cleared to repaint any widget holding pixmaps obtained from the mapper.

Weather condition update blocking

DtVrfEnvironmentConditionsWeatherLogic can suppress weather condition updates while the user is editing a preset:

virtual bool setBlockWeatherConditionUpdates(bool);
bool blockWeatherConditionUpdates() const;

setBlockWeatherConditionUpdates returns the previous value, so it can be saved and restored around a block of edits.

DtVrfEnvironmentConditionsWeatherWidget gained a setter so the widget can reach its logic object:

virtual void setLogic(DtVrfEnvironmentConditionsWeatherLogic* l);

Date and time display refresh

virtual void updateTimeDisplay();

DtVrfEnvironmentConditionsDateAndTimeWidget::updateTimeDisplay forces the displayed time to be recomputed from the current UTC time and format settings.

DtSessionStartupDialog terrain selection

The session startup dialog gained a browse button for the terrain, mirroring the existing simulation model set browse button:

virtual void onSelectTerrain();
QToolButton* mySelectTerrain;

DtPerformanceMonitorWidget refresh control

protected slots:
virtual void refresh();

The widget now has a toolbar button that re-pings the back-ends on demand. The protected members myButtonBarLayout and myRefreshButton were added to support it.

DtTagSelectorWidget additions

In addition to moving into this library, the tag selector gained the following public API:

virtual QSize approximateSize() const;
virtual int supportedCategoryCount(CategoryLevel) const;
virtual void setShowIndividualCategories(bool b);
bool showIndividualCategories() const;
virtual void setAlwaysShowTagsAtLevel(CategoryLevel, bool);
virtual bool alwaysShowTagsAtLevel(CategoryLevel) const;
virtual void setTopLevelCategoryVisible(int level, bool);

setAlwaysShowTagsAtLevel makes the widget display every tag at a category level, disabling those that are not present in the current tag set instead of hiding them. approximateSize is useful when sizing a container around the widget before it is populated.

Summary of Header Changes

Header Breaking Additions
backEndSelectionList.h addBackend and removeBackend moved to public on DtBackEndSelectionList and DtBackEndSelectionCombo setAsComboOnly; addBackend taking DtSimulationAddress; selectBackend; backends()
commonScenarioManager.h DtSessionStatusBox moved out; closeScenario and postSaveClose signature changes; requestSpotReports removed; StatusDialogs gained LoadingPlugins LoadScenarioCheckpointEvent and checkpoint load methods; plug-in wait methods
deleteCheckpointsDialog*.h Removed; renamed to deleteScenarios* —
deleteScenariosDialog*.h — Renamed dialog, interface, and logic classes; DtDeleteScenariosDialogCreator; signal_scenariosDeleted
objectListViewItem.h isTDLItem removed; myIsDestroyed removed; ShowHideFlags gained values setItemSpacing; itemSpacing; clearHiddenFilters; ...SizeHintForView delegate methods
performanceMonitorGraph.h mySeparatorLine removed —
performanceMonitorWidget.h None refresh slot
remappingDialog*.h addMapTo signature and return type changed; readdMapTo removed; mapAllTo added as pure virtual; dialog members and MapToEntry changed; myMapTo type changed —
scenarioSnapshotsWidget*.h setSavedCheckpoint renamed; signals and slots renamed —
searchWidget.h None DtEmptyTextLineEdit
sessionStartupDialog.h None onSelectTerrain; mySelectTerrain
sessionStatusBox.h New location for DtSessionStatusBox; myOperation replaced by myOperationsList; showEvent override DtSessionStatusBoxCreator; LoadingPlugins status
tagSelectorWidget.h Moved from vrfGuiCoreQt; export macro changed approximateSize; supportedCategoryCount; setShowIndividualCategories; setAlwaysShowTagsAtLevel; setTopLevelCategoryVisible
treeWidget.h Base class changed to makVrv::DtStyledQTreeWidget; eventFilter override added setSignalContextMenuRequestedForHeader; headerContextMenu signal
vrfCheckpointManager.h Save methods and signals renamed; schedulePeriodicSnapshoting signature changed; four protected virtuals and myPeriodicCheckpointFrequency removed saveScenario with run identifier; periodic settings accessors and signals
vrfEnvironmentConditionsDateAndTimeLogic.h onUpdateTimeRequested override removed —
vrfEnvironmentConditionsDateAndTimeWidget.h setDateAndTimeOfDay signature changed; slot_utcDateTimeChanged moved to public; mySetTimeBasedOnCreation renamed updateTimeDisplay
vrfEnvironmentConditionsWeatherLogic.h onAddElevationalWind and onRemoveElevationalWind renamed to ...ElevationalConfiguration and made overrides setBlockWeatherConditionUpdates; blockWeatherConditionUpdates
vrfEnvironmentConditionsWeatherWidget.h New overrides of base virtuals; VrfWidgetGroupId_ExtraWidgets value shifted setLogic; global weather widgets and slots
vrfEnvironmentalDateTimeEntryWidget.h updateForLocalTime removed setEnabled override
vrfGuiSymbolMapper.h getIcon and milStdRender outline color default changed to an invalid QColor getSidcIcon overloads; clearCache; notifyStandardChanged; notifyColorByForceChanged; signal_cleared

Return to VR-Forces 5.3 API Migration Guide.

[Home]


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)