QTfrontend/ui/widget/gamecfgwidget.h
changeset 8424 225ede46e3dc
parent 8377 869f80966a77
child 9080 9b42757d7e71
equal deleted inserted replaced
8423:8aa450f6cf2c 8424:225ede46e3dc
    29 
    29 
    30 class QCheckBox;
    30 class QCheckBox;
    31 class QVBoxLayout;
    31 class QVBoxLayout;
    32 class QLabel;
    32 class QLabel;
    33 class QTableView;
    33 class QTableView;
       
    34 class QTabWidget;
    34 
    35 
    35 class GameCFGWidget : public QGroupBox
    36 class GameCFGWidget : public QGroupBox
    36 {
    37 {
    37         Q_OBJECT
    38         Q_OBJECT
    38 
    39 
    54     public slots:
    55     public slots:
    55         void setParam(const QString & param, const QStringList & value);
    56         void setParam(const QString & param, const QStringList & value);
    56         void fullNetConfig();
    57         void fullNetConfig();
    57         void resendSchemeData();
    58         void resendSchemeData();
    58         void setMaster(bool master);
    59         void setMaster(bool master);
       
    60         void setTabbed(bool tabbed);
    59 
    61 
    60     signals:
    62     signals:
    61         void paramChanged(const QString & param, const QStringList & value);
    63         void paramChanged(const QString & param, const QStringList & value);
    62         void goToSchemes(int);
    64         void goToSchemes(int);
    63         void goToWeapons(int);
    65         void goToWeapons(int);
    77         void maze_sizeChanged(int s);
    79         void maze_sizeChanged(int s);
    78         void onDrawnMapChanged(const QByteArray & data);
    80         void onDrawnMapChanged(const QByteArray & data);
    79         void updateModelViews();
    81         void updateModelViews();
    80 
    82 
    81     private:
    83     private:
    82         QGridLayout mainLayout;
    84         QVBoxLayout mainLayout;
    83         QCheckBox * bindEntries;
    85         QCheckBox * bindEntries;
    84         QString curNetAmmoName;
    86         QString curNetAmmoName;
    85         QString curNetAmmo;
    87         QString curNetAmmo;
    86         QRegExp seedRegexp;
    88         QRegExp seedRegexp;
    87         QString m_curScript;
    89         QString m_curScript;
    88         bool m_master;
    90         bool m_master;
    89         QList<QWidget *> m_childWidgets;
    91         QList<QWidget *> m_childWidgets;
       
    92         QGridLayout * GBoxOptionsLayout;
       
    93         QWidget * OptionsInnerContainer;
       
    94         QWidget * StackContainer;
       
    95 
       
    96         QWidget * mapContainerFree;
       
    97         QWidget * mapContainerTabbed;
       
    98         QWidget * optionsContainerFree;
       
    99         QWidget * optionsContainerTabbed;
       
   100         bool tabbed;
       
   101         QTabWidget * tabs;
    90 
   102 
    91         void setNetAmmo(const QString& name, const QString& ammo);
   103         void setNetAmmo(const QString& name, const QString& ammo);
    92 
   104 
    93 };
   105 };
    94 
   106