34#include <NDEVR/IOFactory.h>
35#include <NDEVR/File.h>
36#include <NDEVR/Buffer.h>
50 class BasicResourceListener;
53 class GenericOptionsGroup;
54 class FactoryFeatures;
69 return m_show_on_each_import;
73 if (!m_accepted && !m_canceled)
109 Ui::ImportSettings*
ui;
116 bool m_ui_dirty =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Allows IOFactories to report what features they support to make the import/export dialogs easier to s...
Definition FactoryFeatures.h:44
User-defined options that define preferences for importing and exporting using IOFactory objects.
Definition FactoryOptions.h:49
IncludeProperties
Definition FactoryOptions.h:60
Logic for reading or writing to a file as well as navigating filesystems.
Definition File.h:48
Shows options related to an import or export that utilizes the IOFactory methods to write or read pro...
Definition ModelFileDialog.h:60
virtual void onCancelled()
void setWindingCalculation(WindingMode winding)
bool m_original_show_on_each_import
Definition ModelFileDialog.h:111
File m_ini_file
Definition ModelFileDialog.h:107
FactoryParameters m_params
Definition ModelFileDialog.h:117
bool m_show_on_each_import
Definition ModelFileDialog.h:110
void setFormat(const FactoryParameters &format)
void closeEvent(QCloseEvent *) override
Definition ModelFileDialog.h:71
virtual void isOptionMode(bool is_options_mode)
bool shouldShow() const
Definition ModelFileDialog.h:67
FactoryOptions options() const
Definition ModelFileDialog.h:103
void ModelLoaded(const Scene *object)
void dialogEnded(bool accepted)
const FactoryOptions & defaultOptions()
static File INISettingsFolder(bool is_import)
Ui::ImportSettings * ui
Definition ModelFileDialog.h:109
bool canRevertOptions() const
void setShowOnEachImport()
bool m_canceled
Definition ModelFileDialog.h:113
virtual void setGeometriesAndFeatures(const FactoryFeatures &features)
UnitManager m_file_units
Definition ModelFileDialog.h:108
void postUpdateUIRequest()
bool canResetOptions() const
FactoryOptions::IncludeProperties getReadPrecision() const
void saveOptionsAsDefault()
ModelFileDialog(bool is_import, ProgressInfo *log, QWidget *parent=0)
ProgressInfo * m_log
Definition ModelFileDialog.h:119
static void ResetAllImportOptionsToDefaults()
bool m_accepted
Definition ModelFileDialog.h:112
bool m_has_settings_change
Definition ModelFileDialog.h:115
void revertOptionsToFactoryDefault()
virtual void updateOptions(FactoryOptions &new_options)
FactoryOptions m_default_options
Definition ModelFileDialog.h:118
FactoryOptions::IncludeProperties getGenerationPrecision() const
const bool m_is_import
Definition ModelFileDialog.h:114
void setOptionsToDefault()
virtual void updateGeometriesAndFeatures()
virtual void updateUINow()
static void ResetAllExportOptionsToDefaults()
virtual void onAccepted()
Buffer< GenericOptionsGroup * > m_generic_options_widgets
Definition ModelFileDialog.h:120
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48
The root Model that is responsible for storing the underlying data for all Scene Models.
Definition Model.h:492
Handles a grouping of units that can describe any number of data categories.
Definition UnitManager.h:143
WindingMode
Definition DesignObjectBase.h:97
Definition FontEditor.h:6
A container of input information that is to be filled with output information by an IOFactory.
Definition IOFactory.h:61