summaryrefslogtreecommitdiffstats
path: root/src/projects/k3bvcdtrackdialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 02:15:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-03 02:15:56 +0000
commit50b48aec6ddd451a6d1709c0942477b503457663 (patch)
treea9ece53ec06fd0a2819de7a2a6de997193566626 /src/projects/k3bvcdtrackdialog.h
downloadk3b-50b48aec6ddd451a6d1709c0942477b503457663.tar.gz
k3b-50b48aec6ddd451a6d1709c0942477b503457663.zip
Added abandoned KDE3 version of K3B
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1084400 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/projects/k3bvcdtrackdialog.h')
-rw-r--r--src/projects/k3bvcdtrackdialog.h123
1 files changed, 123 insertions, 0 deletions
diff --git a/src/projects/k3bvcdtrackdialog.h b/src/projects/k3bvcdtrackdialog.h
new file mode 100644
index 0000000..3b62c35
--- /dev/null
+++ b/src/projects/k3bvcdtrackdialog.h
@@ -0,0 +1,123 @@
+/*
+*
+* $Id: k3bvcdtrackdialog.h 619556 2007-01-03 17:38:12Z trueg $
+* Copyright (C) 2003-2004 Christian Kvasny <chris@k3b.org>
+*
+* This file is part of the K3b project.
+* Copyright (C) 1998-2007 Sebastian Trueg <trueg@k3b.org>
+*
+* 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