VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiRangeRingNameSelector.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2022 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
13 
14 class QComboBox;
15 class QToolButton;
16 
19 {
20  Q_OBJECT
21 public:
22 
25 
27  virtual ~DtUiRangeRingNameSelector() override;
28 
30 
31  virtual void setEnabled(bool b) override;
32 
33 protected:
34  virtual void createControls(QWidget*) override;
35  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw) override;
36  virtual void initializeRangeRings();
37 
38 protected slots:
39  virtual void rangeRingSelected();
40  virtual void revertButtonClicked();
41  virtual void addRangeRing();
42  virtual void editRangeRing();
43 
44 public:
45  QComboBox* myComboBox = nullptr;
46  QToolButton* myAddButton = nullptr;
47  QToolButton* myEditButton = nullptr;
48  QToolButton* myRevertToParentButton = nullptr;
49 };
virtual void createControls(QWidget *parent)
If additional widgets or connections need to be made do it here. The parent is the myWidget member...
virtual void setFromParameters(DtReaderWriter *parentRw)
Calls setFromParameters with std::vector of parameter.
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:190
Allows the selection of a range ring element, adding a new one or editing and existing.
Definition: uiRangeRingNameSelector.h:18
virtual void setEnabled(bool)
If this item is not enabled it cannot be modified.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:33
Base class of the ui element class chain. Properties available through designer for all ui elements a...
Definition: uiElement.h:185

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)