VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | Properties
makVrv::DtElementEditorWidget Class Reference

The main widget for editing element definitions.

Inheritance diagram for makVrv::DtElementEditorWidget:
Inheritance graph
[legend]

Public Slots

void slot_currentElementItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous)
 
void slot_currentVisualizerDefItemChanged (QTreeWidgetItem *current, QTreeWidgetItem *previous)
 
void slot_addElementDefinition ()
 
void slot_removeElementDefinition ()
 
void slot_renameElementDefinition ()
 
void slot_addVisualizerDef ()
 
void slot_removeVisualizerDef ()
 
void slot_changeFileName ()
 
void slot_addAttribute ()
 
void slot_removeAttribute ()
 
void slot_removeOverrideAttribute ()
 
void slot_changeFileFilter ()
 
void slot_copyVisualizerDefinition ()
 
void slot_pasteAndReplaceVisualizerDefinition ()
 
void slot_pasteAndAddVisualizerDefinition ()
 
void slot_clearVisualizerDefinitions ()
 
void slot_modelSetChanged (int index)
 
void slot_fileSaveToChanged (int index)
 
void destroyEditors ()
 
void slot_displayContextMenu (const QPoint &point)
 
void slot_jumpToModelDefinition ()
 

Public Member Functions

 DtElementEditorWidget (DtElementDefinitionTypeManager::ElementDefinitionType type, DtStateVisualizer::Type visType, DtDe &de, QWidget *parent, DtPersistenceControlsInterface *persistenceToolbar)
 
virtual ~DtElementEditorWidget ()
 
virtual void activate ()
 
virtual void deactivate ()
 
virtual void checkIfModified ()
 
virtual void changeElementsStart ()
 
virtual void setDuplicate (const DtUnicode &name, bool isDuplicate)
 
virtual void addElement (const DtUnicode &name, bool valid, bool bold=false)
 
virtual void addElement (const DtUnicode &name, const DtUnicode &parentName, bool valid, bool bold=false)
 
virtual void setBold (const DtUnicode &name, bool bold)
 
virtual void removeElement (const DtUnicode &name)
 
virtual void changeElementsStop ()
 
virtual void clearElements ()
 
virtual void modifiedList (std::string &list)
 
virtual void selectElement (const DtUnicode &name)
 
virtual void setModelSets (const std::vector< DtUnicode > &modelSets)
 
virtual void setFileSaveTo (const std::vector< std::string > &FileSaveTo)
 
virtual void setCurrentModelSet (int index)
 
virtual void setCurrentFileSaveTo (int index)
 
virtual std::string getCurrentFileSaveTo ()
 
virtual void setVisDefList (std::vector< std::string > &visDefList)
 
virtual void changeDefinitionStart ()
 
virtual void clearDefinitions ()
 
virtual void addDefinition (int index, const std::string &uuidString, const DtUnicode &schemaName, const DtUnicode &visualName, bool inherited)
 
virtual void updateDefinition (int index, const DtUnicode &schemaName, const DtUnicode &visualName, bool inherited)
 
virtual void removeDefinition (int index)
 
virtual void changeDefinitionStop ()
 
virtual void changeAttributeStart ()
 
virtual void addAttribute (int defIndex, const std::string &name, const DtUnicode &value, bool inherited, bool valid=true)
 
virtual void removeAttribute (int defIndex, const std::string &name)
 
virtual void changeAttributeStop ()
 
virtual void selectAttribute (int defIndex, const std::string &name)
 
virtual void updateAttribute (int defIndex, const std::string &name, const DtUnicode &value)
 
QTreeWidgetItemfindAttributeItem (int defIndex, const std::string &name)
 
virtual void setAttributeDescription (const DtUnicode &desc)
 
virtual void createAttributeEditor (int defIndex, const std::string &name, const std::string &attrClass)
 
virtual void destroyAttributeEditor (int defIndex, const std::string &name)
 
bool wasAttributeEditorValueModified (int defIndex, const std::string &name)
 
