Public Slots | Signals | Public Member Functions | Private Types | Private Slots | Private Member Functions | Private Attributes | Friends
Aseba::MainWindow Class Reference

#include <MainWindow.h>

List of all members.

Public Slots

void applySettings ()

Signals

void MainWindowClosed ()

Public Member Functions

 MainWindow (QVector< QTranslator * > translators, const QString &commandLineTarget, bool autoRefresh, QWidget *parent=0)
 ~MainWindow ()

Private Types

typedef QList< QAction * > ActionList

Private Slots

void about ()
void addConstantClicked ()
void addEventNameClicked ()
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 clearAllBreakpoints ()
void clearAllExecutionError ()
void commentTriggered ()
void compilationMessagesWasHidden ()
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 eventsUpdated (bool indexChanged=false)
void eventsUpdatedDirty ()
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 findTriggered ()
void goToLine ()
void importMemoriesContent ()
void loadAll ()
void logEntryDoubleClicked (QListWidgetItem *)
void networkDisconnected ()
 The network connection has been cut: all nodes have disconnected.
bool 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 openToUrlFromAction () const
void pauseAll ()
void plotEvent ()
void plotEvent (const unsigned eventId)
void rebootAllNodes ()
void recompileAll ()
void removeConstantClicked ()
void removeEventNameClicked ()
void replaceTriggered ()
void resetAll ()
void resetStatusText ()
void runAll ()
bool save ()
bool saveFile (const QString &previousFileName=QString())
void sendEvent ()
void sendEventIf (const QModelIndex &)
void showCompilationMessages (bool doShown)
void showHidden (bool show)
void showKeywords (bool show)
void showLineNumbersChanged (bool state)
void showMemoryUsage (bool show)
void showSettings ()
void showUserManual ()
void sourceChanged ()
void stopAll ()
void tabChanged (int)
void toggleBreakpoint ()
void toggleEventVisibleButton (const QModelIndex &)
void uncommentTriggered ()
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)
void generateHelpMenu ()
int getAbsentIndexFromId (unsigned node) const
 Get the absent tab widget index of a corresponding node id.
AbsentNodeTabgetAbsentTabFromId (unsigned node) const
 Get the absent tab widget pointer of a corresponding node id.
int getIndexFromId (unsigned node) const
 Get the tab widget index of a corresponding node id.
NodeTabgetTabFromId (unsigned node) const
 Get the tab widget pointer of a corresponding node id.
NodeTabgetTabFromName (const QString &name, unsigned preferedId=0) const
 Get the tab widget pointer of a corresponding node name, and of preferedId if found, but the first found otherwise.
bool readSettings ()
void regenerateHelpMenu ()
void regenerateOpenRecentMenu ()
void regenerateToolsMenus ()
void setupConnections ()
void setupMenu ()
void setupWidgets ()
virtual void timerEvent (QTimerEvent *event)
 If any node was disconnected, send get description.
void updateRecentFiles (const QString &fileName)
void writeSettings ()

Private Attributes

QString actualFileName
 name of opened file, "" if new
QPushButton * addConstantButton
QPushButton * addEventNameButton
bool autoMemoryRefresh
QAction * clearAllBreakpointsAct
QPushButton * clearLogger
QAction * commentAct
CommonDefinitions commonDefinitions
CompilationLogDialogcompilationMessageBox
 box to show last compilation messages
NamedValuesVectorModelconstantsDefinitionsModel
FixedWidthTableViewconstantsView
QAction * copyAct
ScriptTabcurrentScriptTab
QAction * cutAct
MaskableNamedValuesVectorModeleventsDescriptionsModel
FixedWidthTableVieweventsDescriptionsView
QAction * findAct
FindDialogfindDialog
 find dialog
int getDescriptionTimer
QToolBar * globalToolBar
QAction * goToLineAct
QMenu * helpMenu
QAction * helpMenuTargetSpecificSeparator
HelpViewer helpViewer
 < true if auto memory refresh is on by default
QAction * loadAllAct
QListWidget * logger
EditorsPlotsTabWidgetnodes
QMenu * openRecentMenu
QAction * pasteAct
QAction * pauseAllAct
QMenu * rebootMenu
QAction * redoAct
QPushButton * removeConstantButton
QPushButton * removeEventNameButton
QAction * replaceAct
QAction * resetAllAct
QAction * runAllAct
QMenu * saveBytecodeMenu
QPushButton * sendEventButton
QAction * showCompilationMsg
QAction * showHiddenAct
QAction * showKeywordsAct
QAction * showLineNumbers
QAction * showMemoryUsageAct
bool sourceModified
 true if source code has been modified since last save
QLabel * statusText
Targettarget
ActionList targetSpecificHelp
QAction * toggleBreakpointAct
QAction * uncommentAct
QAction * undoAct
QAction * writeAllBytecodesAct
QMenu * writeBytecodeMenu

