|
graph_analysis
|
The GraphWidgetManager loads and connect all main graph widget components. More...
#include <GraphWidgetManager.hpp>


Public Types | |
| enum | Mode { CONNECT_MODE, EDIT_MODE, MOVE_MODE } |
Public Slots | |
| void | refresh () |
| triggers a refresh() in the currently displayed graph widget More... | |
| void | shuffle () |
| triggers shuffle() in the currently displayed graph widget More... | |
| void | addGraphWidget (GraphWidget *graphWidget) |
| void | resetGraph (bool keepData=false) |
| void | importGraph () |
| void | exportGraph () |
| void | tabChanged (int index) |
Public Member Functions | |
| GraphWidgetManager () | |
| ~GraphWidgetManager () | |
| destructor - frees the main window (which recursively frees all other Qt components) More... | |
| void | helpSetup (std::stringstream &ss, const std::string &cmd=std::string("program")) |
| prints verbose help message regarding usage of 'cmd' to string stream 'ss' More... | |
| void | updateStatus (const char *message, int timeout=0) |
| void | updateStatus (const std::string &message, int timeout=0) |
| setter method for updating the temporary text (i.e. for another 'timeout' miliseconds) currently being displayed on the Status Bar to the given 'message' More... | |
| void | updateStatus (const QString &message, int timeout=0) |
| setter method for updating the temporary text (i.e. for another 'timeout' miliseconds) currently being displayed on the Status Bar to the given 'message' More... | |
Static Public Attributes | |
| static const int | TIMEOUT = 6900 |
| StatusBar standard timeout (in ms) More... | |
Protected Member Functions | |
| void | notifyModeChange (Mode mode) |
| void | notifyAll () |
Protected Attributes | |
| graph_analysis::BaseGraph::Ptr | mpGraph |
| conceptual underlying graph More... | |
The GraphWidgetManager loads and connect all main graph widget components.
manages graph widgets under a common stack widget as well as the main window and the dockable properties dialog and other housekeeping e.g. GUI icons
this is the main-qobject in the hierarchy, which binds all higher-level editor/visualization widgets of graph_analysis::GraphWidget to the currently loaded instance of graph_analysis::BaseGraph. This class also handles importing and exporting from a file.
this thing also provides a statusbar-like mechanism, where proper widgets can display information for the user about the current state.
this class provides all actions, menus and other mode-elements
this class also provides the GraphFilter elements to allow restricting editing operations.
| graph_analysis::gui::GraphWidgetManager::GraphWidgetManager | ( | ) |
| graph_analysis::gui::GraphWidgetManager::~GraphWidgetManager | ( | ) |
destructor - frees the main window (which recursively frees all other Qt components)
|
slot |
|
slot |
| void graph_analysis::gui::GraphWidgetManager::helpSetup | ( | std::stringstream & | ss, |
| const std::string & | cmd = std::string("program") |
||
| ) |
prints verbose help message regarding usage of 'cmd' to string stream 'ss'
|
slot |
|
protected |
|
protected |
|
slot |
triggers a refresh() in the currently displayed graph widget
this will re-layout the whole graph
|
slot |
|
slot |
triggers shuffle() in the currently displayed graph widget
|
inlineslot |
Handle tab changes
|
inline |
|
inline |
setter method for updating the temporary text (i.e. for another 'timeout' miliseconds) currently being displayed on the Status Bar to the given 'message'
|
inline |
setter method for updating the temporary text (i.e. for another 'timeout' miliseconds) currently being displayed on the Status Bar to the given 'message'
|
protected |
conceptual underlying graph
|
static |
StatusBar standard timeout (in ms)
1.8.17