virtual void setDefinitionErrorHint (const DtUnicode &hints)
 
virtual std::string chooseNewVisualizerDefinitionType ()
 
virtual std::string chooseNewAttributeName (const DtVisualizerSchema::SchemaParameters &unusedSchemaParameters)
 
virtual void setRemoveElementEnabled (bool b)
 
virtual void setRemoveElementToolTip (const std::string &s)
 
virtual void setAddVisualDefEnabled (bool b)
 
virtual void setRemoveVisualDefEnabled (bool b)
 
virtual void setChangeFileNameEnabled (bool b)
 
virtual void setAddAttributeEnabled (bool b)
 
virtual void setRemoveAttributeEnabled (bool b)
 
virtual void showAddedElements (std::vector< DtUnicode > &addedNames, std::vector< DtUnicode > &skippedNames)
 
virtual const std::string & selectedInstanceName ()
 
virtual const DtUnicode getElementNameAbove (const DtUnicode &name)
 
virtual const DtUnicode getElementNameBelow (const DtUnicode &name)
 
virtual bool isLastElementUnder (const DtUnicode &name, const DtUnicode &parentName)
 
virtual bool isFirstElementUnder (const DtUnicode &name, const DtUnicode &parentName)
 
virtual void expandItem (const DtUnicode &name)
 
virtual void invalidateColorQtProperties ()
 
virtual void queryLeafFilePath (DtDe &de, const std::string &importType, const std::string &path, const std::string &fileFilter)
 
- Public Member Functions inherited from makVrv::DtElementEditorInterface
 DtElementEditorInterface ()
 
virtual ~DtElementEditorInterface ()
 

Protected Member Functions

void setupGui ()
 
QString nameOfSelectedElement () const
 
int indexOfSelectedVisualizer ()
 
std::string uuidStringOfSelectedVisualizer ()
 
QString nameOfSelectedAttribute () const
 
virtual bool isEmpty ()
 
virtual void slot_jumpToDefinition (const DtUnicode &element)
 
virtual void slot_jumpToDefByModelDef (const DtUnicode &modelDef)
 
virtual std::string uuidStringFromVisDefTreeItem (QTreeWidgetItem *item)
 

Protected Attributes

DtDemyDe
 
DtElementDefinitionTypeManager::ElementDefinitionType myType
 
DtStateVisualizer::Type myVisType
 
DtElementEditorLogicmyLogic
 
QMap< QString, QTreeWidgetItem * > myCacheMap
 
bool myShowDeleteDialog
 
std::vector< std::string > myCopiedVisDefs
 
QString mySelectedItemNameBackup
 
QList< QTreeWidgetItem * > myTopItemCache
 
QList< QTreeWidgetItem * > myDeleteCache
 
QList< QTreeWidgetItem * > myVisualizerDefinitionTreeItemDeleteWidgetCache
 
QVBoxLayout * myMainLayout
 
QSplitter * mySplitter
 
QWidget * myLeftWidgetPane
 
QVBoxLayout * myLeftWidgetLayout
 
QWidget * myRightWidgetPane
 
QVBoxLayout * myRightWidgetLayout
 
QLabelmyElementDefinitionLabel
 
QTreeWidgetmyTreeWidget
 
QHBoxLayout * myElementButtonLayout
 
QPushButtonmyAddElementButton
 
QPushButtonmyRemoveElementButton
 
QPushButtonmyRenameElementButton
 
QHBoxLayout * myVisualizerDefinitionButtonLayout
 
QPushButtonmyAddVisualizerDefButton
 
QPushButtonmyRemoveVisualizerDefButton
 
QPushButtonmyChangeFilePathButton
 
QPushButtonmyAddVisualizerAttributeButton
 
QPushButtonmyRemoveVisualizerAttributeButton
 
QPushButtonmyRemoveLocalOverrideVisualizerButton
 
QPushButtonmyChangeFileFilterButton
 
QPushButtonmyCopyVisualizerDefinitionButton
 
