Classes | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
Aseba::ThymioFlasherDialog Class Reference

#include <ThymioFlasher.h>

List of all members.

Classes

struct  FlashResult

Public Member Functions

 ThymioFlasherDialog (const std::string &target)
 ~ThymioFlasherDialog ()

Private Slots

void doFlash (void)
void flashFinished ()
void flashProgress (int percentage)
void openFile (void)
void setupFlashButtonState ()

Private Member Functions

FlashResult flashThread (const std::string &_target, const std::string &hexFileName) const

Private Attributes

QPushButton * fileButton
QHBoxLayout * fileLayout
QPushButton * flashButton
QFuture< FlashResultflashFuture
QFutureWatcher< FlashResultflashFutureWatcher
QHBoxLayout * flashLayout
QLineEdit * lineEdit
QVBoxLayout * mainLayout
QProgressBar * progressBar
QPushButton * quitButton
std::string target

Detailed Description

Definition at line 43 of file ThymioFlasher.h.


Constructor & Destructor Documentation

Aseba::ThymioFlasherDialog::ThymioFlasherDialog ( const std::string &  target)

Definition at line 57 of file ThymioFlasher.cpp.

Definition at line 108 of file ThymioFlasher.cpp.


Member Function Documentation

void Aseba::ThymioFlasherDialog::doFlash ( void  ) [private, slot]

Definition at line 127 of file ThymioFlasher.cpp.

Definition at line 188 of file ThymioFlasher.cpp.

void Aseba::ThymioFlasherDialog::flashProgress ( int  percentage) [private, slot]

Definition at line 183 of file ThymioFlasher.cpp.

ThymioFlasherDialog::FlashResult Aseba::ThymioFlasherDialog::flashThread ( const std::string &  _target,
const std::string &  hexFileName 
) const [private]

Definition at line 147 of file ThymioFlasher.cpp.

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

Definition at line 120 of file ThymioFlasher.cpp.

Definition at line 113 of file ThymioFlasher.cpp.


Member Data Documentation

Definition at line 69 of file ThymioFlasher.h.

Definition at line 66 of file ThymioFlasher.h.

Definition at line 71 of file ThymioFlasher.h.

Definition at line 73 of file ThymioFlasher.h.

Definition at line 74 of file ThymioFlasher.h.

Definition at line 67 of file ThymioFlasher.h.

Definition at line 68 of file ThymioFlasher.h.

Definition at line 65 of file ThymioFlasher.h.

QProgressBar* Aseba::ThymioFlasherDialog::progressBar [private]

Definition at line 70 of file ThymioFlasher.h.

Definition at line 72 of file ThymioFlasher.h.

std::string Aseba::ThymioFlasherDialog::target [private]

Definition at line 64 of file ThymioFlasher.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