41 QPushButton *SchemeDelete; |
41 QPushButton *SchemeDelete; |
42 QComboBox *SchemesName; |
42 QComboBox *SchemesName; |
43 |
43 |
44 QComboBox *CBLanguage; |
44 QComboBox *CBLanguage; |
45 |
45 |
46 IconedGroupBox *teamsBox; |
46 IconedGroupBox *teamsBox;; |
47 QPushButton *BtnNewTeam; |
|
48 QPushButton *BtnEditTeam; |
|
49 QPushButton *BtnDeleteTeam; |
|
50 QPushButton *BtnAssociateFiles; |
47 QPushButton *BtnAssociateFiles; |
51 QLabel *LblNoEditTeam; |
|
52 QComboBox *CBTeamName; |
48 QComboBox *CBTeamName; |
53 IconedGroupBox *AGGroupBox; |
49 IconedGroupBox *AGGroupBox; |
54 QComboBox *CBResolution; |
50 QComboBox *CBResolution; |
55 QComboBox *CBStereoMode; |
51 QComboBox *CBStereoMode; |
56 QCheckBox *CBEnableSound; |
52 QCheckBox *CBEnableSound; |
74 QLineEdit *editNetNick; |
70 QLineEdit *editNetNick; |
75 QLineEdit *editNetPassword; |
71 QLineEdit *editNetPassword; |
76 QSlider *SLQuality; |
72 QSlider *SLQuality; |
77 QCheckBox *CBFrontendEffects; |
73 QCheckBox *CBFrontendEffects; |
78 |
74 |
|
75 void setTeamOptionsEnabled(bool enabled); |
|
76 |
|
77 signals: |
|
78 void newTeamRequested(); |
|
79 void editTeamRequested(const QString & teamName); |
|
80 void deleteTeamRequested(const QString & teamName); |
|
81 |
|
82 |
79 private: |
83 private: |
80 bool previousFullscreenValue; |
84 bool previousFullscreenValue; |
81 int previousResolutionIndex; |
85 int previousResolutionIndex; |
82 int previousQuality; |
86 int previousQuality; |
|
87 QLabel *LblNoEditTeam; |
|
88 QPushButton *BtnNewTeam; |
|
89 QPushButton *BtnEditTeam; |
|
90 QPushButton *BtnDeleteTeam; |
83 QPushButton *BtnBack; |
91 QPushButton *BtnBack; |
84 |
92 |
85 private slots: |
93 private slots: |
86 void forceFullscreen(int index); |
94 void forceFullscreen(int index); |
87 void setFullscreen(int state); |
95 void setFullscreen(int state); |
88 void setResolution(int state); |
96 void setResolution(int state); |
89 void setQuality(int value); |
97 void setQuality(int value); |
90 void trimNetNick(); |
98 void trimNetNick(); |
|
99 void requestEditSelectedTeam(); |
|
100 void requestDeleteSelectedTeam(); |
91 }; |
101 }; |
92 |
102 |
93 #endif |
103 #endif |
94 |
104 |