QPushButtonmyPasteAndReplaceVisualizerDefinitionButton
 
QPushButtonmyPasteAndAddVisualizerDefinitionButton
 
QPushButtonmyClearVisualizerDefinitionsButton
 
QLabelmyVisualDefinitionLabel
 
QHBoxLayout * myModelSetLayout
 
QHBoxLayout * myFileSaveToLayout
 
QHBoxLayout * myCopiedVisDefListLayout
 
QLabelmyModelSetLabel
 
QLabelmyFileSaveToLabel
 
QLabelmyCopiedVisDefListLabel
 
QColor myNormalDefinitionColor
 
QColor myInheritedDefinitionColor
 
QColor myDuplicateDefinitionColor
 
QColor myInvalidDefinitionColor
 
QComboBoxmyModelSetComboBox
 
QComboBoxmyFileSaveToComboBox
 
QComboBoxmyCopiedVisDefComboBox
 
QTreeWidgetmyVisualizerDefinitionTreeWidget
 
QTextEdit * myDescriptionText
 
std::string mySelectedInstanceName
 
DtPersistenceControlsInterfacemyPersistenceToolbar
 
DtSignalConnectionManager myConnectionManager
 

Properties

QColor NormalDefinitionColor
 
QColor InheritedDefinitionColor
 
QColor DuplicateDefinitionColor
 
QColor InvalidDefinitionColor
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtElementEditorInterface
boost::signalslib::signal
< void(const DtUnicode &)> 
signal_addElement
 
boost::signalslib::signal< void()> signal_removeElement
 
boost::signalslib::signal
< void(const DtUnicode
&, const DtUnicode &)> 
signal_renameElement
 
boost::signalslib::signal
< void(const DtUnicode &, bool
valid)> 
signal_elementSelected
 
boost::signalslib::signal
< void(const DtUnicode &)> 
signal_elementDeselected
 
boost::signalslib::signal< void()> signal_noElementSelected
 
boost::signalslib::signal
< void(int index)> 
signal_modelSetChanged
 
boost::signalslib::signal
< void(int index)> 
signal_fileSaveToChanged
 
boost::signalslib::signal
< void(const std::string
&uuidString)> 
signal_visualizerDefSelected
 
boost::signalslib::signal< void()> signal_visualizerDefDeselected
 
boost::signalslib::signal
< void(int index, const
std::string &uuidString, const
std::string &attrName)> 
signal_attributeSelected
 
boost::signalslib::signal
< void(int index, const
std::string &attrName)> 
signal_attributeDeselected
 
boost::signalslib::signal< void()> signal_noVisualizerOrAttributeSelected
 
boost::signalslib::signal< void()> signal_addVisualizer
 
boost::signalslib::signal
< void(const std::string
&uuidString)> 
signal_removeVisualizer
 
boost::signalslib::signal< void()> signal_changeFileName
 
boost::signalslib::signal< void()> signal_changeFileFilter
 
boost::signalslib::signal< void()> signal_copyVisualizerDefinition
 
boost::signalslib::signal< void()> signal_pasteAndReplaceVisualizerDefinition
 
boost::signalslib::signal< void()> signal_pasteAndAddVisualizerDefinition
 
boost::signalslib::signal< void()> signal_clearVisualizerDefinitions
 
boost::signalslib::signal
< void(int index, const
std::string &uuidString)> 
signal_addAttribute
 
boost::signalslib::signal
< void(const std::string
&uuidString, const std::string
&attrName)> 
signal_removeAttribute
 
boost::signalslib::signal
< void(const std::string
&uuidString, const std::string
&attrName)> 
signal_removeLocalAttribute
 
boost::signalslib::signal
< void(int index, const
std::string &uuidString, const
std::string
&, DtVisualizerAttributeEditorInterface
*iface)> 
signal_attributeEditorCreated
 
boost::signalslib::signal
< void(const std::string
&leafFilePath)> 
signal_leafFilenameChosen
 

