summaryrefslogtreecommitdiffstats
path: root/src/projects/k3bvcdburndialog.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/k3bvcdburndialog.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/k3bvcdburndialog.h')
-rw-r--r--src/projects/k3bvcdburndialog.h142
1 files changed, 142 insertions, 0 deletions
diff --git a/src/projects/k3bvcdburndialog.h b/src/projects/k3bvcdburndialog.h
new file mode 100644
index 0000000..6f199a9
--- /dev/null
+++ b/src/projects/k3bvcdburndialog.h
@@ -0,0 +1,142 @@
+/*
+*
+* $Id: k3bvcdburndialog.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 K3BVCDBURNDIALOG_H
+#define K3BVCDBURNDIALOG_H
+
+#include "k3bprojectburndialog.h"
+#include <qmultilineedit.h>
+
+class QCheckBox;
+class QGroupBox;
+class QButtonGroup;
+class QSpinBox;
+class QRadioButton;
+class QLabel;
+class QLineEdit;
+class QMultiLineEdit;
+class QToolButton;
+class K3bWriterSelectionWidget;
+class K3bTempDirSelectionWidget;
+class K3bVcdDoc;
+class K3bVcdOptions;
+
+class K3bVcdBurnDialog : public K3bProjectBurnDialog
+{
+ Q_OBJECT
+
+ public:
+ K3bVcdBurnDialog( K3bVcdDoc* doc, QWidget *parent = 0, const char *name = 0, bool modal = true );
+ ~K3bVcdBurnDialog();
+
+ K3bVcdDoc* vcdDoc() const
+ {
+ return m_vcdDoc;
+ }
+
+ protected:
+ void setupAdvancedTab();
+ void setupVideoCdTab();
+ void setupLabelTab();
+ void saveSettings();
+ void readSettings();
+
+ void loadK3bDefaults();
+ void loadUserDefaults( KConfigBase* );
+ void saveUserDefaults( KConfigBase* );
+
+ // -----------------------------------------------------------
+ // the video-cd-tab
+ // -----------------------------------------------------------
+
+ QButtonGroup* m_groupVcdFormat;
+ QRadioButton* m_radioVcd11;
+ QRadioButton* m_radioVcd20;
+ QRadioButton* m_radioSvcd10;
+ QRadioButton* m_radioHqVcd10;
+
+ QGroupBox* m_groupOptions;
+ QCheckBox* m_checkAutoDetect;
+ QCheckBox* m_checkNonCompliant;
+ QCheckBox* m_checkVCD30interpretation;
+ QCheckBox* m_check2336;
+
+ // CD-i
+ QGroupBox* m_groupCdi;
+ QCheckBox* m_checkCdiSupport;
+ QMultiLineEdit* m_editCdiCfg;
+
+
+ // -----------------------------------------------------------
+ // the video-label-tab
+ // -----------------------------------------------------------
+
+ QLineEdit* m_editVolumeId;
+ QLineEdit* m_editPublisher;
+ QLineEdit* m_editAlbumId;
+
+ QSpinBox* m_spinVolumeCount;
+ QSpinBox* m_spinVolumeNumber;
+
+ // -----------------------------------------------------------
+ // the advanced-tab
+ // -----------------------------------------------------------
+
+ QGroupBox* m_groupGeneric;
+ QGroupBox* m_groupGaps;
+ QGroupBox* m_groupMisc;
+
+ QCheckBox* m_checkPbc;
+ QCheckBox* m_checkSegmentFolder;
+ QCheckBox* m_checkRelaxedAps;
+ QCheckBox* m_checkUpdateScanOffsets;
+ QCheckBox* m_checkGaps;
+
+ QSpinBox* m_spinRestriction;
+ QSpinBox* m_spinPreGapLeadout;
+ QSpinBox* m_spinPreGapTrack;
+ QSpinBox* m_spinFrontMarginTrack;
+ QSpinBox* m_spinRearMarginTrack;
+ QSpinBox* m_spinFrontMarginTrackSVCD;
+ QSpinBox* m_spinRearMarginTrackSVCD;
+
+ QLabel* m_labelRestriction;
+ QLabel* m_labelPreGapLeadout;
+ QLabel* m_labelPreGapTrack;
+ QLabel* m_labelFrontMarginTrack;
+ QLabel* m_labelRearMarginTrack;
+
+ // -----------------------------------------------------------
+
+ private:
+ K3bVcdDoc* m_vcdDoc;
+ void setVolumeID( );
+ void MarginChecked( bool );
+ void saveCdiConfig();
+ void loadCdiConfig();
+ void loadDefaultCdiConfig();
+ void toggleAll();
+
+ protected slots:
+ void slotStartClicked();
+
+ void slotGapsChecked( bool );
+ void slotSpinVolumeCount();
+ void slotVcdTypeClicked( int );
+ void slotCdiSupportChecked( bool );
+ void slotAutoDetect( bool );
+};
+
+#endif