mirror of
https://github.com/JakubMelka/PDF4QT.git
synced 2025-06-05 21:59:17 +02:00
Options dialog
This commit is contained in:
42
PdfForQtViewer/pdfviewersettingsdialog.h
Normal file
42
PdfForQtViewer/pdfviewersettingsdialog.h
Normal file
@ -0,0 +1,42 @@
|
||||
#ifndef PDFVIEWERSETTINGSDIALOG_H
|
||||
#define PDFVIEWERSETTINGSDIALOG_H
|
||||
|
||||
#include "pdfviewersettings.h"
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
class QListWidgetItem;
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
class PDFViewerSettingsDialog;
|
||||
}
|
||||
|
||||
namespace pdfviewer
|
||||
{
|
||||
|
||||
class PDFViewerSettingsDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit PDFViewerSettingsDialog(QWidget* parent);
|
||||
virtual ~PDFViewerSettingsDialog() override;
|
||||
|
||||
enum Page : int
|
||||
{
|
||||
EngineSettings,
|
||||
RenderingSettings,
|
||||
ShadingSettings
|
||||
};
|
||||
|
||||
private slots:
|
||||
void on_optionsPagesWidget_currentItemChanged(QListWidgetItem* current, QListWidgetItem* previous);
|
||||
|
||||
private:
|
||||
Ui::PDFViewerSettingsDialog* ui;
|
||||
};
|
||||
|
||||
} // namespace pdfviewer
|
||||
|
||||
#endif // PDFVIEWERSETTINGSDIALOG_H
|
Reference in New Issue
Block a user