VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
uiUniqueNameElement.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2020 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
14 
16 
21 {
22  Q_OBJECT
23 
24 public:
25 
28 
30  virtual ~DtUiUniqueNameElement();
31 
32  virtual DtString uniqueNameCategory() const;
33  virtual void setUniqueNameCategory(const DtString& cat);
34 
35  virtual DtString uniqueIdentifyingName() const;
36  virtual void setUniqueIdentifyingName(const DtString& num);
37 
38  virtual bool uniqueNameConflicted() const;
39  virtual void setUniqueNameConflicted(bool confl);
40 
42 
44  virtual void aboutToShow();
45 
47 
48  static DtUniqueNameManager* uniqueNameManager();
49 
50 protected:
51  virtual void createControls(QWidget*);
52 
53  virtual void setWidgetValue(const QString& val);
54 
55  virtual void setWidgetConflicted(bool conflicted);
56 
57 protected slots:
58 
59  virtual void elementChanged();
60  virtual void processEditFinished();
61 
62 protected:
63  virtual void setFromParameters(const std::vector<DtReaderWriter*>& parentRw);
64 
65 protected:
69  std::vector<DtString> myOrigUniqueNames;
70 
73 
75 
77 
78  static const int theMixedVal;
79 };
bool myAddedToManager
Definition: uiUniqueNameElement.h:74
DtString myUniqueNameCategory
Definition: uiUniqueNameElement.h:66
Element for managing a Unique Name variable.
Definition: uiUniqueNameElement.h:20
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.
bool myUniqueNameNumConflicted
Definition: uiUniqueNameElement.h:67
boost::function< DtUiElement *(makVrv::DtDe &)> CreatorFunction
Definition: uiElement.h:177
Definition: uniqueNameManager.h:23
virtual void elementChanged()
const DtSystemParameterData * myLastParamData
Definition: uiUniqueNameElement.h:71
DtComponentSystemDefinition.
Definition: componentSystemDefinition.h:25
virtual void aboutToShow()
Called when about to show as part of a properties dialog. Default is no-op.
DtString mySystemName
Definition: uiUniqueNameElement.h:68
static DtUniqueNameManager * theUniqueNameManager
Definition: uiUniqueNameElement.h:76
Base class for RW objects that describe a system parameter.
Definition: systemParameterData.h:30
const DtComponentSystemDefinition * myLastDef
Definition: uiUniqueNameElement.h:72
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
static const int theMixedVal
Definition: uiUniqueNameElement.h:78
#define DT_DLL_simulationObjectEditorimpl
This file is used to determine how to build.
Definition: simulationObjectEditorImplDefines.h:32
std::vector< DtString > myOrigUniqueNames
Definition: uiUniqueNameElement.h:69
Base class of the ui element class chain.
Definition: uiElement.h:172
virtual void setFromSystemParameterData(const DtSystemParameterData *data, const DtComponentSystemDefinition *)
Sets data of this UiElement from the specified system parameter data.

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)