#include <MainWindow.h>
Classes | |
struct | CompilationResult |
Public Slots | |
void | clearExecutionErrors () |
void | refreshCompleterModel (LocalContext context) |
Signals | |
void | uploadReadynessChanged (bool) |
Public Member Functions | |
NodeTab (MainWindow *mainWindow, Target *target, const CommonDefinitions *commonDefinitions, int id, QWidget *parent=0) | |
unsigned | productId () const |
void | variablesMemoryChanged (unsigned start, const VariablesDataVector &variables) |
~NodeTab () | |
Protected Slots | |
void | autoRefreshMemoryClicked (int state) |
void | breakpointClearedAll () |
void | breakpointSetResult (unsigned line, bool success) |
void | clearBreakpoint (unsigned line) |
void | closePlugins () |
void | compilationCompleted () |
void | cursorMoved () |
void | displayCode (QList< QString > code, int line) |
void | editorContentChanged () |
void | executionModeChanged (Target::ExecutionMode mode) |
void | executionPosChanged (unsigned line) |
void | goToError () |
void | insertVariableName (const QModelIndex &) |
void | keywordClicked (QString) |
void | loadClicked () |
void | markTargetUnsynced () |
When code is changed or target is rebooted, remove breakpoints from target but keep them locally as pending for next code load. | |
void | nextClicked () |
void | reboot () |
void | recompile () |
void | refreshMemoryClicked () |
void | resetClicked () |
void | runInterruptClicked () |
void | saveBytecode () |
void | setBreakpoint (unsigned line) |
void | setVariableValues (unsigned, const VariablesDataVector &) |
void | showKeywords (bool show) |
void | showMemoryUsage (bool show) |
void | updateHidden () |
void | writeBytecode () |
Protected Member Functions | |
bool | clearEditorProperty (const QString &property, unsigned line) |
bool | clearEditorProperty (const QString &property) |
void | processCompilationResult (CompilationResult *result) |
void | rehighlight () |
void | reSetBreakpoints () |
void | restorePlugins (const SavedPlugins &savedPlugins, bool fromFile) |
virtual SavedPlugins | savePlugins () const |
bool | setEditorProperty (const QString &property, const QVariant &value, unsigned line, bool removeOld=false) |
void | setupConnections () |
void | setupWidgets () |
void | switchEditorProperty (const QString &oldProperty, const QString &newProperty) |
virtual void | timerEvent (QTimerEvent *event) |
void | updateToolList () |
virtual void | variableValueUpdated (const QString &name, const VariablesDataVector &values) |
New values are available for a variable this plugin is interested in. | |
Protected Attributes | |
unsigned | allocatedVariablesCount |
number of allocated variables | |
QCheckBox * | autoRefreshMemoryCheck |
BytecodeVector | bytecode |
bytecode resulting of last successfull compilation | |
QToolButton * | callsubButton |
const CommonDefinitions * | commonDefinitions |
pointer to common definitions | |
bool | compilationDirty |
QFuture< CompilationResult * > | compilationFuture |
QLabel * | compilationResultImage |
QLabel * | compilationResultText |
QFutureWatcher < CompilationResult * > | compilationWatcher |
QCompleter * | completer |
int | currentPC |
current program counter | |
QLabel * | cursorPosText |
QToolButton * | elseButton |
QToolButton * | elseifButton |
int | errorPos |
position of last error, -1 if compilation was success | |
QAbstractItemModel * | eventAggregator |
QLabel * | executionModeLabel |
bool | firstCompilation |
true if first compilation after creation | |
QToolButton * | forButton |
TreeChainsawFilter * | functionsFlatModel |
QToolButton * | ifButton |
bool | isSynchronized |
QToolBar * | keywordsToolbar |
QPushButton * | loadButton |
MainWindow * | mainWindow |
QLabel * | memoryUsageText |
QPushButton * | nextButton |
QToolButton * | oneventButton |
unsigned | pid |
node product identifier | |
Target::ExecutionMode | previousMode |
QPushButton * | refreshMemoryButton |
int | refreshTimer |
id of timer for auto refresh of variables, if active | |
bool | rehighlighting |
is the next contentChanged due to rehighlight() call ? | |
QPushButton * | resetButton |
QPushButton * | runInterruptButton |
bool | showHidden |
QSignalMapper * | signalMapper |
QSortFilterProxyModel * | sortingProxy |
QToolButton * | subroutineButton |
Target * | target |
pointer to target | |
QToolBox * | toolBox |
int | toolListIndex |
QVBoxLayout * | toolListLayout |
NodeToolInterfaces | tools |
QToolButton * | varButton |
QAbstractItemModel * | variableAggregator |
TargetFunctionsModel * | vmFunctionsModel |
QTreeView * | vmFunctionsView |
DraggableListWidget * | vmLocalEvents |
QLineEdit * | vmMemoryFilter |
TargetVariablesModel * | vmMemoryModel |
QTreeView * | vmMemoryView |
QToolButton * | whileButton |
Friends | |
class | AeslEditor |
class | EditorsPlotsTabWidget |
class | InvasivePlugin |
class | MainWindow |
Definition at line 166 of file MainWindow.h.
unsigned Aseba::NodeTab::productId | ( | ) | const [inline] |
Definition at line 188 of file MainWindow.h.
void Aseba::NodeTab::uploadReadynessChanged | ( | bool | ) | [signal] |
friend class AeslEditor [friend] |
Definition at line 276 of file MainWindow.h.
friend class EditorsPlotsTabWidget [friend] |
Definition at line 277 of file MainWindow.h.
friend class InvasivePlugin [friend] |
Definition at line 280 of file MainWindow.h.
friend class MainWindow [friend] |
Reimplemented from Aseba::ScriptTab.
Definition at line 275 of file MainWindow.h.
unsigned Aseba::NodeTab::allocatedVariablesCount [protected] |
number of allocated variables
Definition at line 347 of file MainWindow.h.
QCheckBox* Aseba::NodeTab::autoRefreshMemoryCheck [protected] |
Definition at line 296 of file MainWindow.h.
BytecodeVector Aseba::NodeTab::bytecode [protected] |
bytecode resulting of last successfull compilation
Definition at line 346 of file MainWindow.h.
QToolButton* Aseba::NodeTab::callsubButton [protected] |
Definition at line 308 of file MainWindow.h.
const CommonDefinitions* Aseba::NodeTab::commonDefinitions [protected] |
pointer to common definitions
Definition at line 282 of file MainWindow.h.
bool Aseba::NodeTab::compilationDirty [protected] |
Definition at line 343 of file MainWindow.h.
QFuture<CompilationResult*> Aseba::NodeTab::compilationFuture [protected] |
Definition at line 341 of file MainWindow.h.
QLabel* Aseba::NodeTab::compilationResultImage [protected] |
Definition at line 286 of file MainWindow.h.
QLabel* Aseba::NodeTab::compilationResultText [protected] |
Definition at line 287 of file MainWindow.h.
QFutureWatcher<CompilationResult*> Aseba::NodeTab::compilationWatcher [protected] |
Definition at line 342 of file MainWindow.h.
QCompleter* Aseba::NodeTab::completer [protected] |
Definition at line 321 of file MainWindow.h.
int Aseba::NodeTab::currentPC [protected] |
current program counter
Definition at line 336 of file MainWindow.h.
QLabel* Aseba::NodeTab::cursorPosText [protected] |
Definition at line 285 of file MainWindow.h.
QToolButton* Aseba::NodeTab::elseButton [protected] |
Definition at line 303 of file MainWindow.h.
QToolButton* Aseba::NodeTab::elseifButton [protected] |
Definition at line 302 of file MainWindow.h.
int Aseba::NodeTab::errorPos [protected] |
position of last error, -1 if compilation was success
Definition at line 335 of file MainWindow.h.
QAbstractItemModel* Aseba::NodeTab::eventAggregator [protected] |
Definition at line 322 of file MainWindow.h.
QLabel* Aseba::NodeTab::executionModeLabel [protected] |
Definition at line 290 of file MainWindow.h.
bool Aseba::NodeTab::firstCompilation [protected] |
true if first compilation after creation
Definition at line 338 of file MainWindow.h.
QToolButton* Aseba::NodeTab::forButton [protected] |
Definition at line 306 of file MainWindow.h.
TreeChainsawFilter* Aseba::NodeTab::functionsFlatModel [protected] |
Definition at line 325 of file MainWindow.h.
QToolButton* Aseba::NodeTab::ifButton [protected] |
Definition at line 301 of file MainWindow.h.
bool Aseba::NodeTab::isSynchronized [protected] |
Definition at line 344 of file MainWindow.h.
QToolBar* Aseba::NodeTab::keywordsToolbar [protected] |
Definition at line 309 of file MainWindow.h.
QPushButton* Aseba::NodeTab::loadButton [protected] |
Definition at line 291 of file MainWindow.h.
MainWindow* Aseba::NodeTab::mainWindow [protected] |
Definition at line 284 of file MainWindow.h.
QLabel* Aseba::NodeTab::memoryUsageText [protected] |
Definition at line 288 of file MainWindow.h.
QPushButton* Aseba::NodeTab::nextButton [protected] |
Definition at line 294 of file MainWindow.h.
QToolButton* Aseba::NodeTab::oneventButton [protected] |
Definition at line 304 of file MainWindow.h.
unsigned Aseba::NodeTab::pid [protected] |
node product identifier
Definition at line 279 of file MainWindow.h.
Target::ExecutionMode Aseba::NodeTab::previousMode [protected] |
Definition at line 337 of file MainWindow.h.
QPushButton* Aseba::NodeTab::refreshMemoryButton [protected] |
Definition at line 295 of file MainWindow.h.
int Aseba::NodeTab::refreshTimer [protected] |
id of timer for auto refresh of variables, if active
Definition at line 332 of file MainWindow.h.
bool Aseba::NodeTab::rehighlighting [protected] |
is the next contentChanged due to rehighlight() call ?
Definition at line 334 of file MainWindow.h.
QPushButton* Aseba::NodeTab::resetButton [protected] |
Definition at line 292 of file MainWindow.h.
QPushButton* Aseba::NodeTab::runInterruptButton [protected] |
Definition at line 293 of file MainWindow.h.
bool Aseba::NodeTab::showHidden [protected] |
Definition at line 339 of file MainWindow.h.
QSignalMapper* Aseba::NodeTab::signalMapper [protected] |
Definition at line 310 of file MainWindow.h.
QSortFilterProxyModel* Aseba::NodeTab::sortingProxy [protected] |
Definition at line 324 of file MainWindow.h.
QToolButton* Aseba::NodeTab::subroutineButton [protected] |
Definition at line 307 of file MainWindow.h.
Target* Aseba::NodeTab::target [protected] |
pointer to target
Definition at line 281 of file MainWindow.h.
QToolBox* Aseba::NodeTab::toolBox [protected] |
Definition at line 327 of file MainWindow.h.
int Aseba::NodeTab::toolListIndex [protected] |
Definition at line 329 of file MainWindow.h.
QVBoxLayout* Aseba::NodeTab::toolListLayout [protected] |
Definition at line 328 of file MainWindow.h.
NodeToolInterfaces Aseba::NodeTab::tools [protected] |
Definition at line 330 of file MainWindow.h.
QToolButton* Aseba::NodeTab::varButton [protected] |
Definition at line 300 of file MainWindow.h.
QAbstractItemModel* Aseba::NodeTab::variableAggregator [protected] |
Definition at line 323 of file MainWindow.h.
TargetFunctionsModel* Aseba::NodeTab::vmFunctionsModel [protected] |
Definition at line 316 of file MainWindow.h.
QTreeView* Aseba::NodeTab::vmFunctionsView [protected] |
Definition at line 317 of file MainWindow.h.
DraggableListWidget* Aseba::NodeTab::vmLocalEvents [protected] |
Definition at line 319 of file MainWindow.h.
QLineEdit* Aseba::NodeTab::vmMemoryFilter [protected] |
Definition at line 314 of file MainWindow.h.
TargetVariablesModel* Aseba::NodeTab::vmMemoryModel [protected] |
Definition at line 312 of file MainWindow.h.
QTreeView* Aseba::NodeTab::vmMemoryView [protected] |
Definition at line 313 of file MainWindow.h.
QToolButton* Aseba::NodeTab::whileButton [protected] |
Definition at line 305 of file MainWindow.h.