API Documentation
Loading...
Searching...
No Matches
FileAndFolderSettingsDialog.h
Go to the documentation of this file.
1#pragma once
2#ifndef Q_OS_WASM
3#include <NDEVR/ApplicationOptions.h>
4#include <NDEVR/String.h>
5#include <QWidget>
6namespace Ui
7{
8 class FileAndFolderSettingsUI;
9}
10namespace NDEVR
11{
12 class FileChooserDialog;
13 class Button;
14 class FileAndFolderSettingsDialog : public QWidget
15 {
16 public:
17 FileAndFolderSettingsDialog(QWidget* parent = nullptr);
18
19 protected:
20 bool event(QEvent* event) override;
21 void retranslate();
24 void showBrowseDialog(const TranslatedString& title, Button* b);
25
26 void setDescriptions();
27 protected:
28 Ui::FileAndFolderSettingsUI* ui;
31 };
32}
33#endif
The default object to store data of any type that should persist through sessions of the application.
Definition Button.h:57
Definition Button.h:60
Definition FileAndFolderSettingsDialog.h:15
void updateUseProjectFolders()
Definition FileAndFolderSettingsDialog.cpp:128
bool event(QEvent *event) override
Definition FileAndFolderSettingsDialog.cpp:154
Ui::FileAndFolderSettingsUI * ui
Definition FileAndFolderSettingsDialog.h:28
void setDescriptions()
Definition FileAndFolderSettingsDialog.cpp:191
void showBrowseDialog(const TranslatedString &title, Button *b)
Definition FileAndFolderSettingsDialog.cpp:136
ApplicationOption< String > * m_path_to_modify
Definition FileAndFolderSettingsDialog.h:30
FileChooserDialog * fileChooser()
Definition FileAndFolderSettingsDialog.cpp:206
FileChooserDialog * m_file_chooser_dialog
Definition FileAndFolderSettingsDialog.h:29
FileAndFolderSettingsDialog(QWidget *parent=nullptr)
Definition FileAndFolderSettingsDialog.cpp:14
void retranslate()
Definition FileAndFolderSettingsDialog.cpp:166
Definition FileChooserDialog.h:68
Definition TranslatedString.h:9
Definition ACIColor.h:37
Definition FontEditor.h:6