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

#include <ModelFileDialog.h>

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

Signals

void dialogEnded (bool accepted)
 
void ModelLoaded (const Scene *object)
 

Public Member Functions

 ModelFileDialog (bool is_import, ProgressInfo *log, QWidget *parent=0)
 
void setWindingCalculation (WindingMode winding)
 
virtual void updateUINow ()
 
void postUpdateUIRequest ()
 
bool shouldShow () const
 
void closeEvent (QCloseEvent *) override
 
virtual void isOptionMode (bool is_options_mode)
 
void setFormat (const FactoryParameters &format)
 
virtual void updateGeometriesAndFeatures ()
 
virtual void setGeometriesAndFeatures (const FactoryFeatures &features)
 
bool canRevertOptions () const
 
bool canResetOptions () const
 
File iniFile () const
 
FactoryOptions::IncludeProperties getReadPrecision () const
 
FactoryOptions::IncludeProperties getGenerationPrecision () const
 
FactoryOptions options () const
 

Static Public Member Functions

static void ResetAllImportOptionsToDefaults ()
 
static void ResetAllExportOptionsToDefaults ()
 
static File INISettingsFolder (bool is_import)
 

Protected Slots

void saveOptionsAsDefault ()
 
void setShowOnEachImport ()
 
void setOptionsToDefault ()
 
void revertOptionsToFactoryDefault ()
 

Protected Member Functions

const FactoryOptionsdefaultOptions ()
 
virtual void _cancelled ()
 
virtual void _accepted ()
 
virtual void updateOptions (FactoryOptions &new_options)
 

Protected Attributes

File m_ini_file
 
UnitManager m_file_units
 
Ui::ImportSettings * ui
 
bool m_show_on_each_import
 
bool m_original_show_on_each_import
 
bool m_accepted
 
bool m_canceled
 
const bool m_is_import
 
bool m_has_settings_change
 
bool m_ui_dirty = false
 
FactoryParameters m_params
 
FactoryOptions m_default_options
 
ProgressInfom_log
 
Buffer< GenericOptionsGroup * > m_generic_options_widgets
 

Constructor & Destructor Documentation

◆ ModelFileDialog()

ModelFileDialog ( bool is_import,
ProgressInfo * log,
QWidget * parent = 0 )

Member Function Documentation

◆ _accepted()

void _accepted ( )
protectedvirtual

Reimplemented in AutoModelFileDialog.

◆ _cancelled()

void _cancelled ( )
protectedvirtual

Reimplemented in AutoModelFileDialog.

◆ canResetOptions()

bool canResetOptions ( ) const

◆ canRevertOptions()

bool canRevertOptions ( ) const

◆ closeEvent()

void closeEvent ( QCloseEvent * )
inlineoverride

◆ defaultOptions()

const FactoryOptions & defaultOptions ( )
protected

◆ dialogEnded

void dialogEnded ( bool accepted)
signal

◆ getGenerationPrecision()

FactoryOptions::IncludeProperties getGenerationPrecision ( ) const

◆ getReadPrecision()

FactoryOptions::IncludeProperties getReadPrecision ( ) const

◆ iniFile()

File iniFile ( ) const

◆ INISettingsFolder()

File INISettingsFolder ( bool is_import)
static

◆ isOptionMode()

void isOptionMode ( bool is_options_mode)
virtual

◆ ModelLoaded

void ModelLoaded ( const Scene * object)
signal

◆ options()

FactoryOptions options ( ) const
inline

◆ postUpdateUIRequest()

void postUpdateUIRequest ( )

◆ ResetAllExportOptionsToDefaults()

void ResetAllExportOptionsToDefaults ( )
static

◆ ResetAllImportOptionsToDefaults()

void ResetAllImportOptionsToDefaults ( )
static

◆ revertOptionsToFactoryDefault

void revertOptionsToFactoryDefault ( )
protectedslot

◆ saveOptionsAsDefault

void saveOptionsAsDefault ( )
protectedslot

◆ setFormat()

void setFormat ( const FactoryParameters & format)

◆ setGeometriesAndFeatures()

void setGeometriesAndFeatures ( const FactoryFeatures & features)
virtual

◆ setOptionsToDefault

void setOptionsToDefault ( )
protectedslot

◆ setShowOnEachImport

void setShowOnEachImport ( )
protectedslot

◆ setWindingCalculation()

void setWindingCalculation ( WindingMode winding)

◆ shouldShow()

bool shouldShow ( ) const
inline

◆ updateGeometriesAndFeatures()

void updateGeometriesAndFeatures ( )
virtual

◆ updateOptions()

void updateOptions ( FactoryOptions & new_options)
protectedvirtual

Reimplemented in AsciiModelFileDialog, and AutoModelFileDialog.

◆ updateUINow()

void updateUINow ( )
virtual

Reimplemented in AsciiModelFileDialog.

Member Data Documentation

◆ m_accepted

bool m_accepted
protected

◆ m_canceled

bool m_canceled
protected

◆ m_default_options

FactoryOptions m_default_options
protected

◆ m_file_units

UnitManager m_file_units
protected

◆ m_generic_options_widgets

Buffer<GenericOptionsGroup*> m_generic_options_widgets
protected

◆ m_has_settings_change

bool m_has_settings_change
protected

◆ m_ini_file

File m_ini_file
protected

◆ m_is_import

const bool m_is_import
protected

◆ m_log

ProgressInfo* m_log
protected

◆ m_original_show_on_each_import

bool m_original_show_on_each_import
protected

◆ m_params

FactoryParameters m_params
protected

◆ m_show_on_each_import

bool m_show_on_each_import
protected

◆ m_ui_dirty

bool m_ui_dirty = false
protected

◆ ui

Ui::ImportSettings* ui
protected

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