API Documentation
|
A Widget for setting up and choosing a Field used for importing and exporting data. More...
#include <FieldChooser.h>
Public Slots | |
void | channelEditedSlot () |
void | clearButtonClicked () |
void | defaultValueEditedSlot () |
void | dimensionIndexEdited () |
void | dimensionsEditedSlot () |
void | onAccepted () |
void | onDelete () |
void | stopClearSignalTimer () |
void | typeEditedSlot () |
Signals | |
void | accepted () |
void | cleared () |
void | edited () |
Public Member Functions | |
bool | allowCartesianCoordinates () const |
bool | allowColor () const |
bool | allowDecimal () const |
bool | allowInt () const |
bool | allowPolarCoordinates () const |
FieldChooser (QWidget *parent=nullptr) | |
DesignParameter | getOption () const |
TypeInfo | getType () const |
void | refreshUI () |
void | setAllowCustom (bool allow_custom) |
void | setAllowDefaultValue (bool allow_default) |
void | setClearButtonText (const TranslatedString &text) |
void | setExtraContexMenu (QMenu *menu) |
void | setOptions (const Buffer< DesignParameter > &items) |
void | setOrientationUnit (const ConstPointer< Unit > spacial_unit) |
void | setSelected (DesignParameter param, const TypeInfo &type) |
void | setSpacialUnit (const ConstPointer< Unit > spacial_unit) |
Protected Member Functions | |
void | channelChanged () |
void | dimensionsChanged () |
void | typeChanged () |
void | uncheckAll () |
Protected Attributes | |
bool | is_valid |
bool | m_allow_custom |
DesignParameter | m_ascii_choosen |
Buffer< DesignParameter > | m_options |
ConstPointer< Unit > | m_orientation_unit |
ConstPointer< Unit > | m_spacial_unit |
TypeInfo | m_type |
Ui::FieldChooserUI * | ui |
A Widget for setting up and choosing a Field used for importing and exporting data.
FieldChooser | ( | QWidget * | parent = nullptr | ) |
|
signal |
bool allowCartesianCoordinates | ( | ) | const |
bool allowColor | ( | ) | const |
bool allowDecimal | ( | ) | const |
bool allowInt | ( | ) | const |
bool allowPolarCoordinates | ( | ) | const |
|
protected |
|
slot |
|
slot |
|
signal |
|
slot |
|
slot |
|
protected |
|
slot |
|
signal |
|
inline |
|
inline |
|
inlineslot |
|
inlineslot |
void refreshUI | ( | ) |
void setAllowCustom | ( | bool | allow_custom | ) |
void setAllowDefaultValue | ( | bool | allow_default | ) |
void setClearButtonText | ( | const TranslatedString & | text | ) |
void setExtraContexMenu | ( | QMenu * | menu | ) |
void setOptions | ( | const Buffer< DesignParameter > & | items | ) |
void setOrientationUnit | ( | const ConstPointer< Unit > | spacial_unit | ) |
void setSelected | ( | DesignParameter | param, |
const TypeInfo & | type ) |
void setSpacialUnit | ( | const ConstPointer< Unit > | spacial_unit | ) |
|
inlineslot |
|
protected |
|
slot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |