![]() |
tuchulcha
0.10.1
Graphical Workflow Configuration Editor
|
Management of the application's main window. More...
#include <TuchulchaWindow.h>

Public Slots | |
| void | open (const QString &fileName=QString()) |
| open parameterfile and display flowchart content More... | |
| void | open (const QStringList &files) |
| open parameterfiles More... | |
| void | openNew () |
| create new empty flowchart | |
| void | options (int tab=-1) |
| edit options dialog More... | |
| void | runWorkflow () |
| runn current workflow | |
| void | saveFlowChart () const |
| save current flowchart | |
| void | showMessage (QString msg) const |
| print status message | |
| void | updateMetadata () |
| update plugin information | |
| void | zoomFit () |
| fit in view | |
| void | zoomIn () |
| zoom in | |
| void | zoomOut () |
| zoom out | |
Signals | |
| void | activeGraphModelChanged (ParameterFileModel *model) |
| inform about changed graph to edit More... | |
| void | metaDataUpdated () |
| meta data has been updated, plugins reloaded | |
| void | statusMessage (const QString &) const |
| status message | |
Public Member Functions | |
| TuchulchaWindow (QWidget *parent=0) | |
| Default constructor. More... | |
Protected Member Functions | |
| virtual void | closeEvent (QCloseEvent *event) |
| Close event handler. More... | |
Private Slots | |
| void | _showAbout () |
| show about dialog | |
| void | _showAboutQt () |
| show about Qt dialog | |
| void | _showHelp (QString page=QString()) |
| show help browser More... | |
| void | _updateFlowLinks () |
| update links when new flowchart has been selected More... | |
Private Member Functions | |
| void | _setupConnections (GraphModel *model, FlowWidget *fWidget) |
| setup model and view connections (for open and new) More... | |
Private Attributes | |
| CentralMdiArea * | _centralArea |
| Central widget to manage multiple windows. | |
| DocGenerator * | _docGen |
| Documentation Generator. | |
| FlowWidget * | _flow |
| current flow widget | |
| QPointer< QProcess > | _helpDisp |
| help display process | |
| ObjectInspector * | _inspector |
| object inspector | |
| RecentFileHandler * | _rfHandler |
| recent file handler | |
| NodeTreeView * | _selector |
| selector widget | |
| QToolBar * | _toolBar |
| tool bar | |
Static Private Attributes | |
| static const int | _saveStateVersion = 1 |
| window state version identifier | |
Definition at line 44 of file TuchulchaWindow.h.
| TuchulchaWindow::TuchulchaWindow | ( | QWidget * | parent = 0 | ) |
| parent | pointer to parent widget |
Definition at line 61 of file TuchulchaWindow.cpp.
References _centralArea, _docGen, _inspector, _rfHandler, _saveStateVersion, _selector, _showAbout(), _showAboutQt(), _showHelp(), _toolBar, _updateFlowLinks(), activeGraphModelChanged(), OptionsDialog::check(), ObjectInspector::getViewer(), FileManager::instance(), metaDataUpdated(), open(), openNew(), options(), RecentFileHandler::registerRecentFileEntries(), runWorkflow(), saveFlowChart(), DocGenerator::showIntro(), showMessage(), statusMessage(), updateMetadata(), zoomFit(), zoomIn(), and zoomOut().
|
private |
| model | workflow model |
| fWidget | flow widget |
Definition at line 546 of file TuchulchaWindow.cpp.
References _docGen, _rfHandler, showMessage(), and statusMessage().
|
privateslot |
| page | requested help page |
Definition at line 452 of file TuchulchaWindow.cpp.
References _docGen, _helpDisp, exists(), and DocGenerator::showHelp().
|
privateslot |
this sets the _flow pointer to the currently selected widget, which is needed to get the zoom and model buttons working
this also emits the activeGraphModeChanged signal which sets up the connections of the object inspector and the model tool bar
Definition at line 576 of file TuchulchaWindow.cpp.
References _centralArea, _flow, activeGraphModelChanged(), and FlowWidget::model().
|
signal |
| model | new model to edit, 0 if no model exists |
|
protectedvirtual |
Save window state and close the window.
| event | close event |
Definition at line 365 of file TuchulchaWindow.cpp.
References _centralArea, and _saveStateVersion.
|
slot |
| fileName | File to open. Shows file open dialog if empty. |
Definition at line 515 of file TuchulchaWindow.cpp.
References _centralArea, _setupConnections(), _updateFlowLinks(), FileManager::instance(), and ParameterFileModel::load().
|
slot |
| files | Files to open |
Definition at line 531 of file TuchulchaWindow.cpp.
References open().
|
slot |
| tab | number of options tab to show (default if invalid) |
Definition at line 648 of file TuchulchaWindow.cpp.
References _showHelp(), _toolBar, and OptionsDialog::setTab().