Friends

class AeslEditor
class InvasivePlugin
class NodeTab

Detailed Description

Definition at line 372 of file MainWindow.h.


Member Typedef Documentation

typedef QList<QAction*> Aseba::MainWindow::ActionList [private]

Definition at line 552 of file MainWindow.h.


Member Function Documentation


Friends And Related Function Documentation

friend class AeslEditor [friend]

Definition at line 500 of file MainWindow.h.

friend class InvasivePlugin [friend]

Definition at line 501 of file MainWindow.h.

friend class NodeTab [friend]

Definition at line 499 of file MainWindow.h.


Member Data Documentation

name of opened file, "" if new

Definition at line 578 of file MainWindow.h.

QPushButton* Aseba::MainWindow::addConstantButton [private]

Definition at line 528 of file MainWindow.h.

QPushButton* Aseba::MainWindow::addEventNameButton [private]

Definition at line 516 of file MainWindow.h.

Definition at line 580 of file MainWindow.h.

Definition at line 569 of file MainWindow.h.

QPushButton* Aseba::MainWindow::clearLogger [private]

Definition at line 523 of file MainWindow.h.

QAction* Aseba::MainWindow::commentAct [private]

Definition at line 564 of file MainWindow.h.

Definition at line 584 of file MainWindow.h.

box to show last compilation messages

Definition at line 576 of file MainWindow.h.

Definition at line 534 of file MainWindow.h.

Definition at line 530 of file MainWindow.h.

QAction* Aseba::MainWindow::copyAct [private]

Definition at line 558 of file MainWindow.h.

Definition at line 503 of file MainWindow.h.

QAction* Aseba::MainWindow::cutAct [private]

Definition at line 557 of file MainWindow.h.

Definition at line 533 of file MainWindow.h.

Definition at line 525 of file MainWindow.h.

QAction* Aseba::MainWindow::findAct [private]

Definition at line 562 of file MainWindow.h.

find dialog

Definition at line 577 of file MainWindow.h.

Definition at line 504 of file MainWindow.h.

QToolBar* Aseba::MainWindow::globalToolBar [private]

Definition at line 541 of file MainWindow.h.

QAction* Aseba::MainWindow::goToLineAct [private]

Definition at line 567 of file MainWindow.h.

QMenu* Aseba::MainWindow::helpMenu [private]

Definition at line 551 of file MainWindow.h.

Definition at line 553 of file MainWindow.h.

< true if auto memory refresh is on by default

Definition at line 581 of file MainWindow.h.

QAction* Aseba::MainWindow::loadAllAct [private]

Definition at line 537 of file MainWindow.h.

QListWidget* Aseba::MainWindow::logger [private]

Definition at line 522 of file MainWindow.h.

Definition at line 502 of file MainWindow.h.

Definition at line 544 of file MainWindow.h.

QAction* Aseba::MainWindow::pasteAct [private]

Definition at line 559 of file MainWindow.h.

QAction* Aseba::MainWindow::pauseAllAct [private]

Definition at line 540 of file MainWindow.h.

Definition at line 549 of file MainWindow.h.

QAction* Aseba::MainWindow::redoAct [private]

Definition at line 561 of file MainWindow.h.

Definition at line 529 of file MainWindow.h.

Definition at line 517 of file MainWindow.h.

QAction* Aseba::MainWindow::replaceAct [private]

Definition at line 563 of file MainWindow.h.

QAction* Aseba::MainWindow::resetAllAct [private]

Definition at line 538 of file MainWindow.h.

QAction* Aseba::MainWindow::runAllAct [private]

Definition at line 539 of file MainWindow.h.

Definition at line 550 of file MainWindow.h.

QPushButton* Aseba::MainWindow::sendEventButton [private]

Definition at line 518 of file MainWindow.h.

Definition at line 572 of file MainWindow.h.

Definition at line 570 of file MainWindow.h.

Definition at line 571 of file MainWindow.h.

Definition at line 566 of file MainWindow.h.

Definition at line 573 of file MainWindow.h.

true if source code has been modified since last save

Definition at line 579 of file MainWindow.h.

QLabel* Aseba::MainWindow::statusText [private]

Definition at line 524 of file MainWindow.h.

Definition at line 585 of file MainWindow.h.

Definition at line 554 of file MainWindow.h.

Definition at line 568 of file MainWindow.h.

QAction* Aseba::MainWindow::uncommentAct [private]

Definition at line 565 of file MainWindow.h.

QAction* Aseba::MainWindow::undoAct [private]

Definition at line 560 of file MainWindow.h.

Definition at line 548 of file MainWindow.h.

Definition at line 547 of file MainWindow.h.


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


aseba
Author(s): Stéphane Magnenat
autogenerated on Thu Jan 2 2014 11:17:17