|
void | addID (const UUID &id) |
|
bool | canAddModel (const Model &model) |
|
TranslatedString | displayName (const Model &m) |
|
bool | isModelAllowed (const Model &model) |
|
bool | isNewSelected () const |
|
| ModelChooserCombo (QWidget *parent=nullptr) |
|
virtual void | onSorted (const Buffer< uint04 > &sorted_indices) |
|
void | refreshFromManager () |
|
void | removeID (const UUID &id) |
|
UUID | selectedID () const |
|
void | setAllowNew (bool allow_new, const TranslatedString &new_title) |
|
void | setCurrentSelection (UUID id) |
|
void | setDisplayNameCallback (std::function< TranslatedString(const Model &)> &callback) |
|
void | setExclusionList (const Buffer< UUID > &exclusion_list) |
|
void | setIDs (const Buffer< UUID > &ids) |
|
void | setIncludeParentName (bool include_parent_name, const String &parent_type=String()) |
|
void | setIncludePath (bool include_parent_name, const String &parent_type=String()) |
|
void | setManager (QTModelManager *manager) |
|
void | setModelFilter (const std::function< bool(const Model &)> &model_filter) |
|
void | setModelParentID (const UUID &parent) |
|
void | setModels (const Buffer< Model > &models) |
|
void | setModelType (const String &type) |
|
void | setToNew () |
|
template<class t_type > |
void | add (const t_type &value, const TranslatedString &display_value, bool refresh_widget=false) |
|
void | clearValue () |
|
QCustomValidator & | customValidator () |
|
const QCustomValidator & | customValidator () const |
|
const Buffer< TranslatedString > & | displayValues () const |
|
bool | event (QEvent *event) override |
|
void | focusInEvent (QFocusEvent *e) override |
|
template<class t_type > |
t_type | getAs () const |
|
template<class t_type > |
t_type | getAs (uint04 index) const |
|
Angle< fltp08 > | getUnitAngle () const |
|
fltp08 | getUnitValue () const |
|
void | hidePopup () override |
|
bool | isUsingCustom () const |
|
void | lockInCustomValue () |
|
QSize | minimumSizeHint () const override |
|
void | paintEvent (QPaintEvent *) override |
|
| QCustomComboBox (QWidget *parent=nullptr) |
|
void | refresh () |
|
template<class t_type > |
void | remove (const t_type &value, bool refresh_widget=false) |
|
void | resizeEvent (QResizeEvent *event) override |
|
template<class t_enum > |
std::enable_if< ObjectInfo< t_enum >::Enum >::type | set (t_enum value) |
|
void | setAllowCustom (bool allow_custom) |
|
void | setAutoFormat (bool auto_format) |
|
void | setConstantUnit (const ConstPointer< Unit > &unit, uint01 dimension=Constant< uint01 >::Invalid) |
|
void | setCustomUnit (const String &unit, UnitCategory fallback_unit, uint01 dimension=Constant< uint01 >::Invalid) |
|
void | setCustomValidator (const QCustomValidator &validator) |
|
void | setSuffix (const TranslatedString &suffix) |
|
void | setTitle (const TranslatedString &title) |
|
void | setToolTip (const TranslatedString &tooltip) |
|
void | setUnitType (UnitCategory unit, uint01 dimension=Constant< uint01 >::Invalid) |
|
void | setUnitValue (fltp08 value, uint01 unit_dimension=0) |
|
template<class t_object > |
void | setup (const TranslatedString &title, const Buffer< std::pair< TranslatedString, t_object > > &items) |
|
void | setup (const TranslatedString &title, const Buffer< String > &values, const Buffer< TranslatedString > &display_values) |
|
template<class t_object > |
std::enable_if< ObjectInfo< t_object >::Enum >::type | setup (const TranslatedString &title, const Buffer< t_object > &items) |
|
template<class t_object > |
std::enable_if< ObjectInfo< t_object >::Number >::type | setup (const TranslatedString &title, const Buffer< t_object > &items) |
|
template<class t_object > |
std::enable_if<!ObjectInfo< t_object >::Enum &&!ObjectInfo< t_object >::Number >::type | setup (const TranslatedString &title, const Buffer< t_object > &items) |
|
void | setup (const TranslatedString &title, const Buffer< TranslatedString > &values) |
|
template<class t_enum > |
std::enable_if< ObjectInfo< t_enum >::Enum >::type | setup (const TranslatedString &title, t_enum first, t_enum last) |
|
template<class t_enum > |
std::enable_if< ObjectInfo< t_enum >::Enum >::type | setup (const TranslatedString &title, uint04 size) |
|
template<class t_type > |
void | setupResource (const TranslatedString &title, Resource< t_type > &resource) |
|
void | setValue (const String &value) |
|
template<class t_type > |
void | setValue (const t_type &t_value) |
|
void | setValue (const TranslatedString &t_value) |
|
void | showPopup () override |
|
QSize | sizeHint () const override |
|
void | sortAlphabetically (uint04 start=0, uint04 size=Constant< uint04 >::Invalid) |
|
const TranslatedString & | suffix () const |
|
void | updateFontSize () |
|
const Buffer< String > & | values () const |
|
void | wheelEvent (QWheelEvent *e) override |
|