~ubuntu-branches/debian/squeeze/smplayer/squeeze

« back to all changes in this revision

Viewing changes to src/preferencesdialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Breuil Cyril
  • Date: 2007-06-24 16:35:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070624163529-hhckbmd24uicada7
Tags: 0.5.20-0ubuntu1
* New upstream release
* Change Maintainer Email

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
 
32
32
public:
33
33
        enum Section { General=0, Drives=1, Performance=2, Subtitles=3,
34
 
                   Gui=4, Mouse=5, Advanced=6, Logs=7};
 
34
                   Gui=4, Mouse=5, Advanced=6 };
35
35
 
36
36
        PreferencesDialog( QWidget* parent = 0, const char* name = 0, bool modal  = FALSE, WFlags fl = 0 );
37
37
    ~PreferencesDialog();
39
39
        // Call it as soon as possible
40
40
        void setDrivers(InfoList vo_list, InfoList ao_list);
41
41
        bool hasDriversList() { return drivers_set; };
 
42
        void setActionsList(QStringList l);
42
43
 
43
44
        // General Page
44
45
        void setMplayerPath( QString path );
59
60
        void setSoftVol(bool b);
60
61
        bool softVol();
61
62
 
 
63
        void setAc3DTSPassthrough(bool b);
 
64
        bool Ac3DTSPassthrough();
 
65
 
 
66
        void setVolNorm(bool b);
 
67
        bool volNorm();
 
68
 
 
69
        void setPostprocessing(bool b);
 
70
        bool postprocessing();
 
71
 
 
72
        void setAmplification(int n);
 
73
        int amplification();
 
74
 
62
75
        void setRememberSettings(bool b);
63
76
        bool rememberSettings();
64
77
 
91
104
        void setResizeMethod(int v);
92
105
        int resizeMethod();
93
106
 
94
 
        /*
95
 
        void setWheelSeek(int secs);
96
 
        int wheelSeek();
97
 
        */
98
 
 
99
107
        void setMonitorAspect(QString asp);
100
108
        QString monitorAspect();
101
109
 
129
137
        void setDoubleClickFunction(QString f);
130
138
        QString doubleClickFunction();
131
139
 
132
 
        void setWheelChangesVolume(bool b);
133
 
        bool wheelChangesVolume();
 
140
        void setWheelFunction(int function);
 
141
        int wheelFunction();
134
142
 
135
143
        void setInitialVolume(int v);
136
144
        int initialVolume();
163
171
        void setFontEncoding(QString s);
164
172
        QString fontEncoding();
165
173
 
 
174
        void setSubPos(int pos);
 
175
        int subPos();
 
176
 
166
177
        void setUseFontASS(bool v);
167
178
        bool useFontASS();
168
179
 
172
183
        void setAssBorderColor( unsigned int color );
173
184
        unsigned int assBorderColor();
174
185
 
 
186
        void setAssStyles(QString styles);
 
187
        QString assStyles();
 
188
 
175
189
        void setFontFuzziness(int n);
176
190
        int fontFuzziness();
177
191
 
 
192
        void setUseSubfont(bool b);
 
193
        bool useSubfont();
 
194
 
178
195
        // Advanced Page
179
196
        void setClearBackground(bool b);
180
197
        bool clearBackground();
191
208
        void setMplayerAdditionalAudioFilters(QString s);
192
209
        QString mplayerAdditionalAudioFilters();
193
210
 
 
211
        void setColorKey(unsigned int c);
 
212
        unsigned int colorKey();
 
213
 
194
214
        // Performance Page
 
215
        void setCacheEnabled(bool b);
 
216
        bool cacheEnabled();
 
217
 
195
218
        void setCache(int n);
196
219
        int cache();
197
220
 
228
251
        void setLogFilter(QString filter);
229
252
        QString logFilter();
230
253
 
 
254
        // MPlayer language
 
255
        void setEndOfFileText(QString t);
 
256
        QString endOfFileText();
 
257
 
 
258
        void setNoVideoText(QString t);
 
259
        QString noVideoText();
 
260
 
231
261
public slots:
232
262
        void showSection(Section);
233
263
 
253
283
        void selectMplayerPath();
254
284
        void selectScreenshotDirectory();
255
285
 
 
286
        virtual void selectColorkey();
 
287
 
256
288
        // Reimplemented to send a signal
257
289
        void accept();
258
290
        void apply();