A settings dialog widget that exposes developer-related application options such as paths to build tools, source directories, and licenses.
More...
|
| | DeveloperSettingsDialog (QTModelManager *manager, QWidget *parent=nullptr) |
| | Constructs the developer settings dialog.
|
|
void | resetToDefaults () |
| | Resets all developer settings fields to their default values.
|
| QSize | sizeHint () const override |
| | Returns the preferred size for this dialog.
|
|
|
FileChooserDialog * | m_chooser_dialog = nullptr |
| | The file chooser dialog instance.
|
|
Resource< String > * | m_chooser_option = nullptr |
| | The currently active chooser option being edited.
|
|
QTModelManager * | m_manager |
| | The application model manager.
|
|
Ui::DeveloperSettingsDialog * | ui = nullptr |
| | The auto-generated UI form.
|
A settings dialog widget that exposes developer-related application options such as paths to build tools, source directories, and licenses.
Definition at line 16 of file DeveloperSettingsDialog.h.
◆ DeveloperSettingsDialog()
| DeveloperSettingsDialog::DeveloperSettingsDialog |
( |
QTModelManager * | manager, |
|
|
QWidget * | parent = nullptr ) |
Constructs the developer settings dialog.
- Parameters
-
| [in] | manager | The model manager for application context. |
| [in] | parent | Optional parent widget. |
◆ browse() [1/2]
Opens a file chooser dialog for an ApplicationOption path.
- Parameters
-
| [in] | option | The string option to update. |
| [in] | b | The button that triggered the browse action. |
| [in] | extension | The file extension filter. |
◆ browse() [2/2]
Opens a file chooser dialog for a Resource path.
- Parameters
-
| [in] | name | The display name for the chooser. |
| [in] | option | The string resource to update. |
| [in] | b | The button that triggered the browse action. |
| [in] | extension | The file extension filter. |
◆ sizeHint()
| QSize DeveloperSettingsDialog::sizeHint |
( |
| ) |
const |
|
override |
Returns the preferred size for this dialog.
- Returns
- The recommended size hint.
The documentation for this class was generated from the following file: