8 #include <QStateMachine>
10 #include <QAbstractTransition>
11 #include <QPropertyAnimation>
12 #include "slidewidget.h"
15 #include "systemsettings.h"
16 #include "mycheckboxcontainer.h"
18 #define WILLEM_LIU "WillemLiu"
19 #define EASY_LIST "easylist"
20 #define DBUS_KEYBOARD_SLIDE "/org/freedesktop/Hal/devices/platform_slide"
21 #define CHECKED_ITEMS_TO_BOTTOM "CheckedItemsToBottom"
22 #define LANDSCAPE "Landscape"
23 #define PORTRAIT "Portrait"
24 #define LIST_TEXT "ListText"
30 class MainForm : public QMainWindow
35 explicit MainForm(QWidget *parent = 0);
38 void setLandscapeMode(bool landscape);
41 void keyboardClosed(bool closed);
42 void changeWidget(SlideWidget * currentWidget);
43 void stateOutFinished();
47 bool tempLandscapeMode;
55 void on_actionChecked_bottom_triggered();
56 void on_actionAbout_triggered();
57 void on_actionRotate_triggered();