Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots
Aseba::ThymioVisualProgramming Class Reference

#include <ThymioVisualProgramming.h>

Inheritance diagram for Aseba::ThymioVisualProgramming:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void closeAsSoonAsPossible ()
virtual QWidget * createMenuEntry ()
virtual void loadFromDom (const QDomDocument &content, bool fromFile)
virtual QDomDocument saveToDom () const
 ThymioVisualProgramming (NodeTab *nodeTab)
 ~ThymioVisualProgramming ()

Protected Member Functions

void closeEvent (QCloseEvent *event)
QPixmap drawColorScheme (QColor color1, QColor color2)
virtual void resizeEvent (QResizeEvent *event)
void setColors (QComboBox *button=0)
bool warningDialog ()

Protected Attributes

QList< ThymioPushButton * > actionButtons
QList< QColor > actionColors
QLabel * actionsLabel
QVBoxLayout * actionsLayout
QToolButton * advancedButton
QSvgRenderer * clapSvg
QComboBox * colorComboButton
QLabel * compilationResult
QLabel * compilationResultImage
QHBoxLayout * compilationResultLayout
QList< ThymioPushButton * > eventButtons
QList< QColor > eventColors
QLabel * eventsLabel
QVBoxLayout * eventsLayout
QHBoxLayout * horizontalLayout
QVBoxLayout * mainLayout
QToolButton * newButton
unsigned nodeId
QToolButton * openButton
QToolButton * quitButton
QToolButton * runButton
QToolButton * saveAsButton
QToolButton * saveButton
ThymioScenescene
QVBoxLayout * sceneLayout
QToolButton * stopButton
QSvgRenderer * tapSvg
QString thymioFilename
QToolBar * toolBar
QGraphicsView * view
int windowHeight
int windowWidth

Private Slots

void addButtonsEvent ()
void addCircleAction ()
void addClapEvent ()
void addColorAction ()
void addMemoryAction ()
void addMoveAction ()
void addProxEvent ()
void addProxGroundEvent ()
void addSoundAction ()
void addTapEvent ()
void advancedMode ()
void closeFile ()
void newFile ()
void openFile ()
void recompileButtonSet ()
void run ()
bool save ()
bool saveAs ()
void setColorScheme (int index)
void showVPL ()
void stop ()

Detailed Description

Definition at line 34 of file ThymioVisualProgramming.h.


Constructor & Destructor Documentation

Definition at line 24 of file ThymioVisualProgramming.cpp.

Definition at line 215 of file ThymioVisualProgramming.cpp.


Member Function Documentation

Definition at line 559 of file ThymioVisualProgramming.cpp.

Definition at line 610 of file ThymioVisualProgramming.cpp.

Definition at line 588 of file ThymioVisualProgramming.cpp.

Definition at line 603 of file ThymioVisualProgramming.cpp.

Definition at line 624 of file ThymioVisualProgramming.cpp.

Definition at line 596 of file ThymioVisualProgramming.cpp.

Definition at line 566 of file ThymioVisualProgramming.cpp.

Definition at line 573 of file ThymioVisualProgramming.cpp.

Definition at line 617 of file ThymioVisualProgramming.cpp.

Definition at line 580 of file ThymioVisualProgramming.cpp.

Definition at line 340 of file ThymioVisualProgramming.cpp.

Implements Aseba::NodeToolInterface.

Definition at line 259 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::closeEvent ( QCloseEvent *  event) [protected]

Definition at line 347 of file ThymioVisualProgramming.cpp.

Definition at line 301 of file ThymioVisualProgramming.cpp.

Implements Aseba::NodeToolInterface.

Definition at line 252 of file ThymioVisualProgramming.cpp.

QPixmap Aseba::ThymioVisualProgramming::drawColorScheme ( QColor  color1,
QColor  color2 
) [protected]

Definition at line 237 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::loadFromDom ( const QDomDocument &  content,
bool  fromFile 
) [virtual]

