Classes | |
struct | point |
Public Member Functions | |
SvmToyWindow () | |
~SvmToyWindow () | |
Protected Member Functions | |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | paintEvent (QPaintEvent *) |
Private Slots | |
void | button_change_icon_clicked () |
void | button_clear_clicked () |
void | button_load_clicked () |
void | button_run_clicked () |
void | button_save_clicked () |
Private Member Functions | |
const QPixmap & | choose_icon (int v) |
void | clear_all () |
void | draw_all_points () |
void | draw_point (const point &p) |
Private Attributes | |
QPixmap | buffer |
QPainter | buffer_painter |
QPushButton | button_change_icon |
QPushButton | button_clear |
QPushButton | button_load |
QPushButton | button_run |
QPushButton | button_save |
int | current_value |
QPixmap | icon1 |
QPixmap | icon2 |
QPixmap | icon3 |
QLineEdit | input_line |
list< point > | point_list |
Definition at line 24 of file qt/svm-toy.cpp.
Definition at line 326 of file qt/svm-toy.cpp.
Definition at line 385 of file qt/svm-toy.cpp.
void SvmToyWindow::button_change_icon_clicked | ( | ) | [inline, private, slot] |
Definition at line 78 of file qt/svm-toy.cpp.
void SvmToyWindow::button_clear_clicked | ( | ) | [inline, private, slot] |
Definition at line 279 of file qt/svm-toy.cpp.
void SvmToyWindow::button_load_clicked | ( | ) | [inline, private, slot] |
Definition at line 297 of file qt/svm-toy.cpp.
void SvmToyWindow::button_run_clicked | ( | ) | [inline, private, slot] |
Definition at line 84 of file qt/svm-toy.cpp.
void SvmToyWindow::button_save_clicked | ( | ) | [inline, private, slot] |
Definition at line 283 of file qt/svm-toy.cpp.
const QPixmap& SvmToyWindow::choose_icon | ( | int | v | ) | [inline, private] |
Definition at line 54 of file qt/svm-toy.cpp.
void SvmToyWindow::clear_all | ( | ) | [inline, private] |
Definition at line 60 of file qt/svm-toy.cpp.
void SvmToyWindow::draw_all_points | ( | ) | [inline, private] |
Definition at line 72 of file qt/svm-toy.cpp.
void SvmToyWindow::draw_point | ( | const point & | p | ) | [inline, private] |
Definition at line 66 of file qt/svm-toy.cpp.
void SvmToyWindow::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 390 of file qt/svm-toy.cpp.
void SvmToyWindow::paintEvent | ( | QPaintEvent * | ) | [protected, virtual] |
Definition at line 397 of file qt/svm-toy.cpp.
QPixmap SvmToyWindow::buffer [private] |
Definition at line 37 of file qt/svm-toy.cpp.
QPainter SvmToyWindow::buffer_painter [private] |
Definition at line 47 of file qt/svm-toy.cpp.
QPushButton SvmToyWindow::button_change_icon [private] |
Definition at line 41 of file qt/svm-toy.cpp.
QPushButton SvmToyWindow::button_clear [private] |
Definition at line 43 of file qt/svm-toy.cpp.
QPushButton SvmToyWindow::button_load [private] |
Definition at line 45 of file qt/svm-toy.cpp.
QPushButton SvmToyWindow::button_run [private] |
Definition at line 42 of file qt/svm-toy.cpp.
QPushButton SvmToyWindow::button_save [private] |
Definition at line 44 of file qt/svm-toy.cpp.
int SvmToyWindow::current_value [private] |
Definition at line 53 of file qt/svm-toy.cpp.
QPixmap SvmToyWindow::icon1 [private] |
Definition at line 38 of file qt/svm-toy.cpp.
QPixmap SvmToyWindow::icon2 [private] |
Definition at line 39 of file qt/svm-toy.cpp.
QPixmap SvmToyWindow::icon3 [private] |
Definition at line 40 of file qt/svm-toy.cpp.
QLineEdit SvmToyWindow::input_line [private] |
Definition at line 46 of file qt/svm-toy.cpp.
list<point> SvmToyWindow::point_list [private] |
Definition at line 52 of file qt/svm-toy.cpp.