"Fossies" - the Fresh Open Source Software Archive

Member "cutter-1.8.2/src/dialogs/preferences/PreferencesDialog.h" (20 May 2019, 641 Bytes) of package /linux/privat/cutter-1.8.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "PreferencesDialog.h" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 1.8.1_vs_1.8.2.

    1 
    2 #ifndef PREFERENCESDIALOG_H
    3 #define PREFERENCESDIALOG_H
    4 
    5 #include "core/Cutter.h"
    6 
    7 #include <QDialog>
    8 
    9 #include <memory>
   10 
   11 class QTreeWidgetItem;
   12 
   13 namespace Ui {
   14 class PreferencesDialog;
   15 }
   16 
   17 class PreferencesDialog : public QDialog
   18 {
   19     Q_OBJECT
   20 
   21 public:
   22     enum class Section { Appearance, Disassembly };
   23 
   24     explicit PreferencesDialog(QWidget *parent = nullptr);
   25     ~PreferencesDialog();
   26 
   27     void showSection(Section section);
   28 
   29 public slots:
   30     void changePage(QTreeWidgetItem *current, QTreeWidgetItem *previous);
   31 
   32 private:
   33     std::unique_ptr<Ui::PreferencesDialog> ui;
   34     void chooseThemeIcons();
   35 };
   36 
   37 #endif //PREFERENCESDIALOG_H