Reimplemented from Aseba::NodeToolInterface.

Definition at line 445 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::newFile ( ) [private, slot]

Reimplemented from Aseba::InvasivePlugin.

Definition at line 274 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::openFile ( void  ) [private, slot]

Reimplemented from Aseba::InvasivePlugin.

Definition at line 285 of file ThymioVisualProgramming.cpp.

Definition at line 542 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::resizeEvent ( QResizeEvent *  event) [protected, virtual]

Definition at line 631 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::run ( ) [private, slot]

Definition at line 325 of file ThymioVisualProgramming.cpp.

bool Aseba::ThymioVisualProgramming::save ( ) [private, slot]

Definition at line 291 of file ThymioVisualProgramming.cpp.

bool Aseba::ThymioVisualProgramming::saveAs ( ) [private, slot]

Definition at line 296 of file ThymioVisualProgramming.cpp.

QDomDocument Aseba::ThymioVisualProgramming::saveToDom ( ) const [virtual]

Reimplemented from Aseba::NodeToolInterface.

Definition at line 391 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::setColors ( QComboBox *  button = 0) [protected]

Definition at line 221 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::setColorScheme ( int  index) [private, slot]

Definition at line 312 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::showVPL ( ) [private, slot]

Definition at line 268 of file ThymioVisualProgramming.cpp.

void Aseba::ThymioVisualProgramming::stop ( ) [private, slot]

Reimplemented from Aseba::InvasivePlugin.

Definition at line 331 of file ThymioVisualProgramming.cpp.

Definition at line 361 of file ThymioVisualProgramming.cpp.


Member Data Documentation

Definition at line 81 of file ThymioVisualProgramming.h.

Definition at line 86 of file ThymioVisualProgramming.h.

Definition at line 83 of file ThymioVisualProgramming.h.

Definition at line 107 of file ThymioVisualProgramming.h.

Definition at line 98 of file ThymioVisualProgramming.h.

QSvgRenderer* Aseba::ThymioVisualProgramming::clapSvg [protected]

Definition at line 111 of file ThymioVisualProgramming.h.

Definition at line 99 of file ThymioVisualProgramming.h.

Definition at line 88 of file ThymioVisualProgramming.h.

Definition at line 89 of file ThymioVisualProgramming.h.

Definition at line 106 of file ThymioVisualProgramming.h.

Definition at line 80 of file ThymioVisualProgramming.h.

Definition at line 85 of file ThymioVisualProgramming.h.

Definition at line 82 of file ThymioVisualProgramming.h.

Definition at line 104 of file ThymioVisualProgramming.h.

Definition at line 103 of file ThymioVisualProgramming.h.

Definition at line 102 of file ThymioVisualProgramming.h.

Definition at line 92 of file ThymioVisualProgramming.h.

Definition at line 119 of file ThymioVisualProgramming.h.

Definition at line 93 of file ThymioVisualProgramming.h.

Definition at line 100 of file ThymioVisualProgramming.h.

Definition at line 96 of file ThymioVisualProgramming.h.

Definition at line 95 of file ThymioVisualProgramming.h.

Definition at line 94 of file ThymioVisualProgramming.h.

Definition at line 77 of file ThymioVisualProgramming.h.

Definition at line 105 of file ThymioVisualProgramming.h.

Definition at line 97 of file ThymioVisualProgramming.h.

QSvgRenderer* Aseba::ThymioVisualProgramming::tapSvg [protected]

Definition at line 110 of file ThymioVisualProgramming.h.

Definition at line 113 of file ThymioVisualProgramming.h.

Definition at line 91 of file ThymioVisualProgramming.h.

QGraphicsView* Aseba::ThymioVisualProgramming::view [protected]

Definition at line 76 of file ThymioVisualProgramming.h.

Definition at line 116 of file ThymioVisualProgramming.h.

Definition at line 115 of file ThymioVisualProgramming.h.


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


aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:40