neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::DesignStudio::widget_property_presentation_model Class Reference

#include <widget.hpp>

Inheritance diagram for neogfx::DesignStudio::widget_property_presentation_model:
neogfx::basic_item_presentation_model< ItemModel > neogfx::object< reference_counted< i_item_presentation_model > > neolib::object< Base > neogfx::i_properties neolib::lifetime< Base > neolib::i_lifetime

Public Member Functions

 widget_property_presentation_model ()
 
ng::optional_color cell_color (const ng::item_presentation_model_index &aIndex, ng::color_role aColorRole) const override
 
- Public Member Functions inherited from neogfx::basic_item_presentation_model< ItemModel >
 define_declared_event (VisualAppearanceChanged, visual_appearance_changed) define_declared_event(ColumnInfoChanged
 
item_presentation_model_index::column_type define_declared_event (ItemModelChanged, item_model_changed, const i_item_model &) define_declared_event(ItemAdded
 
item_presentation_model_index::column_type item_presentation_model_index const & define_declared_event (ItemChanged, item_changed, item_presentation_model_index const &) define_declared_event(ItemRemoving
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const & define_declared_event (ItemRemoved, item_removed, item_presentation_model_index const &) define_declared_event(ItemExpanding
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const & define_declared_event (ItemCollapsing, item_collapsing, item_presentation_model_index const &) define_declared_event(ItemExpanded
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const & define_declared_event (ItemCollapsed, item_collapsed, item_presentation_model_index const &) define_declared_event(ItemToggled
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const & define_declared_event (ItemChecked, item_checked, item_presentation_model_index const &) define_declared_event(ItemUnchecked
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const & define_declared_event (ItemIndeterminate, item_indeterminate, item_presentation_model_index const &) define_declared_event(ItemsUpdating
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating define_declared_event (ItemsUpdated, items_updated) define_declared_event(ItemsSorting
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting define_declared_event (ItemsSorted, items_sorted) define_declared_event(ItemsFiltering
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting items_filtering define_declared_event (ItemsFiltered, items_filtered) define_declared_event(DraggingItem
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting items_filtering i_drag_drop_item const & define_declared_event (DraggingItemRenderInfo, dragging_item_render_info, i_drag_drop_item const &, bool &, size &) define_declared_event(DraggingItemRender
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting items_filtering i_drag_drop_item const i_drag_drop_item const i_graphics_context point const & define_declared_event (DraggingItemCancelled, dragging_item_cancelled, i_drag_drop_item const &) define_declared_event(ItemDropped
 
 basic_item_presentation_model (bool aSortable=false)
 
 basic_item_presentation_model (i_item_model &aItemModel, bool aSortable=false)
 
 ~basic_item_presentation_model ()
 
bool metrics_available () const
 
bool attached () const final
 
i_widgetattachment () const final
 
void attach (i_ref_ptr< i_widget > const &aWidget) final
 
void detach () final
 
bool updating () const final
 
void begin_update () final
 
void end_update () final
 
bool has_item_model () const final
 
item_model_type & item_model () const final
 
void set_item_model (i_item_model &aItemModel) final
 
item_model_index to_item_model_index (item_presentation_model_index const &aIndex) const final
 
bool has_item_model_index (item_model_index const &aIndex) const final
 
item_presentation_model_index from_item_model_index (item_model_index const &aIndex, bool aIgnoreColumn=false) const final
 
uint32_t rows () const final
 
uint32_t columns () const final
 
uint32_t columns (item_presentation_model_index const &aIndex) const final
 
void accept (i_meta_visitor &aVisitor, bool aIgnoreCollapsedState=false) final
 
dimension column_width (item_presentation_model_index::column_type aColumnIndex, i_units_context const &aUnitsContext, bool aExtendIntoPadding=true) const override
 
std::string const & column_heading_text (item_presentation_model_index::column_type aColumnIndex) const override
 
size column_heading_extents (item_presentation_model_index::column_type aColumnIndex, i_units_context const &aUnitsContext) const override
 
void set_column_heading_text (item_presentation_model_index::column_type aColumnIndex, std::string const &aHeadingText) final
 
item_cell_flags column_flags (item_presentation_model_index::column_type aColumnIndex) const override
 
void set_column_flags (item_presentation_model_index::column_type aColumnIndex, item_cell_flags aFlags) final
 
optional_size column_image_size (item_presentation_model_index::column_type aColumnIndex) const override
 
void set_column_image_size (item_presentation_model_index::column_type aColumnIndex, optional_size const &aImageSize) final
 
bool expand (item_presentation_model_index const &aIndex) final
 
bool collapse (item_presentation_model_index const &aIndex) final
 
bool toggle_expanded (item_presentation_model_index const &aIndex) final
 
bool expand_to (item_model_index const &aIndex) final
 
const button_checked_state & checked_state (item_presentation_model_index const &aIndex) final
 
bool is_checked (item_presentation_model_index const &aIndex) const final
 
bool is_unchecked (item_presentation_model_index const &aIndex) const final
 
bool is_indeterminate (item_presentation_model_index const &aIndex) const final
 
void set_checked_state (item_presentation_model_index const &aIndex, button_checked_state const &aState) final
 
void check (item_presentation_model_index const &aIndex) final
 
void uncheck (item_presentation_model_index const &aIndex) final
 
void set_indeterminate (item_presentation_model_index const &aIndex) final
 
void set_checked (item_presentation_model_index const &aIndex, bool aChecked) final
 
void toggle_check (item_presentation_model_index const &aIndex) final
 
const font & default_font () const final
 
void set_default_font (optional_font const &aDefaultFont) final
 
size cell_spacing (i_units_context const &aUnitsContext) const final
 
void set_cell_spacing (optional_size const &aSpacing, i_units_context const &aUnitsContext) final
 
neogfx::padding cell_padding (i_units_context const &aUnitsContext) const final
 
void set_cell_padding (optional_padding const &aPadding, i_units_context const &aUnitsContext) final
 
bool alternating_row_color () const final
 
void set_alternating_row_color (bool aAlternatingColor) final
 
dimension item_height (item_presentation_model_index const &aIndex, i_units_context const &aUnitsContext) const final
 
double total_height (i_units_context const &aUnitsContext) const final
 
double item_position (item_presentation_model_index const &aIndex, i_units_context const &aUnitsContext) const final
 
std::pair< item_presentation_model_index::row_type, coordinateitem_at (double aPosition, i_units_context const &aUnitsContext) const final
 
item_cell_flags cell_flags (item_presentation_model_index const &aIndex) const override
 
void set_cell_flags (item_presentation_model_index const &aIndex, item_cell_flags aFlags) final
 
cell_meta_type & cell_meta (item_presentation_model_index const &aIndex) const final
 
std::string cell_to_string (item_presentation_model_index const &aIndex) const final
 
item_cell_data string_to_cell_data (item_presentation_model_index const &aIndex, std::string const &aString) const final
 
item_cell_data string_to_cell_data (item_presentation_model_index const &aIndex, std::string const &aString, bool &aError) const final
 
boost::basic_format< char > cell_format (item_presentation_model_index const &) const override
 
optional_color cell_color (item_presentation_model_index const &, color_role) const override
 
optional_font cell_font (item_presentation_model_index const &) const override
 
optional_size cell_image_size (item_presentation_model_index const &aIndex) const override
 
optional_size cell_check_box_size (item_presentation_model_index const &aIndex, i_units_context const &aUnitsContext) const override
 
optional_size cell_tree_expander_size (item_presentation_model_index const &aIndex, i_units_context const &aUnitsContext) const override
 
optional_texture cell_image (item_presentation_model_index const &) const override
 
neogfx::glyph_textcell_glyph_text (item_presentation_model_index const &aIndex) const override
 
size cell_extents (item_presentation_model_index const &aIndex, i_units_context const &aUnitsContext) const override
 
dimension indent (item_presentation_model_index const &aIndex, i_units_context const &aUnitsContext) const override
 
void sort (i_item_sort_predicate const &aPredicate) final
 
bool sortable () const final
 
void set_sortable (bool aSortable) final
 
optional_sort_by_param sorting_by () const final
 
void sort_by (item_presentation_model_index::column_type aColumnIndex, const optional_sort_direction &aSortDirection=optional_sort_direction{}) final
 
void reset_sort () final
 
optional_item_presentation_model_index find_item (filter_search_key const &aFilterSearchKey, item_presentation_model_index::column_type aColumnIndex=0, filter_search_type aFilterSearchType=filter_search_type::Prefix, case_sensitivity aCaseSensitivity=case_sensitivity::CaseInsensitive) const final
 
bool filtering () const final
 
optional_filter filtering_by () const final
 
void filter_by (item_presentation_model_index::column_type aColumnIndex, filter_search_key const &aFilterSearchKey, filter_search_type aFilterSearchType=filter_search_type::Value, case_sensitivity aCaseSensitivity=case_sensitivity::CaseInsensitive) final
 
void reset_filter () final
 
- Public Member Functions inherited from neogfx::object< reference_counted< i_item_presentation_model > >
i_objectas_object () override
 
void class_name (neolib::i_string &aClassName) const override
 
neogfx::object_type object_type () const override
 
void property_changed (i_property &) override
 
const i_propertiesproperties () const override
 
i_propertiesproperties () override
 
void register_property (i_property &aProperty) override
 
const neogfx::property_mapproperty_map () const override
 
- Public Member Functions inherited from neolib::object< Base >
 define_declared_event (Destroying, destroying)
 
 define_declared_event (Destroyed, destroyed)
 
 object (lifetime_state aState=lifetime_state::Creating)
 
 ~object ()
 
void set_destroying () override
 
void set_destroyed () override
 
bool is_alive () const final
 
bool is_destroyed () const final
 
- Public Member Functions inherited from neolib::lifetime< Base >
 lifetime (lifetime_state aState=lifetime_state::Alive)
 
virtual ~lifetime ()
 
lifetime_state object_state () const final
 
std::shared_ptr< std::atomic< lifetime_state > > object_state_ptr () const final
 
bool is_creating () const final
 
bool is_destroying () const final
 
void set_alive () override
 
- Public Member Functions inherited from neolib::i_lifetime
virtual ~i_lifetime ()=default
 
- Public Member Functions inherited from neogfx::i_properties
uint32_t count () const
 
std::string name (uint32_t aIndex) const
 
const i_propertyproperty (uint32_t aIndex) const
 
i_propertyproperty (uint32_t aIndex)
 

Additional Inherited Members

- Public Types inherited from neolib::lifetime< Base >
typedef neolib::destroyed_flag destroyed_flag
 
- Public Attributes inherited from neogfx::basic_item_presentation_model< ItemModel >
 column_info_changed
 
item_presentation_model_index::column_type item_added
 
item_presentation_model_index::column_type item_presentation_model_index const item_removing
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_expanding
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_expanded
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_toggled
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_unchecked
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting items_filtering dragging_item
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting items_filtering i_drag_drop_item const dragging_item_render
 
item_presentation_model_index::column_type item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const item_presentation_model_index const items_updating items_sorting items_filtering i_drag_drop_item const i_drag_drop_item const i_graphics_context point const item_dropped
 
- Protected Member Functions inherited from neogfx::i_properties
neogfx::property_mapproperty_map ()
 

Detailed Description

Definition at line 31 of file widget.hpp.

Constructor & Destructor Documentation

◆ widget_property_presentation_model()

neogfx::DesignStudio::widget_property_presentation_model::widget_property_presentation_model ( )
inline

Definition at line 34 of file widget.hpp.

Member Function Documentation

◆ cell_color()

ng::optional_color neogfx::DesignStudio::widget_property_presentation_model::cell_color ( const ng::item_presentation_model_index &  aIndex,
ng::color_role  aColorRole 
) const
inlineoverride

Definition at line 39 of file widget.hpp.


The documentation for this class was generated from the following file: