blob: 3b62c354344ee36077a16f7bcccc42622b536d13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
/*
*
* $Id: k3bvcdtrackdialog.h 619556 2007-01-03 17:38:12Z trueg $
* Copyright (C) 2003-2004 Christian Kvasny <[email protected]>
*
* This file is part of the K3b project.
* Copyright (C) 1998-2007 Sebastian Trueg <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* See the file "COPYING" for the exact licensing terms.
*/
#ifndef K3BVCDTRACKDIALOG_H
#define K3BVCDTRACKDIALOG_H
#include <kdialogbase.h>
#include <qptrlist.h>
#include <qtabwidget.h>
#include <k3bvcddoc.h>
#include <k3blistview.h>
class K3bVcdTrack;
class QLabel;
class QCheckBox;
class QComboBox;
class QGroupBox;
class QRadioButton;
class QButtonGroup;
class KCutLabel;
class K3bCutComboBox;
class K3bVcdTrackDialog : public KDialogBase
{
Q_OBJECT
public:
K3bVcdTrackDialog( K3bVcdDoc*, QPtrList<K3bVcdTrack>& tracks, QPtrList<K3bVcdTrack>& selectedTracks, QWidget* parent = 0, const char* name = 0 );
~K3bVcdTrackDialog();
protected slots:
void slotOk();
void slotApply();
private slots:
void slotPlayTimeChanged( int );
void slotWaitTimeChanged( int );
void slotPbcToggled( bool );
void slotUseKeysToggled( bool );
void slotGroupkeyToggled( bool );
private:
K3bVcdDoc* m_vcdDoc;
QPtrList<K3bVcdTrack> m_tracks;
QPtrList<K3bVcdTrack> m_selectedTracks;
QMap<QString, K3bVcdTrack*> m_numkeysmap;
QTabWidget* m_mainTabbed;
KCutLabel* m_displayFileName;
QLabel* m_labelMimeType;
QLabel* m_displaySize;
QLabel* m_displayLength;
QLabel* m_muxrate;
QLabel* m_mpegver_audio;
QLabel* m_rate_audio;
QLabel* m_sampling_frequency_audio;
QLabel* m_mode_audio;
QLabel* m_copyright_audio;
QLabel* m_mpegver_video;
QLabel* m_rate_video;
QLabel* m_chromaformat_video;
QLabel* m_format_video;
QLabel* m_resolution_video;
QLabel* m_highresolution_video;
QLabel* m_labelAfterTimeout;
QLabel* m_labelWait;
QGroupBox* m_groupPlay;
QGroupBox* m_groupPbc;
QGroupBox* m_groupKey;
QWidget* m_widgetnumkeys;
K3bCutComboBox* m_pbc_previous;
K3bCutComboBox* m_pbc_next;
K3bCutComboBox* m_pbc_return;
K3bCutComboBox* m_pbc_default;
K3bCutComboBox* m_comboAfterTimeout;
QCheckBox* m_check_reactivity;
QCheckBox* m_check_pbc;
QCheckBox* m_check_usekeys;
QCheckBox* m_check_overwritekeys;
K3bListView* m_list_keys;
QSpinBox* m_spin_times;
QSpinBox* m_spin_waittime;
void prepareGui();
void setupPbcTab();
void setupPbcKeyTab();
void setupAudioTab();
void setupVideoTab();
void fillGui();
void fillPbcGui();
void setPbcTrack( K3bVcdTrack*, K3bCutComboBox*, int );
void setDefinedNumKeys( );
QString displayName( K3bVcdTrack* );
K3bVcdOptions* VcdOptions()
{
return m_vcdDoc->vcdOptions();
}
};
#endif
|