File indexing completed on 2024-05-12 16:23:34
0001 /*************************************************************************** 0002 * Copyright (C) 2005-2008 by Bjoern Erik Nilsen & Fredrik Berg Kjoelstad* 0003 * bjoern.nilsen@bjoernen.com & fredrikbk@hotmail.com * 0004 * * 0005 * This program is free software; you can redistribute it and/or modify * 0006 * it under the terms of the GNU General Public License as published by * 0007 * the Free Software Foundation; either version 2 of the License, or * 0008 * (at your option) any later version. * 0009 * * 0010 * This program is distributed in the hope that it will be useful, * 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 0013 * GNU General Public License for more details. * 0014 * * 0015 * You should have received a copy of the GNU General Public License * 0016 * along with this program; if not, write to the * 0017 * Free Software Foundation, Inc., * 0018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 0019 ***************************************************************************/ 0020 #ifndef PREFERENCESMENU_H 0021 #define PREFERENCESMENU_H 0022 0023 #include <QDialog> 0024 #include <QTabWidget> 0025 #include <QPushButton> 0026 0027 class ImportTab; 0028 class ExportTab; 0029 class DeviceTab; 0030 0031 /** 0032 * The import and export preferences menu. 0033 * 0034 * @author Bjoern Erik Nilsen & Fredrik Berg Kjoelstad 0035 */ 0036 class PreferencesMenu : public QDialog 0037 { 0038 Q_OBJECT 0039 public: 0040 /** 0041 * Sets up the filepreview-label. 0042 * @param parent the parent of the widget. 0043 */ 0044 PreferencesMenu(QWidget *parent = 0); 0045 void display(); 0046 void retranslateStrings(); 0047 0048 private: 0049 ImportTab *importVideoTab; 0050 ExportTab *exportVideoTab; 0051 DeviceTab *videoDeviceTab; 0052 QTabWidget *tabWidget; 0053 QPushButton *applyButton; 0054 QPushButton *closeButton; 0055 0056 void makeVideoImportTab(); 0057 void makeVideoExportTab(); 0058 void makeVideoDeviceTab(); 0059 0060 private slots: 0061 void apply(); 0062 }; 0063 0064 #endif