#include <ThymioFlasher.h>
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< FlashResult > | flashFuture |
QFutureWatcher< FlashResult > | flashFutureWatcher |
QHBoxLayout * | flashLayout |
QLineEdit * | lineEdit |
QVBoxLayout * | mainLayout |
QProgressBar * | progressBar |
QPushButton * | quitButton |
std::string | target |
Definition at line 43 of file ThymioFlasher.h.
Aseba::ThymioFlasherDialog::ThymioFlasherDialog | ( | const std::string & | target | ) |
Definition at line 57 of file ThymioFlasher.cpp.
Definition at line 108 of file ThymioFlasher.cpp.
void Aseba::ThymioFlasherDialog::doFlash | ( | void | ) | [private, slot] |
Definition at line 127 of file ThymioFlasher.cpp.
void Aseba::ThymioFlasherDialog::flashFinished | ( | ) | [private, slot] |
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.
void Aseba::ThymioFlasherDialog::setupFlashButtonState | ( | ) | [private, slot] |
Definition at line 113 of file ThymioFlasher.cpp.
QPushButton* Aseba::ThymioFlasherDialog::fileButton [private] |
Definition at line 69 of file ThymioFlasher.h.
QHBoxLayout* Aseba::ThymioFlasherDialog::fileLayout [private] |
Definition at line 66 of file ThymioFlasher.h.
QPushButton* Aseba::ThymioFlasherDialog::flashButton [private] |
Definition at line 71 of file ThymioFlasher.h.
QFuture<FlashResult> Aseba::ThymioFlasherDialog::flashFuture [private] |
Definition at line 73 of file ThymioFlasher.h.
QFutureWatcher<FlashResult> Aseba::ThymioFlasherDialog::flashFutureWatcher [private] |
Definition at line 74 of file ThymioFlasher.h.
QHBoxLayout* Aseba::ThymioFlasherDialog::flashLayout [private] |
Definition at line 67 of file ThymioFlasher.h.
QLineEdit* Aseba::ThymioFlasherDialog::lineEdit [private] |
Definition at line 68 of file ThymioFlasher.h.
QVBoxLayout* Aseba::ThymioFlasherDialog::mainLayout [private] |
Definition at line 65 of file ThymioFlasher.h.
QProgressBar* Aseba::ThymioFlasherDialog::progressBar [private] |
Definition at line 70 of file ThymioFlasher.h.
QPushButton* Aseba::ThymioFlasherDialog::quitButton [private] |
Definition at line 72 of file ThymioFlasher.h.
std::string Aseba::ThymioFlasherDialog::target [private] |
Definition at line 64 of file ThymioFlasher.h.