blob: 0bf23e3b5da3308501b2b56dd1f149c0f558710e (
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
124
|
/*
*
* $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 <tqptrlist.h>
#include <tqtabwidget.h>
#include <k3bvcddoc.h>
#include <k3blistview.h>
class K3bVcdTrack;
class TQLabel;
class TQCheckBox;
class TQComboBox;
class TQGroupBox;
class TQRadioButton;
class TQButtonGroup;
class KCutLabel;
class K3bCutComboBox;
class K3bVcdTrackDialog : public KDialogBase
{
Q_OBJECT
TQ_OBJECT
public:
K3bVcdTrackDialog( K3bVcdDoc*, TQPtrList<K3bVcdTrack>& tracks, TQPtrList<K3bVcdTrack>& selectedTracks, TQWidget* 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;
TQPtrList<K3bVcdTrack> m_tracks;
TQPtrList<K3bVcdTrack> m_selectedTracks;
TQMap<TQString, K3bVcdTrack*> m_numkeysmap;
TQTabWidget* m_mainTabbed;
KCutLabel* m_displayFileName;
TQLabel* m_labelMimeType;
TQLabel* m_displaySize;
TQLabel* m_displayLength;
TQLabel* m_muxrate;
TQLabel* m_mpegver_audio;
TQLabel* m_rate_audio;
TQLabel* m_sampling_frequency_audio;
TQLabel* m_mode_audio;
TQLabel* m_copyright_audio;
TQLabel* m_mpegver_video;
TQLabel* m_rate_video;
TQLabel* m_chromaformat_video;
TQLabel* m_format_video;
TQLabel* m_resolution_video;
TQLabel* m_highresolution_video;
TQLabel* m_labelAfterTimeout;
TQLabel* m_labelWait;
TQGroupBox* m_groupPlay;
TQGroupBox* m_groupPbc;
TQGroupBox* m_groupKey;
TQWidget* m_widgetnumkeys;
K3bCutComboBox* m_pbc_previous;
K3bCutComboBox* m_pbc_next;
K3bCutComboBox* m_pbc_return;
K3bCutComboBox* m_pbc_default;
K3bCutComboBox* m_comboAfterTimeout;
TQCheckBox* m_check_reactivity;
TQCheckBox* m_check_pbc;
TQCheckBox* m_check_usekeys;
TQCheckBox* m_check_overwritekeys;
K3bListView* m_list_keys;
TQSpinBox* m_spin_times;
TQSpinBox* m_spin_waittime;
void prepareGui();
void setupPbcTab();
void setupPbcKeyTab();
void setupAudioTab();
void setupVideoTab();
void fillGui();
void fillPbcGui();
void setPbcTrack( K3bVcdTrack*, K3bCutComboBox*, int );
void setDefinedNumKeys( );
TQString displayName( K3bVcdTrack* );
K3bVcdOptions* VcdOptions()
{
return m_vcdDoc->vcdOptions();
}
};
#endif
|