Default dialog shown when the user exports an ascii-or custom column style file.
More...
|
| | AsciiModelFileDialog (bool is_import, InfoPipe *log, QWidget *parent=nullptr) |
| | Constructs the ASCII model file dialog.
|
| bool | checkValidity () |
| | Validates the current dialog settings and column assignments.
|
| void | enabledFormatChoosing (bool enabled) |
| | Enables or disables the format chooser controls in the dialog.
|
|
void | onFieldChooserAccepted () |
| | Slot invoked when the field chooser selection is accepted.
|
|
void | onFieldChooserDeleted () |
| | Slot invoked when the field chooser selection is deleted.
|
|
void | onFieldChooserEdited () |
| | Slot invoked when the field chooser value is edited by the user.
|
| void | selectColumn (uint04 column) |
| | Selects and highlights the specified column in the preview table.
|
| virtual void | setRequests (const Buffer< FactoryParameters > &file) override |
| | Sets the file requests to be processed by the dialog.
|
| virtual void | setUUIDs (Buffer< UUID > models) override |
| | Sets the UUIDs of models to export.
|
| void | showColumnContextMenu (const QPoint &point) |
| | Displays a context menu for the column at the given position.
|
|
void | updateFromUISlot () |
| | Slot invoked when the user modifies any UI control, triggering a preview refresh.
|
| void | updateOptions (FactoryOptions &new_options) override |
| | Updates the given factory options with the current dialog settings.
|
| | AutoModelFileDialog (bool is_import, InfoPipe *log, QWidget *parent=nullptr) |
| | Constructs the AutoModelFileDialog.
|
|
virtual void | beginProcess () |
| | Begins the import or export process using the current settings.
|
| Buffer< UUID > | IDs () const |
| | Returns the UUIDs of the models currently selected in the dialog.
|
|
void | loaded () |
| | Emitted when the file has been successfully loaded or saved.
|
|
virtual void | reset () |
| | Resets the dialog to its initial state.
|
|
void | selectAllVisible () |
| | Selects all visible models in the selection tree.
|
|
void | selectDefaultToExport () |
| | Selects the default set of models for export.
|
| void | setIsValid (bool is_valid) |
| | Sets whether the current dialog configuration is valid for processing.
|
| void | setPositionOnEnd (bool position_on_end) |
| | Sets whether the camera should reposition to the imported data on completion.
|
| QSize | sizeHint () const override |
| | Returns the recommended size for this dialog.
|
| | ModelFileDialog (bool is_import, InfoPipe *log, QWidget *parent=0) |
| | Constructs the model file dialog for import or export settings.
|
| bool | canResetOptions () const |
| | Returns whether the options can be reset to factory defaults.
|
| bool | canRevertOptions () const |
| | Returns whether the options can be reverted to saved defaults.
|
|
void | closeEvent (QCloseEvent *) override |
| | Handles the close event, treating it as a cancellation if not already accepted or canceled.
|
| void | dialogEnded (bool accepted) |
| | Emitted when the dialog is closed, indicating acceptance or cancellation.
|
| FactoryOptions::IncludeProperties | getGenerationPrecision () const |
| | Returns the generation precision setting from the current options.
|
| FactoryOptions::IncludeProperties | getReadPrecision () const |
| | Returns the read precision setting from the current options.
|
| File | iniFile () const |
| | Returns the INI settings file for the current format.
|
| virtual void | isOptionMode (bool is_options_mode) |
| | Switches the dialog between options-only mode and full import/export mode.
|
| void | ModelLoaded (const Scene *object) |
| | Emitted when a model has been loaded from the import.
|
| FactoryOptions | options () const |
| | Returns the current factory options.
|
|
void | postUpdateUIRequest () |
| | Posts a deferred request to update the UI on the next event loop cycle.
|
| virtual void | setFeatures (const FactoryFeatures &features) |
| | Sets the factory features and updates the UI accordingly.
|
| void | setFormat (const FactoryParameters &format) |
| | Sets the file format and parameters for this dialog.
|
| void | setWindingCalculation (WindingMode winding) |
| | Sets the winding calculation mode for mesh imports.
|
| bool | shouldShow () const |
| | Returns whether this dialog has settings that warrant showing it to the user.
|
|
virtual void | updateFeatures () |
| | Updates the UI to reflect the current factory feature set.
|
|
| AsciiOptions | asciiOptions () const |
| | Returns the current ASCII options as configured by the dialog.
|
| QMenu * | createColumnMenu () |
| | Creates a context menu for column operations.
|
| bool | existsBefore (uint04 index, const DesignParameter ¶ms) const |
| | Checks whether a design parameter is assigned to any column before the specified index.
|
| bool | existsOutsideOf (uint04 index, const DesignParameter ¶ms) const |
| | Checks whether a design parameter is assigned to any column other than the specified one.
|
|
virtual void | filterModelsToExport () override |
| | Filters the list of models to export based on current dialog settings.
|
| Buffer< DesignParameter > | getAvailableChannels (const Buffer< UUID > &models) |
| | Returns the available design parameter channels for the given models.
|
| Buffer< DesignParameter > | getChannelWhitelist () const |
| | Returns the whitelist of allowed design parameter channels.
|
| Buffer< DesignParameter > | getPossibleChannels (const String &option) |
| | Returns the possible design parameter channels matching the given option string.
|
| void | insertNewColumn (uint04 index) |
| | Inserts a new column at the specified index.
|
| void | predictColumnType (AsciiOptions &options) |
| | Attempts to automatically detect column types from the file content.
|
| void | predictDelimiter (AsciiOptions &options) const |
| | Attempts to automatically detect the column delimiter from the file content.
|
| void | predictFirstLine (uint04 &line, uint04 &row_count) const |
| | Predicts the first data line and total row count from the file content.
|
| bool | predictHasHeaders () const |
| | Predicts whether the file contains column header names.
|
| void | setColumn (uint04 index, const DesignParameter ¶ms) |
| | Assigns a design parameter to a specific column.
|
|
void | setupColumnHeaders () |
| | Populates the column header UI based on the current ASCII options.
|
|
void | setupDelimiterCombo () |
| | Populates the delimiter combo box with available delimiter choices.
|
| QSize | sizeHint () const override |
| | Returns the recommended size for this dialog.
|
| File | templateFolder () const |
| | Returns the folder path where ASCII templates are stored.
|
|
void | updateColumnsFromParams () |
| | Updates the column UI widgets from the current parameter assignments.
|
| AsciiError | updateExportPreview () |
| | Updates the export preview table based on current settings.
|
| AsciiError | updateUIFromFile (AsciiOptions &options) |
| | Updates the dialog UI from the given file using the specified ASCII options.
|
|
void | updateUINow () override |
| | Immediately refreshes the dialog UI to reflect current settings.
|
| const FactoryOptions & | defaultOptions () |
| | Returns the default factory options for the current format.
|
|
void | revertOptionsToFactoryDefault () |
| | Reverts the current options to the original factory defaults.
|
|
void | saveOptionsAsDefault () |
| | Saves the current options as the default for this file format.
|
|
void | setOptionsToDefault () |
| | Resets the current options to the saved defaults.
|
|
void | setShowOnEachImport () |
| | Toggles whether the options dialog is shown on each import.
|
|
|
Ui::AsciiImportUI * | ascii_ui |
| | The auto-generated UI form for ASCII import/export.
|
|
Buffer< ColumnDetails > | m_column_details |
| | Details for each column in the file.
|
|
QMenu * | m_field_menu = nullptr |
| | The context menu for column field operations.
|
|
bool | m_ignore_update = false |
| | Whether to suppress UI update callbacks temporarily.
|
|
uint04 | m_line_preview_count = 60 |
| | The number of lines to show in the preview table.
|
|
bool | m_pulling_template = false |
| | Whether a template is currently being loaded.
|
|
DynamicPointer< Scanner > | m_scanner |
| | The scanner used for reading file content.
|
|
uint04 | m_selected_column = 0 |
| | The index of the currently selected column.
|
|
CachedFactoryIOThread | m_factory_thread |
| | The background thread managing cached file I/O.
|
|
Buffer< FactoryParameters > | m_files |
| | The file parameters for the current operation.
|
|
ModelSelectionTree * | m_selection_tree |
| | The tree widget for selecting models to import or export.
|
|
bool | m_show_error_dialog |
| | Whether to display an error dialog on failure.
|
|
bool | m_accepted |
| | Whether the dialog was accepted.
|
|
bool | m_canceled |
| | Whether the dialog was canceled.
|
|
FactoryOptions | m_default_options |
| | The default factory options for comparison.
|
|
UnitManager | m_file_units |
| | The unit manager for file unit conversions.
|
|
Buffer< GenericOptionsGroup * > | m_generic_options_widgets |
| | Widgets for format-specific generic options.
|
|
bool | m_has_settings_change |
| | Whether settings have been modified from defaults.
|
|
File | m_ini_file |
| | The INI file path for persisting options.
|
|
const bool | m_is_import |
| | Whether this dialog is for importing (true) or exporting (false).
|
|
InfoPipe * | m_log |
| | The logging pipe for status messages.
|
|
FactoryParameters | m_params |
| | The current factory parameters including format and options.
|
|
bool | m_ui_dirty = false |
| | Whether the UI needs to be refreshed.
|
|
Ui::ImportSettings * | ui |
| | The auto-generated UI form.
|
Default dialog shown when the user exports an ascii-or custom column style file.
Definition at line 60 of file AsciiModelFileDialog.h.