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 /**--------------------------------------------------------------------------------------------------
15 \brief Allows the user to adjust default folders or whether or not the software uses project folders
16 or project files.
17 **/
18 class FileAndFolderSettingsDialog : public QWidget
19 {
20 public:
21 FileAndFolderSettingsDialog(QWidget* parent = nullptr);
22 protected:
23 bool event(QEvent* event) override;
29 protected:
30 Ui::FileAndFolderSettingsUI* ui;
33 };
34}
35#endif
The default object to store data of any type that should persist through sessions of the application.
Definition Button.h:57
A core widget that allows the user to click one of many button types.
Definition Button.h:66
Allows the user to adjust default folders or whether or not the software uses project folders or proj...
Definition FileAndFolderSettingsDialog.h:19
bool event(QEvent *event) override
Ui::FileAndFolderSettingsUI * ui
Definition FileAndFolderSettingsDialog.h:30
void showBrowseDialog(const TranslatedString &title, Button *b)
ApplicationOption< String > * m_path_to_modify
Definition FileAndFolderSettingsDialog.h:32
FileChooserDialog * fileChooser()
FileChooserDialog * m_file_chooser_dialog
Definition FileAndFolderSettingsDialog.h:31
FileAndFolderSettingsDialog(QWidget *parent=nullptr)
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Definition FileChooserDialog.h:79
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
Definition ACIColor.h:37
Definition FontEditor.h:6