#include <MainWindow.h>
Signals | |
void | MainWindowClosed () |
Public Member Functions | |
MainWindow (QVector< QTranslator * > translators, const QString &commandLineTarget, QWidget *parent=0) | |
~MainWindow () | |
Private Slots | |
void | about () |
void | addConstantClicked () |
void | addEventNameClicked () |
void | addPluginLinearCameraView () |
void | arrayAccessOutOfBounds (unsigned node, unsigned line, unsigned size, unsigned index) |
A node did an access out of array bounds exception. | |
void | breakpointSetResult (unsigned node, unsigned line, bool success) |
The result of a set breakpoint is known. | |
void | clearAllExecutionError () |
void | constantsSelectionChanged () |
void | copyAll () |
void | divisionByZero (unsigned node, unsigned line) |
A node did a division by zero exception. | |
void | eventContextMenuRequested (const QPoint &pos) |
void | eventExecutionKilled (unsigned node, unsigned line) |
A new event was run and the current killed on a node. | |
void | eventsDescriptionsSelectionChanged () |
void | executionModeChanged (unsigned node, Target::ExecutionMode mode) |
The mode of execution of a node (stop, run, step by step) has changed. | |
void | executionPosChanged (unsigned node, unsigned line) |
The program counter of a node has changed, causing a change of position in source code. | |
void | exportMemoriesContent () |
void | importMemoriesContent () |
void | loadAll () |
void | logEntryDoubleClicked (QListWidgetItem *) |
void | networkDisconnected () |
The network connection has been cut: all nodes have disconnected. | |
void | newFile () |
void | nodeConnected (unsigned node) |
A new node has connected to the network. | |
void | nodeDisconnected (unsigned node) |
A node has disconnected from the network. | |
void | nodeSpecificError (unsigned node, unsigned line, const QString &message) |
A node has produced an error specific to it. | |
void | openFile (const QString &path=QString()) |
void | openRecentFile () |
void | pauseAll () |
void | rebootAllNodes () |
void | recompileAll () |
void | removeConstantClicked () |
void | removeEventNameClicked () |
void | resetAll () |
void | runAll () |
bool | save () |
bool | saveFile (const QString &previousFileName=QString()) |
void | sendEvent () |
void | sendEventIf (const QModelIndex &) |
void | showCompilationMessages (bool doShown) |
void | showHelpLanguage () |
void | showHelpStudio () |
void | showHidden (bool show) |
void | sourceChanged () |
void | stopAll () |
void | tabChanged (int) |
void | updateWindowTitle () |
void | uploadReadynessChanged () |
void | userEvent (unsigned id, const VariablesDataVector &data) |
A user event has arrived from the network. | |
void | userEventsDropped (unsigned amount) |
Some user events have been dropped, i.e. not sent to the gui. | |
void | variablesMemoryChanged (unsigned node, unsigned start, const VariablesDataVector &variables) |
The content of the variables memory of a node has changed. | |
void | variablesMemoryEstimatedDirty (unsigned node) |
The execution state logic thinks variables might need a refresh. | |
void | writeAllBytecodes () |
Private Member Functions | |
void | addErrorEvent (unsigned node, unsigned line, const QString &message) |
Generic part of error events reporting. | |
bool | askUserBeforeDiscarding () |
Ask the user to save or discard or ignore the operation that would destroy the unmodified data. | |
void | clearDocumentSpecificTabs () |
void | closeEvent (QCloseEvent *event) |
int | getIndexFromId (unsigned node) |
NodeTab * | getTabFromId (unsigned node) |
NodeTab * | getTabFromName (const QString &name) |
void | hideEvent (QHideEvent *event) |
void | regenerateOpenRecentMenu () |
void | regenerateToolsMenus () |
void | setupConnections () |
void | setupMenu () |
void | setupWidgets () |
void | updateRecentFiles (const QString &fileName) |
Private Attributes | |
QString | actualFileName |
name of opened file, "" if new | |
QPushButton * | addConstantButton |
QPushButton * | addEventNameButton |
QPushButton * | clearLogger |
CommonDefinitions | commonDefinitions |
CompilationLogDialog * | compilationMessageBox |
box to show last compilation messages | |
Compiler | compiler |
Aesl compiler. | |
NamedValuesVectorModel * | constantsDefinitionsModel |
FixedWidthTableView * | constantsView |
QAction * | copyAct |
QAction * | cutAct |
NamedValuesVectorModel * | eventsDescriptionsModel |
FixedWidthTableView * | eventsDescriptionsView |
QTextBrowser * | helpViewer |
QAction * | loadAllAct |
QListWidget * | logger |
EditorsPlotsTabWidget * | nodes |
QMenu * | openRecentMenu |
QAction * | pasteAct |
QAction * | pauseAllAct |
ScriptTab * | previousActiveTab |
QMenu * | rebootMenu |
QAction * | redoAct |
QPushButton * | removeConstantButton |
QPushButton * | removeEventNameButton |
QAction * | resetAllAct |
QAction * | runAllAct |
QPushButton * | sendEventButton |
QAction * | showCompilationMsg |
QAction * | showHiddenAct |
bool | sourceModified |
true if source code has been modified since last save | |
Target * | target |
QAction * | undoAct |
QAction * | writeAllBytecodesAct |
QMenu * | writeBytecodeMenu |
Friends | |
class | NodeTab |
Definition at line 223 of file MainWindow.h.
void Aseba::MainWindow::MainWindowClosed | ( | ) | [signal] |
friend class NodeTab [friend] |
Definition at line 321 of file MainWindow.h.
QString Aseba::MainWindow::actualFileName [private] |
name of opened file, "" if new
Definition at line 377 of file MainWindow.h.
QPushButton* Aseba::MainWindow::addConstantButton [private] |
Definition at line 343 of file MainWindow.h.
QPushButton* Aseba::MainWindow::addEventNameButton [private] |
Definition at line 335 of file MainWindow.h.
QPushButton* Aseba::MainWindow::clearLogger [private] |
Definition at line 339 of file MainWindow.h.
Definition at line 382 of file MainWindow.h.
box to show last compilation messages
Definition at line 376 of file MainWindow.h.
Compiler Aseba::MainWindow::compiler [private] |
Aesl compiler.
Definition at line 383 of file MainWindow.h.
Definition at line 349 of file MainWindow.h.
Definition at line 345 of file MainWindow.h.
QAction* Aseba::MainWindow::copyAct [private] |
Definition at line 368 of file MainWindow.h.
QAction* Aseba::MainWindow::cutAct [private] |
Definition at line 367 of file MainWindow.h.
Definition at line 348 of file MainWindow.h.
Definition at line 340 of file MainWindow.h.
QTextBrowser* Aseba::MainWindow::helpViewer [private] |
Definition at line 379 of file MainWindow.h.
QAction* Aseba::MainWindow::loadAllAct [private] |
Definition at line 352 of file MainWindow.h.
QListWidget* Aseba::MainWindow::logger [private] |
Definition at line 338 of file MainWindow.h.
EditorsPlotsTabWidget* Aseba::MainWindow::nodes [private] |
Definition at line 322 of file MainWindow.h.
QMenu* Aseba::MainWindow::openRecentMenu [private] |
Definition at line 358 of file MainWindow.h.
QAction* Aseba::MainWindow::pasteAct [private] |
Definition at line 369 of file MainWindow.h.
QAction* Aseba::MainWindow::pauseAllAct [private] |
Definition at line 355 of file MainWindow.h.
ScriptTab* Aseba::MainWindow::previousActiveTab [private] |
Definition at line 323 of file MainWindow.h.
QMenu* Aseba::MainWindow::rebootMenu [private] |
Definition at line 363 of file MainWindow.h.
QAction* Aseba::MainWindow::redoAct [private] |
Definition at line 371 of file MainWindow.h.
QPushButton* Aseba::MainWindow::removeConstantButton [private] |
Definition at line 344 of file MainWindow.h.
QPushButton* Aseba::MainWindow::removeEventNameButton [private] |
Definition at line 336 of file MainWindow.h.
QAction* Aseba::MainWindow::resetAllAct [private] |
Definition at line 353 of file MainWindow.h.
QAction* Aseba::MainWindow::runAllAct [private] |
Definition at line 354 of file MainWindow.h.
QPushButton* Aseba::MainWindow::sendEventButton [private] |
Definition at line 337 of file MainWindow.h.
QAction* Aseba::MainWindow::showCompilationMsg [private] |
Definition at line 373 of file MainWindow.h.
QAction* Aseba::MainWindow::showHiddenAct [private] |
Definition at line 372 of file MainWindow.h.
bool Aseba::MainWindow::sourceModified [private] |
true if source code has been modified since last save
Definition at line 378 of file MainWindow.h.
Target* Aseba::MainWindow::target [private] |
Definition at line 384 of file MainWindow.h.
QAction* Aseba::MainWindow::undoAct [private] |
Definition at line 370 of file MainWindow.h.
QAction* Aseba::MainWindow::writeAllBytecodesAct [private] |
Definition at line 362 of file MainWindow.h.
QMenu* Aseba::MainWindow::writeBytecodeMenu [private] |
Definition at line 361 of file MainWindow.h.