Dialog that allows user to choose import or export options while simultaniously automatically writing or reading the file in the background such that the user might already have the data when finished. More...
#include <AutoModelFileDialog.h>
Signals | |
void | loaded () |
![]() | |
void | dialogEnded (bool accepted) |
void | ModelLoaded (const Scene *object) |
Public Member Functions | |
AutoModelFileDialog (bool is_import, ProgressInfo *log, QWidget *parent=nullptr) | |
virtual void | beginProcess () |
virtual void | filterModelsToExport () |
Buffer< UUID > | IDs () const |
virtual void | reset () |
void | selectAllVisible () |
void | selectDefaultToExport () |
void | setIsValid (bool is_valid) |
void | setPositionOnEnd (bool position_on_end) |
virtual void | setRequests (const Buffer< FactoryParameters > &file) |
virtual void | setUUIDs (Buffer< UUID > models) |
virtual void | updateOptions (FactoryOptions &new_options) override |
~AutoModelFileDialog () | |
![]() | |
bool | canResetOptions () const |
bool | canRevertOptions () const |
void | closeEvent (QCloseEvent *) override |
FactoryOptions::IncludeProperties | getGenerationPrecision () const |
FactoryOptions::IncludeProperties | getReadPrecision () const |
File | iniFile () const |
virtual void | isOptionMode (bool is_options_mode) |
ModelFileDialog (bool is_import, ProgressInfo *log, QWidget *parent=0) | |
FactoryOptions | options () const |
void | postUpdateUIRequest () |
void | setFormat (const FactoryParameters &format) |
virtual void | setGeometriesAndFeatures (const FactoryFeatures &features) |
void | setWindingCalculation (WindingMode winding) |
bool | shouldShow () const |
virtual void | updateGeometriesAndFeatures () |
virtual void | updateUINow () |
Protected Attributes | |
CachedFactoryIOThread | m_factory_thread |
Buffer< FactoryParameters > | m_files |
ModelSelectionTree * | m_selection_tree |
bool | m_show_error_dialog |
![]() | |
bool | m_accepted |
bool | m_canceled |
FactoryOptions | m_default_options |
UnitManager | m_file_units |
Buffer< GenericOptionsGroup * > | m_generic_options_widgets |
bool | m_has_settings_change |
File | m_ini_file |
const bool | m_is_import |
ProgressInfo * | m_log |
bool | m_original_show_on_each_import |
FactoryParameters | m_params |
bool | m_show_on_each_import |
bool | m_ui_dirty = false |
Ui::ImportSettings * | ui |
Additional Inherited Members | |
![]() | |
static File | INISettingsFolder (bool is_import) |
static void | ResetAllExportOptionsToDefaults () |
static void | ResetAllImportOptionsToDefaults () |
![]() | |
void | revertOptionsToFactoryDefault () |
void | saveOptionsAsDefault () |
void | setOptionsToDefault () |
void | setShowOnEachImport () |
![]() | |
const FactoryOptions & | defaultOptions () |
Dialog that allows user to choose import or export options while simultaniously automatically writing or reading the file in the background such that the user might already have the data when finished.
AutoModelFileDialog | ( | bool | is_import, |
ProgressInfo * | log, | ||
QWidget * | parent = nullptr ) |
~AutoModelFileDialog | ( | ) |
|
virtual |
|
virtual |
Reimplemented in AsciiModelFileDialog.
|
signal |
|
virtual |
void selectAllVisible | ( | ) |
void selectDefaultToExport | ( | ) |
void setIsValid | ( | bool | is_valid | ) |
void setPositionOnEnd | ( | bool | position_on_end | ) |
|
virtual |
Reimplemented in AsciiModelFileDialog.
Reimplemented in AsciiModelFileDialog.
|
overridevirtual |
Reimplemented from ModelFileDialog.
Reimplemented in AsciiModelFileDialog.
|
protected |
|
protected |
|
protected |
|
protected |