VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions | Protected Attributes
DtSimulationObjectEditorSystemCreateHandler Class Reference
Inheritance diagram for DtSimulationObjectEditorSystemCreateHandler:
Inheritance graph
[legend]

Public Member Functions

 DtSimulationObjectEditorSystemCreateHandler (makVrv::DtDe &)
 
virtual ~DtSimulationObjectEditorSystemCreateHandler () override
 
virtual void createFromExisting (const DtComponentSystemDefinition *base)
 
virtual void createFromTemplate ()
 
virtual void addSupportedCategory (const DtString &, const QString &)
 
virtual void clearSupportedCategories ()
 
virtual const std::map
< DtString, QString > & 
supportedCategories () const
 
virtual bool hasSupportedCategory (const DtString &) const
 
virtual QString categoryTitle (const DtString &) const
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static
DtSimulationObjectEditorSystemCreateHandler & 
instance (makVrv::DtDe &)
 
static void registerInstance (makVrv::DtDe &, DtSimulationObjectEditorSystemCreateHandler *)
 

Public Attributes

QVBoxLayout * myDialogLayout
 
QGridLayout * myGridLayout
 
QLabel * mySystemFilenameLabel
 
QLineEdit * mySystemFilename
 
QLabel * mySystemNameLabel
 
QLineEdit * mySystemName
 
QPushButton * myOKButton
 
QPushButton * myCancelButton
 
QToolButton * mySelectSystemFilename
 
QHBoxLayout * myButtonLayout
 
QLabel * mySystemTypeLabel
 
QComboBox * mySystemType
 
QLabel * mySystemTemplateLabel
 
QComboBox * mySystemTemplate
 
QLabel * mySystemTemplateDescription
 
QLabel * myUsesThisTemplateLabel
 
QListWidget * myUsesThisTemplate
 
QLabel * mySupportsEntityKindsLabel
 
QListWidget * mySupportsEntityKinds
 

Protected Slots

virtual void selectSystemFilename ()
 
virtual void systemNameChanged ()
 
virtual void systemFilenameChanged ()
 
virtual void selectSystemTemplateType ()
 
virtual void selectSystemTemplate ()
 

Protected Member Functions

virtual QDialog * createNewSystemDialog (int row=0)
 
virtual void createFromTemplate (const DtString &systemName, const DtFilename &systemFilename, const DtComponentSystemDefinition *systemTemplate)
 
virtual bool canAddSystem () const
 
virtual void setSystemFilenameFromName (QString name)
 
virtual QString uniqueSystemName (const QString &name) const
 
virtual DtFilename uniqueSystemFilename (const DtFilename &base) const
 

Protected Attributes

makVrv::DtDe & myDe
 
std::map< DtString, QString > mySupportedCategories
 
std::map< DtString,
std::vector
< DtComponentSystemDefinition * > > 
mySystemsByCategory
 

Constructor & Destructor Documentation

DtSimulationObjectEditorSystemCreateHandler::DtSimulationObjectEditorSystemCreateHandler ( makVrv::DtDe &  )

Default Constructor.

virtual DtSimulationObjectEditorSystemCreateHandler::~DtSimulationObjectEditorSystemCreateHandler ( )
overridevirtual

Destructor.

Member Function Documentation

static DtSimulationObjectEditorSystemCreateHandler& DtSimulationObjectEditorSystemCreateHandler::instance ( makVrv::DtDe &  )
static

Static creator.

