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