1 /* 2 * This file is part of bino, a 3D video player. 3 * 4 * Copyright (C) 2010, 2011, 2012, 2013 5 * Martin Lambers <marlam@marlam.de> 6 * Frédéric Devernay <Frederic.Devernay@inrialpes.fr> 7 * Joe <cuchac@email.cz> 8 * Daniel Schaal <farbing@web.de> 9 * Binocle <http://binocle.com> (author: Olivier Letz <oletz@binocle.com>) 10 * Frédéric Bour <frederic.bour@lakaban.net> 11 * 12 * This program is free software; you can redistribute it and/or modify 13 * it under the terms of the GNU General Public License as published by 14 * the Free Software Foundation; either version 3 of the License, or 15 * (at your option) any later version. 16 * 17 * This program is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU General Public License for more details. 21 * 22 * You should have received a copy of the GNU General Public License 23 * along with this program. If not, see <http://www.gnu.org/licenses/>. 24 */ 25 26 #ifndef SDIOUTPUTDIALOG_H 27 #define SDIOUTPUTDIALOG_H 28 29 #include "config.h" 30 31 #include <QWidget> 32 #include "dispatch.h" 33 34 class QComboBox; 35 36 class sdi_output_dialog : public QWidget, public controller 37 { 38 Q_OBJECT 39 40 private: 41 bool _lock; 42 QComboBox *_sdi_output_format_combobox; 43 QComboBox *_sdi_output_left_stereo_mode_combobox; 44 QComboBox *_sdi_output_right_stereo_mode_combobox; 45 46 void set_sdi_output_format(int val); 47 void set_sdi_output_left_stereo_mode(parameters::stereo_mode_t stereo_mode); 48 void set_sdi_output_right_stereo_mode(parameters::stereo_mode_t stereo_mode); 49 50 private slots: 51 void sdi_output_format_changed(int val); 52 void sdi_output_left_stereo_mode_changed(int val); 53 void sdi_output_right_stereo_mode_changed(int val); 54 55 public: 56 sdi_output_dialog(QWidget *parent = 0); 57 void update(); 58 59 virtual void receive_notification(const notification ¬e); 60 }; 61 62 #endif 63