33#include <NDEVR/DesignParameter.h>
34#include <NDEVR/TypeInfo.h>
110 Ui::FieldChooserUI*
ui;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
Provides a constant, unmodifiable pointer that has shared ownership of a dynamically allocated object...
Definition GraphicsPipeline.h:42
A definition of data that is logically stored in the Model heirarchy. Data could be a property of a M...
Definition DesignParameter.h:46
A Widget for setting up and choosing a Field used for importing and exporting data.
Definition FieldChooser.h:47
ConstPointer< Unit > m_orientation_unit
Definition FieldChooser.h:115
void setClearButtonText(const TranslatedString &text)
void defaultValueEditedSlot()
Buffer< DesignParameter > m_options
Definition FieldChooser.h:113
void setSpacialUnit(const ConstPointer< Unit > spacial_unit)
DesignParameter m_ascii_choosen
Definition FieldChooser.h:108
void clearButtonClicked()
TypeInfo getType() const
Definition FieldChooser.h:68
TypeInfo m_type
Definition FieldChooser.h:109
void dimensionsEditedSlot()
bool is_valid
Definition FieldChooser.h:111
void setAllowCustom(bool allow_custom)
void setOrientationUnit(const ConstPointer< Unit > spacial_unit)
ConstPointer< Unit > m_spacial_unit
Definition FieldChooser.h:114
void onDelete()
Definition FieldChooser.h:88
bool allowCartesianCoordinates() const
bool m_allow_custom
Definition FieldChooser.h:112
DesignParameter getOption() const
Definition FieldChooser.h:63
bool allowDecimal() const
void stopClearSignalTimer()
Definition FieldChooser.h:98
void setExtraContexMenu(QMenu *menu)
Ui::FieldChooserUI * ui
Definition FieldChooser.h:110
bool allowPolarCoordinates() const
void setOptions(const Buffer< DesignParameter > &items)
void setAllowDefaultValue(bool allow_default)
void onAccepted()
Definition FieldChooser.h:92
FieldChooser(QWidget *parent=nullptr)
void dimensionIndexEdited()
void setSelected(DesignParameter param, const TypeInfo &type)
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
Definition TranslatedString.h:13
Stores information about a type, relevant for certain templated functions. To get information about a...
Definition TypeInfo.h:43
Definition FontEditor.h:6