API Documentation
Loading...
Searching...
No Matches
AutoModelFileDialog Class Reference

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>

Inheritance diagram for AutoModelFileDialog:
[legend]
Collaboration diagram for AutoModelFileDialog:
[legend]

Signals

void loaded ()
 
- Signals inherited from ModelFileDialog
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< UUIDIDs () 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 ()
 
- Public Member Functions inherited from ModelFileDialog
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< FactoryParametersm_files
 
ModelSelectionTreem_selection_tree
 
bool m_show_error_dialog
 
- Protected Attributes inherited from ModelFileDialog
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
 
ProgressInfom_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 Public Member Functions inherited from ModelFileDialog
static File INISettingsFolder (bool is_import)
 
static void ResetAllExportOptionsToDefaults ()
 
static void ResetAllImportOptionsToDefaults ()
 
- Protected Slots inherited from ModelFileDialog
void revertOptionsToFactoryDefault ()
 
void saveOptionsAsDefault ()
 
void setOptionsToDefault ()
 
void setShowOnEachImport ()
 
- Protected Member Functions inherited from ModelFileDialog
const FactoryOptionsdefaultOptions ()
 

Detailed Description

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.


Constructor & Destructor Documentation

◆ AutoModelFileDialog()

AutoModelFileDialog ( bool is_import,
ProgressInfo * log,
QWidget * parent = nullptr )

◆ ~AutoModelFileDialog()

Member Function Documentation

◆ beginProcess()

virtual void beginProcess ( )
virtual

◆ filterModelsToExport()

virtual void filterModelsToExport ( )
virtual

Reimplemented in AsciiModelFileDialog.

◆ IDs()

Buffer< UUID > IDs ( ) const

◆ loaded

void loaded ( )
signal

◆ reset()

virtual void reset ( )
virtual

◆ selectAllVisible()

void selectAllVisible ( )

◆ selectDefaultToExport()

void selectDefaultToExport ( )

◆ setIsValid()

void setIsValid ( bool is_valid)

◆ setPositionOnEnd()

void setPositionOnEnd ( bool position_on_end)

◆ setRequests()

virtual void setRequests ( const Buffer< FactoryParameters > & file)
virtual

Reimplemented in AsciiModelFileDialog.

◆ setUUIDs()

virtual void setUUIDs ( Buffer< UUID > models)
virtual

Reimplemented in AsciiModelFileDialog.

◆ updateOptions()

virtual void updateOptions ( FactoryOptions & new_options)
overridevirtual

Reimplemented from ModelFileDialog.

Reimplemented in AsciiModelFileDialog.

Member Data Documentation

◆ m_factory_thread

CachedFactoryIOThread m_factory_thread
protected

◆ m_files

Buffer<FactoryParameters> m_files
protected

◆ m_selection_tree

ModelSelectionTree* m_selection_tree
protected

◆ m_show_error_dialog

bool m_show_error_dialog
protected

The documentation for this class was generated from the following file: