34#include <NDEVR/ModelFileDialog.h>
35#if NDEVR_SUPPORTS_THREADING
36 #include <NDEVR/CachedFactoryIOThread.h>
42 class ModelSelectionTree;
67 bool loadOrSaveFile();
68 void processWarnings();
69 void onOperationFinished(
bool success);
70 void onSuccessfulSave();
71 void onSuccessfulImport();
72 virtual void onCancelled()
override;
73 virtual void onAccepted()
override;
78#if NDEVR_SUPPORTS_THREADING
87 bool m_position_on_end;
Dialog that allows user to choose import or export options while simultaniously automatically writing...
Definition AutoModelFileDialog.h:49
bool m_show_error_dialog
Definition AutoModelFileDialog.h:83
void setIsValid(bool is_valid)
virtual void filterModelsToExport()
virtual void updateOptions(FactoryOptions &new_options) override
void selectDefaultToExport()
void setPositionOnEnd(bool position_on_end)
ModelSelectionTree * m_selection_tree
Definition AutoModelFileDialog.h:82
CachedFactoryIOThread m_factory_thread
Definition AutoModelFileDialog.h:79
Buffer< FactoryParameters > m_files
Definition AutoModelFileDialog.h:81
Buffer< UUID > IDs() const
virtual void setRequests(const Buffer< FactoryParameters > &file)
virtual void setUUIDs(Buffer< UUID > models)
virtual void beginProcess()
AutoModelFileDialog(bool is_import, ProgressInfo *log, QWidget *parent=nullptr)
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A thread designed to read and write files using the FactoryIO interface. Thread will perform all acti...
Definition CachedFactoryIOThread.h:47
User-defined options that define preferences for importing and exporting using IOFactory objects.
Definition FactoryOptions.h:49
The core logic for importing and exporting files from the model heirarchy. Stores a series of IOFacto...
Definition ModelFactory.h:45
Shows options related to an import or export that utilizes the IOFactory methods to write or read pro...
Definition ModelFileDialog.h:60
Definition ModelSelectionTree.h:48
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48