Constructor & Destructor Documentation

makVrv::DtElementEditorWidget::DtElementEditorWidget ( DtElementDefinitionTypeManager::ElementDefinitionType  type,
DtStateVisualizer::Type  visType,
DtDe de,
QWidget *  parent,
DtPersistenceControlsInterface persistenceToolbar 
)

CTOR.

virtual makVrv::DtElementEditorWidget::~DtElementEditorWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtElementEditorWidget::activate ( )
virtual

Activates the widget.

virtual void makVrv::DtElementEditorWidget::deactivate ( )
virtual

Deactivates the widget.

virtual void makVrv::DtElementEditorWidget::changeElementsStart ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setDuplicate ( const DtUnicode name,
bool  isDuplicate 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::addElement ( const DtUnicode name,
bool  valid,
bool  bold = false 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::addElement ( const DtUnicode name,
const DtUnicode parentName,
bool  valid,
bool  bold = false 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setBold ( const DtUnicode name,
bool  bold 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::removeElement ( const DtUnicode name)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::changeElementsStop ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::clearElements ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::modifiedList ( std::string &  list)
virtual

Open window before export that displays a list of all entities that have been modified as well as their file locations.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::selectElement ( const DtUnicode name)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setModelSets ( const std::vector< DtUnicode > &  modelSets)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setFileSaveTo ( const std::vector< std::string > &  FileSaveTo)
virtual

Fill the file location dropdown bar with all file name in directory.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setCurrentModelSet ( int  index)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setCurrentFileSaveTo ( int  index)
virtual

Refresh file location dropdown bar to display the location of the currently selected definition.

Implements makVrv::DtElementEditorInterface.

virtual std::string makVrv::DtElementEditorWidget::getCurrentFileSaveTo ( )
virtual

returns the file location currently displayed in the file location dropdown box

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setVisDefList ( std::vector< std::string > &  visDefList)
virtual

Updates list of currently copied Visual Definitions for the widget.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::changeDefinitionStart ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::clearDefinitions ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::addDefinition ( int  index,
const std::string &  uuidString,
const DtUnicode schemaName,
const DtUnicode visualName,
bool  inherited 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::updateDefinition ( int  index,
const DtUnicode schemaName,
const DtUnicode visualName,
bool  inherited 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::removeDefinition ( int  index)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::changeDefinitionStop ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::changeAttributeStart ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::addAttribute ( int  defIndex,
const std::string &  name,
const DtUnicode value,
bool  inherited,
bool  valid = true 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::removeAttribute ( int  defIndex,
const std::string &  name 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::changeAttributeStop ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::selectAttribute ( int  defIndex,
const std::string &  name 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::updateAttribute ( int  defIndex,
const std::string &  name,
const DtUnicode value 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

QTreeWidgetItem* makVrv::DtElementEditorWidget::findAttributeItem ( int  defIndex,
const std::string &  name 
)

Sets passed in text as either bold or not bold.

virtual void makVrv::DtElementEditorWidget::setAttributeDescription ( const DtUnicode desc)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::createAttributeEditor ( int  defIndex,
const std::string &  name,
const std::string &  attrClass 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

Reimplemented in makVrf::DtSpotReportElementEditorWidget.

virtual void makVrv::DtElementEditorWidget::destroyAttributeEditor ( int  defIndex,
const std::string &  name 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

bool makVrv::DtElementEditorWidget::wasAttributeEditorValueModified ( int  defIndex,
const std::string &  name 
)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setDefinitionErrorHint ( const DtUnicode hints)
virtual

Sets the hints to describe why the definition is not valid.

Parameters
hintsThe hints indicate errors.

Implements makVrv::DtElementEditorInterface.

virtual std::string makVrv::DtElementEditorWidget::chooseNewVisualizerDefinitionType ( )
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

Reimplemented in makVrf::DtSpotReportElementEditorWidget.

virtual std::string makVrv::DtElementEditorWidget::chooseNewAttributeName ( const DtVisualizerSchema::SchemaParameters unusedSchemaParameters)
virtual

Sets passed in text as either bold or not bold.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setRemoveElementEnabled ( bool  b)
virtual

Enable/Disable the remove element button.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setRemoveElementToolTip ( const std::string &  s)
virtual

Set the tool tip string for the remove element button This is used to indicate why an entity element definition can't be removed (in use by entity type map for example)

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setAddVisualDefEnabled ( bool  b)
virtual

Enable/Disable the add visual definition button.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setRemoveVisualDefEnabled ( bool  b)
virtual

Enable/Disable the remove visual definition button.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setChangeFileNameEnabled ( bool  b)
virtual

Enable/Disable the file name change button.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setAddAttributeEnabled ( bool  b)
virtual

Enable/Disable the add attribute button.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::setRemoveAttributeEnabled ( bool  b)
virtual

Enable/Disable the remove attribute button.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::showAddedElements ( std::vector< DtUnicode > &  addedNames,
std::vector< DtUnicode > &  skippedNames 
)
virtual

Display a list of added element names.

Implements makVrv::DtElementEditorInterface.

virtual const std::string& makVrv::DtElementEditorWidget::selectedInstanceName ( )
virtual

get the current selected instances names; returns "" if none selected

Implements makVrv::DtElementEditorInterface.

virtual const DtUnicode makVrv::DtElementEditorWidget::getElementNameAbove ( const DtUnicode name)
virtual

get the name of the element above the selected element in the UI tree list

Implements makVrv::DtElementEditorInterface.

virtual const DtUnicode makVrv::DtElementEditorWidget::getElementNameBelow ( const DtUnicode name)
virtual

get the name of the element above the selected element in the UI tree list

Implements makVrv::DtElementEditorInterface.

virtual bool makVrv::DtElementEditorWidget::isLastElementUnder ( const DtUnicode name,
const DtUnicode parentName 
)
virtual

is this element the last element under a parent item

Implements makVrv::DtElementEditorInterface.

virtual bool makVrv::DtElementEditorWidget::isFirstElementUnder ( const DtUnicode name,
const DtUnicode parentName 
)
virtual

is this element the last element under a parent item

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::expandItem ( const DtUnicode name)
virtual

expand this item and reveal it's children

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::invalidateColorQtProperties ( )
virtual

invalidate the current color Qt properties for this widget

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::queryLeafFilePath ( DtDe de,
const std::string &  importType,
const std::string &  path,
const std::string &  fileFilter 
)
virtual

Get a path for a new leaf file.

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::checkIfModified ( )
virtual

check if the entity definitions have changed since the start up

void makVrv::DtElementEditorWidget::setupGui ( )
protected
QString makVrv::DtElementEditorWidget::nameOfSelectedElement ( ) const
protected

Get the name of the selected element. If an element is not selected returns empty string.

int makVrv::DtElementEditorWidget::indexOfSelectedVisualizer ( )
protected
std::string makVrv::DtElementEditorWidget::uuidStringOfSelectedVisualizer ( )
protected
QString makVrv::DtElementEditorWidget::nameOfSelectedAttribute ( ) const
protected

Get the name of the selected attribute. If an attribute is not selected returns empty string.

virtual bool makVrv::DtElementEditorWidget::isEmpty ( )
protectedvirtual

return whether nothing has beed loaded in the element editor

Implements makVrv::DtElementEditorInterface.

virtual void makVrv::DtElementEditorWidget::slot_jumpToDefinition ( const DtUnicode element)
protectedvirtual

boost slot for connecting to the DtDialogJumpToSignal for jumping to a definition will have the UI select the specified definition in the list of definitions

virtual void makVrv::DtElementEditorWidget::slot_jumpToDefByModelDef ( const DtUnicode modelDef)
protectedvirtual

boost slot for connecting to the DtDialogJumpToSignal for jumping to a definition using a model definition will have the UI select the first definition in the list of definitions which uses that model definition.

virtual std::string makVrv::DtElementEditorWidget::uuidStringFromVisDefTreeItem ( QTreeWidgetItem item)
protectedvirtual
void makVrv::DtElementEditorWidget::slot_currentElementItemChanged ( QTreeWidgetItem current,
QTreeWidgetItem previous 
)
slot
void makVrv::DtElementEditorWidget::slot_currentVisualizerDefItemChanged ( QTreeWidgetItem current,
QTreeWidgetItem previous 
)
slot
void makVrv::DtElementEditorWidget::slot_addElementDefinition ( )
slot
void makVrv::DtElementEditorWidget::slot_removeElementDefinition ( )
slot
void makVrv::DtElementEditorWidget::slot_renameElementDefinition ( )
slot
void makVrv::DtElementEditorWidget::slot_addVisualizerDef ( )
slot
void makVrv::DtElementEditorWidget::slot_removeVisualizerDef ( )
slot
void makVrv::DtElementEditorWidget::slot_changeFileName ( )
slot
void makVrv::DtElementEditorWidget::slot_addAttribute ( )
slot
void makVrv::DtElementEditorWidget::slot_removeAttribute ( )
slot
void makVrv::DtElementEditorWidget::slot_removeOverrideAttribute ( )
slot
void makVrv::DtElementEditorWidget::slot_changeFileFilter ( )
slot
void makVrv::DtElementEditorWidget::slot_copyVisualizerDefinition ( )
slot
void makVrv::DtElementEditorWidget::slot_pasteAndReplaceVisualizerDefinition ( )
slot
void makVrv::DtElementEditorWidget::slot_pasteAndAddVisualizerDefinition ( )
slot
void makVrv::DtElementEditorWidget::slot_clearVisualizerDefinitions ( )
slot
void makVrv::DtElementEditorWidget::slot_modelSetChanged ( int  index)
slot
void makVrv::DtElementEditorWidget::slot_fileSaveToChanged ( int  index)
slot
void makVrv::DtElementEditorWidget::destroyEditors ( )
slot
void makVrv::DtElementEditorWidget::slot_displayContextMenu ( const QPoint &  point)
slot

QT slot for handling the signal for creating a context menu.

void makVrv::DtElementEditorWidget::slot_jumpToModelDefinition ( )
slot

QT slot for handling the button that is in the context menu will request a jump to the model definition.

Member Data Documentation

DtDe& makVrv::DtElementEditorWidget::myDe
protected
DtElementDefinitionTypeManager::ElementDefinitionType makVrv::DtElementEditorWidget::myType
protected
DtStateVisualizer::Type makVrv::DtElementEditorWidget::myVisType
protected
DtElementEditorLogic* makVrv::DtElementEditorWidget::myLogic
protected
QMap<QString,QTreeWidgetItem*> makVrv::DtElementEditorWidget::myCacheMap
protected
bool makVrv::DtElementEditorWidget::myShowDeleteDialog
protected
std::vector<std::string> makVrv::DtElementEditorWidget::myCopiedVisDefs
protected
QString makVrv::DtElementEditorWidget::mySelectedItemNameBackup
protected
QList<QTreeWidgetItem*> makVrv::DtElementEditorWidget::myTopItemCache
protected
QList<QTreeWidgetItem*> makVrv::DtElementEditorWidget::myDeleteCache
protected
QList<QTreeWidgetItem*> makVrv::DtElementEditorWidget::myVisualizerDefinitionTreeItemDeleteWidgetCache
protected
QVBoxLayout* makVrv::DtElementEditorWidget::myMainLayout
protected
QSplitter* makVrv::DtElementEditorWidget::mySplitter
protected
QWidget* makVrv::DtElementEditorWidget::myLeftWidgetPane
protected
QVBoxLayout* makVrv::DtElementEditorWidget::myLeftWidgetLayout
protected
QWidget* makVrv::DtElementEditorWidget::myRightWidgetPane
protected
QVBoxLayout* makVrv::DtElementEditorWidget::myRightWidgetLayout
protected
QLabel* makVrv::DtElementEditorWidget::myElementDefinitionLabel
protected
QTreeWidget* makVrv::DtElementEditorWidget::myTreeWidget
protected
QHBoxLayout* makVrv::DtElementEditorWidget::myElementButtonLayout
protected
QPushButton* makVrv::DtElementEditorWidget::myAddElementButton
protected
QPushButton* makVrv::DtElementEditorWidget::myRemoveElementButton
protected
QPushButton* makVrv::DtElementEditorWidget::myRenameElementButton
protected
QHBoxLayout* makVrv::DtElementEditorWidget::myVisualizerDefinitionButtonLayout
protected
QPushButton* makVrv::DtElementEditorWidget::myAddVisualizerDefButton
protected
QPushButton* makVrv::DtElementEditorWidget::myRemoveVisualizerDefButton
protected
QPushButton* makVrv::DtElementEditorWidget::myChangeFilePathButton
protected
QPushButton* makVrv::DtElementEditorWidget::myAddVisualizerAttributeButton
protected
QPushButton* makVrv::DtElementEditorWidget::myRemoveVisualizerAttributeButton
protected
QPushButton* makVrv::DtElementEditorWidget::myRemoveLocalOverrideVisualizerButton
protected
QPushButton* makVrv::DtElementEditorWidget::myChangeFileFilterButton
protected
QPushButton* makVrv::DtElementEditorWidget::myCopyVisualizerDefinitionButton
protected
QPushButton* makVrv::DtElementEditorWidget::myPasteAndReplaceVisualizerDefinitionButton
protected
QPushButton* makVrv::DtElementEditorWidget::myPasteAndAddVisualizerDefinitionButton
protected
QPushButton* makVrv::DtElementEditorWidget::myClearVisualizerDefinitionsButton
protected
QLabel* makVrv::DtElementEditorWidget::myVisualDefinitionLabel
protected
QHBoxLayout* makVrv::DtElementEditorWidget::myModelSetLayout
protected
QHBoxLayout* makVrv::DtElementEditorWidget::myFileSaveToLayout
protected
QHBoxLayout* makVrv::DtElementEditorWidget::myCopiedVisDefListLayout
protected
QLabel* makVrv::DtElementEditorWidget::myModelSetLabel
protected
QLabel* makVrv::DtElementEditorWidget::myFileSaveToLabel
protected
QLabel* makVrv::DtElementEditorWidget::myCopiedVisDefListLabel
protected
QColor makVrv::DtElementEditorWidget::myNormalDefinitionColor
protected
QColor makVrv::DtElementEditorWidget::myInheritedDefinitionColor
protected
QColor makVrv::DtElementEditorWidget::myDuplicateDefinitionColor
protected
QColor makVrv::DtElementEditorWidget::myInvalidDefinitionColor
protected
QComboBox* makVrv::DtElementEditorWidget::myModelSetComboBox
protected
QComboBox* makVrv::DtElementEditorWidget::myFileSaveToComboBox
protected
QComboBox* makVrv::DtElementEditorWidget::myCopiedVisDefComboBox
protected
QTreeWidget* makVrv::DtElementEditorWidget::myVisualizerDefinitionTreeWidget
protected
QTextEdit* makVrv::DtElementEditorWidget::myDescriptionText
protected
std::string makVrv::DtElementEditorWidget::mySelectedInstanceName
protected
DtPersistenceControlsInterface* makVrv::DtElementEditorWidget::myPersistenceToolbar
protected
DtSignalConnectionManager makVrv::DtElementEditorWidget::myConnectionManager
protected

Property Documentation

QColor makVrv::DtElementEditorWidget::NormalDefinitionColor
QColor makVrv::DtElementEditorWidget::InheritedDefinitionColor
QColor makVrv::DtElementEditorWidget::DuplicateDefinitionColor
QColor makVrv::DtElementEditorWidget::InvalidDefinitionColor

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

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)