| 1 |
#ifndef VIDCAPCONFIGDIALOG_H |
| 2 |
#define VIDCAPCONFIGDIALOG_H |
| 3 |
|
| 4 |
#include "okdialog.h" |
| 5 |
|
| 6 |
class QVButtonGroup; |
| 7 |
class QButtonGroup; |
| 8 |
class QCheckBox; |
| 9 |
class QComboBox; |
| 10 |
class QLabel; |
| 11 |
class QLineEdit; |
| 12 |
class QPushButton; |
| 13 |
class QRadioButton; |
| 14 |
class QSpinBox; |
| 15 |
class QTabWidget; |
| 16 |
class QWidget; |
| 17 |
class QGroupBox; |
| 18 |
class QListView; |
| 19 |
|
| 20 |
class VidcapConfigDialog : public QavmOkDialog |
| 21 |
{ |
| 22 |
Q_OBJECT; |
| 23 |
|
| 24 |
public: |
| 25 |
VidcapConfigDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); |
| 26 |
~VidcapConfigDialog(); |
| 27 |
|
| 28 |
QTabWidget* tabWidget; |
| 29 |
QComboBox* _Colorspace; |
| 30 |
QComboBox* _Resolution; |
| 31 |
QLineEdit* _CapDevice; |
| 32 |
QLineEdit* _AudDevice; |
| 33 |
QComboBox* _VideoColorMode; |
| 34 |
QComboBox* _VideoChannel; |
| 35 |
QLineEdit* _FileName; |
| 36 |
QPushButton* _ChangeFile; |
| 37 |
QComboBox* _fps; |
| 38 |
QCheckBox* _HaveSegmented; |
| 39 |
QLineEdit* _SegmentSize; |
| 40 |
QComboBox* _listSamp; |
| 41 |
QCheckBox* _HaveAudio; |
| 42 |
QComboBox* _listFreq; |
| 43 |
QComboBox* _listChan; |
| 44 |
QLabel* _codecName; |
| 45 |
QPushButton* _ChangeCodec; |
| 46 |
QButtonGroup* ButtonGroup1; |
| 47 |
QCheckBox* _chkFileSize; |
| 48 |
QLineEdit* _timeLimit; |
| 49 |
QLineEdit* _sizeLimit; |
| 50 |
QCheckBox* _chkTime; |
| 51 |
|
| 52 |
//shutdown |
| 53 |
|
| 54 |
//QCheckBox *cb_allow_shutdown; |
| 55 |
QVButtonGroup *rb_buttons; |
| 56 |
QRadioButton *rb_shutdown_never; |
| 57 |
QRadioButton *rb_shutdown_last; |
| 58 |
QRadioButton *rb_shutdown_inbetween; |
| 59 |
|
| 60 |
QSpinBox *sb_min_timespan; |
| 61 |
QSpinBox *sb_reboot_timespan; |
| 62 |
QSpinBox *sb_shutdown_grace; |
| 63 |
|
| 64 |
QCheckBox *cb_never_overwrite; |
| 65 |
|
| 66 |
QGroupBox *gb_dirpool; |
| 67 |
QListView *lv_dirpool; |
| 68 |
QPushButton *bt_add_dirpool,*bt_rem_dirpool; |
| 69 |
QLineEdit *le_dirpool_name; |
| 70 |
QSpinBox *qs_dirpool_minfree; |
| 71 |
|
| 72 |
QCheckBox *cb_log; |
| 73 |
QPushButton *bt_password_set,*bt_password_lock; |
| 74 |
|
| 75 |
QComboBox *named_codecs_cb; |
| 76 |
|
| 77 |
public slots: |
| 78 |
virtual void apply() = 0; |
| 79 |
virtual void change_codec() = 0; |
| 80 |
virtual void change_filename() = 0; |
| 81 |
virtual void toggle_audio(bool) = 0; |
| 82 |
virtual void toggle_limitsize(bool) = 0; |
| 83 |
virtual void toggle_limittime(bool) = 0; |
| 84 |
virtual void toggle_segmented(bool) = 0; |
| 85 |
|
| 86 |
virtual void dirpool_add() = 0; |
| 87 |
virtual void dirpool_rem() = 0; |
| 88 |
}; |
| 89 |
|
| 90 |
#endif // VIDCAPCONFIGDIALOG_H |