graph_analysis
Public Types | Public Slots | Public Member Functions | List of all members
graph_analysis::gui::dialogs::PropertyDialog Class Reference

dockable multi-tab command panel for the entire GUI More...

#include <PropertyDialog.hpp>

Inheritance diagram for graph_analysis::gui::dialogs::PropertyDialog:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::gui::dialogs::PropertyDialog:
Collaboration graph
[legend]

Public Types

typedef std::vector< QFrame * > QFrames
 keeps track of both vertical and horizontal separators in the scene More...
 

Public Slots

void updateMainWidget (int index)
 switches the central widget to the widget of the given index: 0 for the ComponentEditorWidget; 1 for the LayerViewWidget More...
 

Public Member Functions

 PropertyDialog (bool dragDropIsChecked=false, bool vertexFocused=false, bool edgeFocused=false)
 constructor More...
 
 ~PropertyDialog ()
 destructor More...
 
bool isRunning ()
 getter method for retrieving running status; returns true when the main panel is still in the scene; false otherwise More...
 
void setDragDrop (bool toggle)
 setter method for drag-n-drop button boolean state - used by the viewWidget to sync the drag-n-drop mode with its button switch here in the command panel More...
 
void uncheckDragDrop (bool toggle)
 releases the mpDragDropButton More...
 
void uncheckMoveAround (bool toggle)
 releases the mpMoveAroundButton More...
 
void addFrame (QVBoxLayout *verticalLayout)
 adds a horizontal separator More...
 
void addFrame (QHBoxLayout *horizontalLayout)
 adds a vertical separator More...
 
void setupUi (CustomDialog *Dialog, bool dragDropIsChecked=false)
 sets up all GUI components to the provided Dialog instance More...
 
void retranslateUi (CustomDialog *Dialog)
 attributes meaningful titles to be displayed for all GUI components (e.g. buttons labels) More...
 
void setVertexFocused (bool vertexFocused)
 setter method for the node-being-focused boolean witness More...
 
void setEdgeFocused (bool edgeFocused)
 setter method for the edge-being-focused boolean witness More...
 
bool getVertexFocused ()
 getter method for the node-being-focused boolean witness More...
 
bool getEdgeFocused ()
 getter method for the edge-being-focused boolean witness More...
 
void updateStatus (const std::string &message=std::string(), int timeout=0)
 updates the temporary text currently being displayed on the Status Bar in the main viewWidget More...
 
FilterManager * getFilterManager (void)
 getter method for the filters manager member field More...
 

Detailed Description

dockable multi-tab command panel for the entire GUI

accommodates options/properties for both the diagram view and also the layered conceptual graph view

Member Typedef Documentation

◆ QFrames

keeps track of both vertical and horizontal separators in the scene

Constructor & Destructor Documentation

◆ PropertyDialog()

graph_analysis::gui::dialogs::PropertyDialog::PropertyDialog ( bool  dragDropIsChecked = false,
bool  vertexFocused = false,
bool  edgeFocused = false 
)

constructor

Parameters
dragDropIsCheckedcurrent drag-n-drop mode boolean witness
vertexFocusedboolean witness: true when there is a node currently focused on; false otherwise
edgeFocusedboolean witness: true when there is an edge currently focused on; false otherwise

◆ ~PropertyDialog()

graph_analysis::gui::dialogs::PropertyDialog::~PropertyDialog ( )

destructor

Member Function Documentation

◆ addFrame() [1/2]

void graph_analysis::gui::dialogs::PropertyDialog::addFrame ( QHBoxLayout *  horizontalLayout)

adds a vertical separator

◆ addFrame() [2/2]

void graph_analysis::gui::dialogs::PropertyDialog::addFrame ( QVBoxLayout *  verticalLayout)

adds a horizontal separator

◆ getEdgeFocused()

bool graph_analysis::gui::dialogs::PropertyDialog::getEdgeFocused ( )
inline

getter method for the edge-being-focused boolean witness

◆ getFilterManager()

FilterManager* graph_analysis::gui::dialogs::PropertyDialog::getFilterManager ( void  )
inline

getter method for the filters manager member field

◆ getVertexFocused()

bool graph_analysis::gui::dialogs::PropertyDialog::getVertexFocused ( )
inline

getter method for the node-being-focused boolean witness

◆ isRunning()

bool graph_analysis::gui::dialogs::PropertyDialog::isRunning ( )
inline

getter method for retrieving running status; returns true when the main panel is still in the scene; false otherwise

◆ retranslateUi()

void graph_analysis::gui::dialogs::PropertyDialog::retranslateUi ( CustomDialog *  Dialog)

attributes meaningful titles to be displayed for all GUI components (e.g. buttons labels)

◆ setDragDrop()

void graph_analysis::gui::dialogs::PropertyDialog::setDragDrop ( bool  toggle)
inline

setter method for drag-n-drop button boolean state - used by the viewWidget to sync the drag-n-drop mode with its button switch here in the command panel

◆ setEdgeFocused()

void graph_analysis::gui::dialogs::PropertyDialog::setEdgeFocused ( bool  edgeFocused)

setter method for the edge-being-focused boolean witness

◆ setupUi()

void graph_analysis::gui::dialogs::PropertyDialog::setupUi ( CustomDialog *  Dialog,
bool  dragDropIsChecked = false 
)

sets up all GUI components to the provided Dialog instance

◆ setVertexFocused()

void graph_analysis::gui::dialogs::PropertyDialog::setVertexFocused ( bool  vertexFocused)

setter method for the node-being-focused boolean witness

◆ uncheckDragDrop()

void graph_analysis::gui::dialogs::PropertyDialog::uncheckDragDrop ( bool  toggle)
inline

releases the mpDragDropButton

◆ uncheckMoveAround()

void graph_analysis::gui::dialogs::PropertyDialog::uncheckMoveAround ( bool  toggle)
inline

releases the mpMoveAroundButton

◆ updateMainWidget

void graph_analysis::gui::dialogs::PropertyDialog::updateMainWidget ( int  index)
slot

switches the central widget to the widget of the given index: 0 for the ComponentEditorWidget; 1 for the LayerViewWidget

◆ updateStatus()

void graph_analysis::gui::dialogs::PropertyDialog::updateStatus ( const std::string &  message = std::string(),
int  timeout = 0 
)
inline

updates the temporary text currently being displayed on the Status Bar in the main viewWidget


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