static void DtSimulationObjectEditorSystemCreateHandler::registerInstance ( makVrv::DtDe &  ,
DtSimulationObjectEditorSystemCreateHandler *   
)
static
virtual void DtSimulationObjectEditorSystemCreateHandler::createFromExisting ( const DtComponentSystemDefinition *  base)
virtual
virtual void DtSimulationObjectEditorSystemCreateHandler::createFromTemplate ( )
virtual
virtual void DtSimulationObjectEditorSystemCreateHandler::addSupportedCategory ( const DtString &  ,
const QString &   
)
virtual
virtual void DtSimulationObjectEditorSystemCreateHandler::clearSupportedCategories ( )
virtual
virtual const std::map<DtString, QString>& DtSimulationObjectEditorSystemCreateHandler::supportedCategories ( ) const
virtual
virtual bool DtSimulationObjectEditorSystemCreateHandler::hasSupportedCategory ( const DtString &  ) const
virtual
virtual QString DtSimulationObjectEditorSystemCreateHandler::categoryTitle ( const DtString &  ) const
virtual
virtual void DtSimulationObjectEditorSystemCreateHandler::selectSystemFilename ( )
protectedvirtualslot
virtual void DtSimulationObjectEditorSystemCreateHandler::systemNameChanged ( )
protectedvirtualslot
virtual void DtSimulationObjectEditorSystemCreateHandler::systemFilenameChanged ( )
protectedvirtualslot
virtual void DtSimulationObjectEditorSystemCreateHandler::selectSystemTemplateType ( )
protectedvirtualslot
virtual void DtSimulationObjectEditorSystemCreateHandler::selectSystemTemplate ( )
protectedvirtualslot
virtual QDialog* DtSimulationObjectEditorSystemCreateHandler::createNewSystemDialog ( int  row = 0)
protectedvirtual
virtual void DtSimulationObjectEditorSystemCreateHandler::createFromTemplate ( const DtString &  systemName,
const DtFilename &  systemFilename,
const DtComponentSystemDefinition *  systemTemplate 
)
protectedvirtual
virtual bool DtSimulationObjectEditorSystemCreateHandler::canAddSystem ( ) const
protectedvirtual
virtual void DtSimulationObjectEditorSystemCreateHandler::setSystemFilenameFromName ( QString  name)
protectedvirtual
virtual QString DtSimulationObjectEditorSystemCreateHandler::uniqueSystemName ( const QString &  name) const
protectedvirtual
virtual DtFilename DtSimulationObjectEditorSystemCreateHandler::uniqueSystemFilename ( const DtFilename &  base) const
protectedvirtual

Returns a .sysdef filename based on 'base' that is not already in the modified system database and does not already exist on disk. Appends "-N" to the base name as needed.

Member Data Documentation

QVBoxLayout* DtSimulationObjectEditorSystemCreateHandler::myDialogLayout
QGridLayout* DtSimulationObjectEditorSystemCreateHandler::myGridLayout
QLabel* DtSimulationObjectEditorSystemCreateHandler::mySystemFilenameLabel
QLineEdit* DtSimulationObjectEditorSystemCreateHandler::mySystemFilename
QLabel* DtSimulationObjectEditorSystemCreateHandler::mySystemNameLabel
QLineEdit* DtSimulationObjectEditorSystemCreateHandler::mySystemName
QPushButton* DtSimulationObjectEditorSystemCreateHandler::myOKButton
QPushButton* DtSimulationObjectEditorSystemCreateHandler::myCancelButton
QToolButton* DtSimulationObjectEditorSystemCreateHandler::mySelectSystemFilename
QHBoxLayout* DtSimulationObjectEditorSystemCreateHandler::myButtonLayout
QLabel* DtSimulationObjectEditorSystemCreateHandler::mySystemTypeLabel
QComboBox* DtSimulationObjectEditorSystemCreateHandler::mySystemType
QLabel* DtSimulationObjectEditorSystemCreateHandler::mySystemTemplateLabel
QComboBox* DtSimulationObjectEditorSystemCreateHandler::mySystemTemplate
QLabel* DtSimulationObjectEditorSystemCreateHandler::mySystemTemplateDescription
QLabel* DtSimulationObjectEditorSystemCreateHandler::myUsesThisTemplateLabel
QListWidget* DtSimulationObjectEditorSystemCreateHandler::myUsesThisTemplate
QLabel* DtSimulationObjectEditorSystemCreateHandler::mySupportsEntityKindsLabel
QListWidget* DtSimulationObjectEditorSystemCreateHandler::mySupportsEntityKinds
makVrv::DtDe& DtSimulationObjectEditorSystemCreateHandler::myDe
protected
std::map<DtString, QString> DtSimulationObjectEditorSystemCreateHandler::mySupportedCategories
protected
std::map<DtString, std::vector<DtComponentSystemDefinition*> > DtSimulationObjectEditorSystemCreateHandler::mySystemsByCategory
protected

The documentation for this class was generated from the following file:

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)