Line 73... |
Line 73... |
73 |
|
73 |
|
74 |
Q_DECLARE_METATYPE(size_t)
|
74 |
Q_DECLARE_METATYPE(size_t)
|
75 |
|
75 |
|
76 |
int qtmain(int argc, char **argv, TPageManager *pmanager);
|
76 |
int qtmain(int argc, char **argv, TPageManager *pmanager);
|
77 |
|
77 |
|
78 |
//class MainWindow : public QMainWindow, TQManageQueue, public TObject
|
- |
|
79 |
class MainWindow : public QMainWindow, public TObject
|
78 |
class MainWindow : public QMainWindow, public TObject
|
80 |
{
|
79 |
{
|
81 |
Q_OBJECT
|
80 |
Q_OBJECT
|
82 |
|
81 |
|
83 |
public:
|
82 |
public:
|
Line 106... |
Line 105... |
106 |
void reconnectList(QListWidget *list);
|
105 |
void reconnectList(QListWidget *list);
|
107 |
#ifdef Q_OS_IOS
|
106 |
#ifdef Q_OS_IOS
|
108 |
static std::string orientationToString(Qt::ScreenOrientation ori);
|
107 |
static std::string orientationToString(Qt::ScreenOrientation ori);
|
109 |
#endif
|
108 |
#endif
|
110 |
signals:
|
109 |
signals:
|
111 |
void sigDisplayButton(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough);
|
110 |
void sigDisplayButton(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough, int marqtype, int marq);
|
- |
|
111 |
void sigSetMarqueeText(Button::TButton* button);
|
112 |
void sigDisplayViewButton(ulong handle, ulong parent, bool vertical, TBitmap buffer, int width, int height, int left, int top, int space, TColor::COLOR_T fillColor);
|
112 |
void sigDisplayViewButton(ulong handle, ulong parent, bool vertical, TBitmap buffer, int width, int height, int left, int top, int space, TColor::COLOR_T fillColor);
|
113 |
void sigAddViewButtonItems(ulong parent, std::vector<PGSUBVIEWITEM_T> items);
|
113 |
void sigAddViewButtonItems(ulong parent, std::vector<PGSUBVIEWITEM_T> items);
|
114 |
void sigUpdateViewButton(ulong handle, ulong parent, TBitmap buffer, TColor::COLOR_T fillColor);
|
114 |
void sigUpdateViewButton(ulong handle, ulong parent, TBitmap buffer, TColor::COLOR_T fillColor);
|
115 |
void sigUpdateViewButtonItem(PGSUBVIEWITEM_T& item, ulong parent);
|
115 |
void sigUpdateViewButtonItem(PGSUBVIEWITEM_T& item, ulong parent);
|
116 |
void sigShowViewButtonItem(ulong handle, ulong parent, int position, int timer);
|
116 |
void sigShowViewButtonItem(ulong handle, ulong parent, int position, int timer);
|
Line 172... |
Line 172... |
172 |
void settings();
|
172 |
void settings();
|
173 |
void about();
|
173 |
void about();
|
174 |
#ifndef QT_NO_SESSIONMANAGER
|
174 |
#ifndef QT_NO_SESSIONMANAGER
|
175 |
void commitData(QSessionManager &);
|
175 |
void commitData(QSessionManager &);
|
176 |
#endif
|
176 |
#endif
|
177 |
void displayButton(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough);
|
177 |
void displayButton(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough, int marqtype, int marq);
|
- |
|
178 |
void setMarqueeText(Button::TButton *button);
|
178 |
void displayViewButton(ulong handle, ulong parent, bool vertical, TBitmap buffer, int width, int height, int left, int top, int space, TColor::COLOR_T fillColor);
|
179 |
void displayViewButton(ulong handle, ulong parent, bool vertical, TBitmap buffer, int width, int height, int left, int top, int space, TColor::COLOR_T fillColor);
|
179 |
void addViewButtonItems(ulong parent, std::vector<PGSUBVIEWITEM_T> items);
|
180 |
void addViewButtonItems(ulong parent, std::vector<PGSUBVIEWITEM_T> items);
|
180 |
void updateViewButton(ulong handle, ulong parent, TBitmap buffer, TColor::COLOR_T fillColor);
|
181 |
void updateViewButton(ulong handle, ulong parent, TBitmap buffer, TColor::COLOR_T fillColor);
|
181 |
void updateViewButtonItem(PGSUBVIEWITEM_T& item, ulong parent);
|
182 |
void updateViewButtonItem(PGSUBVIEWITEM_T& item, ulong parent);
|
182 |
void showViewButtonItem(ulong handle, ulong parent, int position, int timer);
|
183 |
void showViewButtonItem(ulong handle, ulong parent, int position, int timer);
|
Line 271... |
Line 272... |
271 |
void onCursorChanged(ulong handle, int oldPos, int newPos);
|
272 |
void onCursorChanged(ulong handle, int oldPos, int newPos);
|
272 |
void onGestureEvent(QObject *obj, QGestureEvent *event);
|
273 |
void onGestureEvent(QObject *obj, QGestureEvent *event);
|
273 |
QPixmap scaleImage(QPixmap& pix);
|
274 |
QPixmap scaleImage(QPixmap& pix);
|
274 |
QPixmap scaleImage(unsigned char *buffer, int width, int height, int pixline);
|
275 |
QPixmap scaleImage(unsigned char *buffer, int width, int height, int pixline);
|
275 |
|
276 |
|
276 |
void _displayButton(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough);
|
277 |
void _displayButton(ulong handle, ulong parent, TBitmap buffer, int width, int height, int left, int top, bool passthrough, int marqtype, int marq);
|
- |
|
278 |
void _setMarqueeText(Button::TButton *button);
|
277 |
void _displayViewButton(ulong handle, ulong parent, bool vertical, TBitmap buffer, int width, int height, int left, int top, int space, TColor::COLOR_T fillColor);
|
279 |
void _displayViewButton(ulong handle, ulong parent, bool vertical, TBitmap buffer, int width, int height, int left, int top, int space, TColor::COLOR_T fillColor);
|
278 |
void _addViewButtonItems(ulong parent, std::vector<PGSUBVIEWITEM_T> items);
|
280 |
void _addViewButtonItems(ulong parent, std::vector<PGSUBVIEWITEM_T> items);
|
279 |
void _updateViewButton(ulong handle, ulong parent, TBitmap buffer, TColor::COLOR_T fillColor);
|
281 |
void _updateViewButton(ulong handle, ulong parent, TBitmap buffer, TColor::COLOR_T fillColor);
|
280 |
void _updateViewButtonItem(PGSUBVIEWITEM_T& item, ulong parent);
|
282 |
void _updateViewButtonItem(PGSUBVIEWITEM_T& item, ulong parent);
|
281 |
void _showViewButtonItem(ulong handle, ulong parent, int position, int timer);
|
283 |
void _showViewButtonItem(ulong handle, ulong parent, int position, int timer);
|