Subversion Repositories tpanel

Rev

Rev 386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 386 Rev 391
Line 33... Line 33...
33
class QVideoWidget;
33
class QVideoWidget;
34
class QPropertyAnimation;
34
class QPropertyAnimation;
35
class QListWidget;
35
class QListWidget;
36
class TQScrollArea;
36
class TQScrollArea;
37
class MainWindow;
37
class MainWindow;
-
 
38
class TQMarquee;
38
QT_END_NAMESPACE
39
QT_END_NAMESPACE
39
 
40
 
40
class TObject
41
class TObject
41
{
42
{
42
    public:
43
    public:
Line 44... Line 45...
44
        {
45
        {
45
            OBJ_NONE,
46
            OBJ_NONE,
46
            OBJ_PAGE,
47
            OBJ_PAGE,
47
            OBJ_SUBPAGE,
48
            OBJ_SUBPAGE,
48
            OBJ_BUTTON,
49
            OBJ_BUTTON,
-
 
50
            OBJ_MARQUEE,
49
            OBJ_TEXT,
51
            OBJ_TEXT,
50
            OBJ_INPUT,
52
            OBJ_INPUT,
51
            OBJ_LIST,
53
            OBJ_LIST,
52
            OBJ_VIDEO,
54
            OBJ_VIDEO,
53
            OBJ_SUBVIEW
55
            OBJ_SUBVIEW
Line 55... Line 57...
55
 
57
 
56
        typedef union _OBJ
58
        typedef union _OBJ
57
        {
59
        {
58
            QVideoWidget *vwidget{nullptr}; // A video window
60
            QVideoWidget *vwidget{nullptr}; // A video window
59
            QLabel *label;                  // For buttons
61
            QLabel *label;                  // For buttons
-
 
62
            TQMarquee *marquee;             // For marquee lines
60
            QWidget *widget;                // For subpage
63
            QWidget *widget;                // For subpage
61
            TQEditLine *plaintext;          // For text input
64
            TQEditLine *plaintext;          // For text input
62
            QListWidget *list;              // For lists
65
            QListWidget *list;              // For lists
63
            TQScrollArea *area;             // For scroll area
66
            TQScrollArea *area;             // For scroll area
64
        }_OBJ;
67
        }_OBJ;