OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ViewerToolBar Class Reference

#include "ViewerToolBar.h"

Public Types

enum  ButtonType : ot::UID {
  Reset3DViewButton , Reset1DViewButton , ShowAllButton , ShowSelectedButton ,
  HideSelectedButton , HideUnselectedButton , WireframeButton , WorkingPlaneButton ,
  AxisCrossButton , CenterAxisCrossButton , CutplaneButton , TextEditorSaveButton ,
  TextEditorExportButton , TableSaveButton , TableExportCSVButton , TableAddRowBefore ,
  TableAddRowAfter , TableRemoveRow , TableAddColumnBefore , TabbleAddColumnAfter ,
  TableRemoveColumn , NoButton
}
 

Public Member Functions

ButtonType getButtonTypeFromUID (ot::UID _uid) const
 
void viewDataModifiedHasChanged (ot::WidgetViewBase::ViewType _type, bool _isModified)
 
void setupUIControls3D (void)
 
void setupUIControls1D (void)
 
void setupUIControlsText (void)
 
void setupUIControlsTable (void)
 
void removeUIControls (void)
 
void updateViewEnabledState (const ot::UIDList &_selectedTreeItems)
 
void updateTextEditorEnabledState (void)
 
void updateTextEditorSaveEnabledState (void)
 
void updateTableEnabledState (void)
 
void updateTableSaveEnabledState (void)
 

Static Public Member Functions

static ViewerToolBarinstance (void)
 

Member Enumeration Documentation

◆ ButtonType

Enumerator
Reset3DViewButton 
Reset1DViewButton 
ShowAllButton 
ShowSelectedButton 
HideSelectedButton 
HideUnselectedButton 
WireframeButton 
WorkingPlaneButton 
AxisCrossButton 
CenterAxisCrossButton 
CutplaneButton 
TextEditorSaveButton 
TextEditorExportButton 
TableSaveButton 
TableExportCSVButton 
TableAddRowBefore 
TableAddRowAfter 
TableRemoveRow 
TableAddColumnBefore 
TabbleAddColumnAfter 
TableRemoveColumn 
NoButton 

Member Function Documentation

◆ getButtonTypeFromUID()

ViewerToolBar::ButtonType ViewerToolBar::getButtonTypeFromUID ( ot::UID _uid) const

◆ instance()

ViewerToolBar & ViewerToolBar::instance ( void )
static

◆ removeUIControls()

void ViewerToolBar::removeUIControls ( void )

◆ setupUIControls1D()

void ViewerToolBar::setupUIControls1D ( void )

◆ setupUIControls3D()

void ViewerToolBar::setupUIControls3D ( void )

◆ setupUIControlsTable()

void ViewerToolBar::setupUIControlsTable ( void )

◆ setupUIControlsText()

void ViewerToolBar::setupUIControlsText ( void )

◆ updateTableEnabledState()

void ViewerToolBar::updateTableEnabledState ( void )

◆ updateTableSaveEnabledState()

void ViewerToolBar::updateTableSaveEnabledState ( void )

◆ updateTextEditorEnabledState()

void ViewerToolBar::updateTextEditorEnabledState ( void )

◆ updateTextEditorSaveEnabledState()

void ViewerToolBar::updateTextEditorSaveEnabledState ( void )

◆ updateViewEnabledState()

void ViewerToolBar::updateViewEnabledState ( const ot::UIDList & _selectedTreeItems)

◆ viewDataModifiedHasChanged()

void ViewerToolBar::viewDataModifiedHasChanged ( ot::WidgetViewBase::ViewType _type,
bool _isModified )

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