Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Pierogi
Summary Forums Tracker Lists Tasks Docs News SCM Files
1 #ifndef PIRSECONDARYFORM_H
2 #define PIRSECONDARYFORM_H
4 #include <QWidget>
6 namespace Ui {
7 class PIRSecondaryForm;
8 }
10 class MainWindow;
11 class PIRKeysetManager;
13 class PIRSecondaryForm : public QWidget
14 {
15   Q_OBJECT
16   
17 public:
18   explicit PIRSecondaryForm(QWidget *parent = 0);
20   ~PIRSecondaryForm();
22   void enableButtons(
23     const PIRKeysetManager *keyset,
24     unsigned int id);
26 signals:
27   // TV Tab:
28   void teletextEnabled(bool);
29   void teletextSizeEnabled(bool);
30   void favoritesEnabled(bool);
31   void pageUpEnabled(bool);
32   void teletextHoldEnabled(bool);
33   void teletextRevealEnabled(bool);
34   void liveTVEnabled(bool);
35   void pageDownEnabled(bool);
36   void pipEnabled(bool);
37   void pipSwapEnabled(bool);
38   void pipMoveEnabled(bool);
39   void pipSourceEnabled(bool);
40   void pipChannelUpEnabled(bool);
41   void pipChannelDownEnabled(bool);
42   void pipPauseEnabled(bool);
43   void pipSizeEnabled(bool);
45   // Media2 Tab
46   void tunerBandEnabled(bool);
47   void programEnabled(bool);
48   void memoryEnabled(bool);
49   void callEnabled(bool);
50   void autoTrackingEnabled(bool);
51   void trackingMinusEnabled(bool);
52   void trackingPlusEnabled(bool);
53   void vhsSpeedEnabled(bool);
54   void slowEnabled(bool);
55   void slowMinusEnabled(bool);
56   void slowPlusEnabled(bool);
57   void nextDiscEnabled(bool);
58   void repeatEnabled(bool);
59   void repeatABEnabled(bool);
60   void randomEnabled(bool);
61   void discTitleEnabled(bool);
63   // Input Tab
64   void cdInputEnabled(bool);
65   void tapeInputEnabled(bool);
66   void phonoInputEnabled(bool);
67   void tunerInputEnabled(bool);
68   void pcInputEnabled(bool);
69   void hdmiInputEnabled(bool);
70   void dvdInputEnabled(bool);
71   void vcrInputEnabled(bool);
72   void antennaInputEnabled(bool);
73   void cableInputEnabled(bool);
74   void satelliteInputEnabled(bool);
75   void auxInputEnabled(bool);
77   // Adjust Tab
78   void bassUpEnabled(bool);
79   void trebleUpEnabled(bool);
80   void enhancedBassEnabled(bool);
81   void noiseReductionEnabled(bool);
82   void bassDownEnabled(bool);
83   void trebleDownEnabled(bool);
84   void balanceLeftEnabled(bool);
85   void balanceRightEnabled(bool);
86   void surroundEnabled(bool);
87   void colorUpEnabled(bool);
88   void brightnessUpEnabled(bool);
89   void contrastUpEnabled(bool);
90   void zoomEnabled(bool);
91   void colorDownEnabled(bool);
92   void brightnessDownEnabled(bool);
93   void contrastDownEnabled(bool);
94   
95 private slots:
96   // TV Tab:
97   void on_teletextButton_pressed();
98   void on_teletextButton_released();
99   void on_teletextSizeButton_pressed();
100   void on_teletextSizeButton_released();
101   void on_favoritesButton_pressed();
102   void on_favoritesButton_released();
103   void on_pageUpButton_pressed();
104   void on_pageUpButton_released();
105   void on_teletextHoldButton_pressed();
106   void on_teletextHoldButton_released();
107   void on_teletextRevealButton_pressed();
108   void on_teletextRevealButton_released();
109   void on_liveTVButton_pressed();
110   void on_liveTVButton_released();
111   void on_pageDownButton_pressed();
112   void on_pageDownButton_released();
113   void on_pipButton_pressed();
114   void on_pipButton_released();
115   void on_pipSwapButton_pressed();
116   void on_pipSwapButton_released();
117   void on_pipMoveButton_pressed();
118   void on_pipMoveButton_released();
119   void on_pipSourceButton_pressed();
120   void on_pipSourceButton_released();
121   void on_pipChannelUpButton_pressed();
122   void on_pipChannelUpButton_released();
123   void on_pipChannelDownButton_pressed();
124   void on_pipChannelDownButton_released();
125   void on_pipPauseButton_pressed();
126   void on_pipPauseButton_released();
127   void on_pipSizeButton_pressed();
128   void on_pipSizeButton_released();
130   // Media2 Tab
131   void on_tunerBandButton_pressed();
132   void on_tunerBandButton_released();
133   void on_programButton_pressed();
134   void on_programButton_released();
135   void on_memoryButton_pressed();
136   void on_memoryButton_released();
137   void on_callButton_pressed();
138   void on_callButton_released();
139   void on_autoTrackingButton_pressed();
140   void on_autoTrackingButton_released();
141   void on_trackingMinusButton_pressed();
142   void on_trackingMinusButton_released();
143   void on_trackingPlusButton_pressed();
144   void on_trackingPlusButton_released();
145   void on_vhsSpeedButton_pressed();
146   void on_vhsSpeedButton_released();
147   void on_slowButton_pressed();
148   void on_slowButton_released();
149   void on_slowMinusButton_pressed();
150   void on_slowMinusButton_released();
151   void on_slowPlusButton_pressed();
152   void on_slowPlusButton_released();
153   void on_discSelectButton_pressed();
154   void on_discSelectButton_released();
155   void on_repeatButton_pressed();
156   void on_repeatButton_released();
157   void on_repeatABButton_pressed();
158   void on_repeatABButton_released();
159   void on_randomButton_pressed();
160   void on_randomButton_released();
161   void on_discTitleButton_pressed();
162   void on_discTitleButton_released();
164   // Input Tab
165   void on_cdInputButton_pressed();
166   void on_cdInputButton_released();
167   void on_tapeInputButton_pressed();
168   void on_tapeInputButton_released();
169   void on_phonoInputButton_pressed();
170   void on_phonoInputButton_released();
171   void on_tunerInputButton_pressed();
172   void on_tunerInputButton_released();
173   void on_pcInputButton_pressed();
174   void on_pcInputButton_released();
175   void on_hdmiInputButton_pressed();
176   void on_hdmiInputButton_released();
177   void on_dvdInputButton_pressed();
178   void on_dvdInputButton_released();
179   void on_vcrInputButton_pressed();
180   void on_vcrInputButton_released();
181   void on_antennaInputButton_pressed();
182   void on_antennaInputButton_released();
183   void on_cableInputButton_pressed();
184   void on_cableInputButton_released();
185   void on_satelliteInputButton_pressed();
186   void on_satelliteInputButton_released();
187   void on_auxInputButton_pressed();
188   void on_auxInputButton_released();
190   // Adjust Tab
191   void on_bassUpButton_pressed();
192   void on_bassUpButton_released();
193   void on_trebleUpButton_pressed();
194   void on_trebleUpButton_released();
195   void on_enhancedBassButton_pressed();
196   void on_enhancedBassButton_released();
197   void on_noiseReductionButton_pressed();
198   void on_noiseReductionButton_released();
199   void on_bassDownButton_pressed();
200   void on_bassDownButton_released();
201   void on_trebleDownButton_pressed();
202   void on_trebleDownButton_released();
203   void on_balanceLeftButton_pressed();
204   void on_balanceLeftButton_released();
205   void on_balanceRightButton_pressed();
206   void on_balanceRightButton_released();
207   void on_colorUpButton_pressed();
208   void on_colorUpButton_released();
209   void on_brightnessUpButton_pressed();
210   void on_brightnessUpButton_released();
211   void on_contrastUpButton_pressed();
212   void on_contrastUpButton_released();
213   void on_colorDownButton_pressed();
214   void on_colorDownButton_released();
215   void on_brightnessDownButton_pressed();
216   void on_brightnessDownButton_released();
217   void on_contrastDownButton_pressed();
218   void on_contrastDownButton_released();
219   void on_surroundButton_pressed();
220   void on_surroundButton_released();
221   void on_zoomButton_pressed();
222   void on_zoomButton_released();
224 private:
225   Ui::PIRSecondaryForm *ui;
227   MainWindow *mainWindow;
228 };
230 #endif // PIRSECONDARYFORM_H

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment