API Documentation
|
#include <FieldChooser.h>
Public Slots | |
void | onDelete () |
void | onAccepted () |
void | clearButtonClicked () |
void | stopClearSignalTimer () |
void | channelEditedSlot () |
void | dimensionsEditedSlot () |
void | typeEditedSlot () |
void | defaultValueEditedSlot () |
void | dimensionIndexEdited () |
Signals | |
void | accepted () |
void | cleared () |
void | edited () |
Public Member Functions | |
FieldChooser (QWidget *parent=nullptr) | |
void | setOptions (const Buffer< DesignParameter > &items) |
bool | allowInt () const |
bool | allowDecimal () const |
bool | allowColor () const |
bool | allowPolarCoordinates () const |
bool | allowCartesianCoordinates () const |
void | refreshUI () |
void | setSelected (DesignParameter param, const TypeInfo &type) |
DesignParameter | getOption () const |
TypeInfo | getType () const |
void | setAllowDefaultValue (bool allow_default) |
void | setAllowCustom (bool allow_custom) |
void | setSpacialUnit (const ConstPointer< Unit > spacial_unit) |
void | setOrientationUnit (const ConstPointer< Unit > spacial_unit) |
void | setClearButtonText (const TranslatedString &text) |
void | setExtraContexMenu (QMenu *menu) |
Protected Member Functions | |
void | channelChanged () |
void | dimensionsChanged () |
void | typeChanged () |
void | uncheckAll () |
Protected Attributes | |
DesignParameter | m_ascii_choosen |
TypeInfo | m_type |
Ui::FieldChooserUI * | ui |
bool | is_valid |
bool | m_allow_custom |
Buffer< DesignParameter > | m_options |
ConstPointer< Unit > | m_spacial_unit |
ConstPointer< Unit > | m_orientation_unit |
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 |