4#include <NDEVR/ApplicationOptions.h>
5#include <NDEVR/String.h>
9 class FileAndFolderSettingsUI;
58 Ui::FileAndFolderSettingsUI*
ui;
The default object to store data of any type that should persist through sessions of the application.
void updateUseProjectFolders()
Updates the UI when the project folder usage setting changes.
FileChooserDialog * m_file_chooser_dialog
The file chooser dialog for browsing paths.
FileAndFolderSettingsDialog(QWidget *parent=nullptr)
Constructs a FileAndFolderSettingsDialog.
void showBrowseDialog(const TranslatedString &title, Button *b)
Shows a browse dialog for selecting a folder path.
void setDescriptions()
Sets descriptive text for each folder setting in the UI.
ApplicationOption< String > * m_path_to_modify
The application option being modified by the browse dialog.
void retranslate()
Retranslates all UI strings when the language changes.
Ui::FileAndFolderSettingsUI * ui
The UI form for this dialog.
FileChooserDialog * fileChooser()
Returns the file chooser dialog, creating it if necessary.
bool event(QEvent *event) override
Handles events for this dialog, including retranslation.
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.