CuteLogger
Fast and simple logging solution for Qt based applications
transcodedialog.h
1 /*
2  * Copyright (c) 2017 Meltytech, LLC
3  * Author: Dan Dennedy <dan@dennedy.org>
4  *
5  * This program is free software: you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation, either version 3 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 
19 #ifndef TRANSCODEDIALOG_H
20 #define TRANSCODEDIALOG_H
21 
22 #include <QDialog>
23 
24 namespace Ui {
25 class TranscodeDialog;
26 }
27 class QCheckBox;
28 
29 class TranscodeDialog : public QDialog
30 {
31  Q_OBJECT
32 
33 public:
34  explicit TranscodeDialog(const QString& message, QWidget *parent = 0);
35  ~TranscodeDialog();
36  int format() const { return m_format; }
37  void showCheckBox();
38  bool isCheckBoxChecked() const { return m_isChecked; }
39 
40 private slots:
41  void on_horizontalSlider_valueChanged(int position);
42 
43  void on_checkBox_clicked(bool checked);
44 
45 private:
46  Ui::TranscodeDialog *ui;
47  int m_format;
48  bool m_isChecked;
49 };
50 
51 #endif // TRANSCODEDIALOG_H
Definition: addencodepresetdialog.h:24