Horizon
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | List of all members
horizon::PoolBrowserDecal Class Reference
Inheritance diagram for horizon::PoolBrowserDecal:
horizon::PoolBrowser horizon::SelectionProvider

Public Member Functions

 PoolBrowserDecal (class IPool &p)
 
void search () override
 
ObjectType get_type () const override
 
- Public Member Functions inherited from horizon::PoolBrowser
 PoolBrowser (class IPool &pool, const std::string &prefix="")
 
UUID get_selected () override
 
bool get_any_selected ()
 
void set_show_none (bool v)
 
void set_show_path (bool v)
 
void add_context_menu_item (const std::string &label, std::function< void(UUID)> cb, std::function< bool(UUID)> cb_sensitive=nullptr)
 
virtual void add_copy_name_context_menu_item ()
 
void search_once ()
 
void clear_search_once ()
 
void go_to (const UUID &uu)
 
void clear_search ()
 
void focus_search ()
 
void reload_pools ()
 
void sort_by_mtime ()
 
- Public Member Functions inherited from horizon::SelectionProvider
type_signal_selected signal_selected ()
 
type_signal_selected signal_activated ()
 

Protected Member Functions

Glib::RefPtr< Gtk::ListStore > create_list_store () override
 
void create_columns () override
 
void add_sort_controller_columns () override
 
UUID uuid_from_row (const Gtk::TreeModel::Row &row) override
 
PoolItemSource pool_item_source_from_row (const Gtk::TreeModel::Row &row) override
 
- Protected Member Functions inherited from horizon::PoolBrowser
void construct (Gtk::Widget *search_box=nullptr)
 
Gtk::TreeViewColumn * append_column (const std::string &name, const Gtk::TreeModelColumnBase &column, Pango::EllipsizeMode ellipsize=Pango::ELLIPSIZE_NONE)
 
Gtk::TreeViewColumn * append_column_with_item_source_cr (const std::string &name, const Gtk::TreeModelColumnBase &column, Pango::EllipsizeMode ellipsize=Pango::ELLIPSIZE_NONE)
 
class CellRendererColorBoxcreate_pool_item_source_cr (Gtk::TreeViewColumn *tvc)
 
void install_column_tooltip (Gtk::TreeViewColumn &tvc, const Gtk::TreeModelColumnBase &col)
 
Gtk::Entry * create_search_entry (const std::string &label, Gtk::Widget *extra_widget=nullptr)
 
class TagEntrycreate_tag_entry (const std::string &label, Gtk::Widget *extra_widget=nullptr)
 
void add_search_widget (const std::string &label, Gtk::Widget &w, Gtk::Widget *extra_widget=nullptr)
 
void row_activated (const Gtk::TreeModel::Path &path, Gtk::TreeViewColumn *column)
 
void selection_changed ()
 
void select_uuid (const UUID &uu)
 
void scroll_to_selection ()
 
PoolItemSource pool_item_source_from_db (const SQLite::Query &q, int idx_uu, int idx_last_uu) const
 
PoolItemSource pool_item_source_from_db (const UUID &uu, const UUID &last_uu) const
 
void install_pool_item_source_tooltip ()
 
void set_busy (bool busy)
 
void prepare_search ()
 
void finish_search ()
 
std::string get_tags_query (const std::set< std::string > &tags) const
 
void bind_tags_query (SQLite::Query &q, const std::set< std::string > &tags) const
 
Gtk::Widget * create_pool_selector ()
 
std::string get_pool_selector_query () const
 
void bind_pool_selector_query (SQLite::Query &q) const
 

Additional Inherited Members

- Public Types inherited from horizon::PoolBrowser
enum class  PoolItemSource {
  LOCAL , INCLUDED , OVERRIDDEN , OVERRIDDEN_LOCAL ,
  CACHED
}
 
- Public Types inherited from horizon::SelectionProvider
typedef sigc::signal< void > type_signal_selected
 
- Protected Attributes inherited from horizon::PoolBrowser
class IPoolpool
 
UUID pool_uuid
 
bool pools_included = false
 
bool show_none = false
 
bool show_path = false
 
Gtk::TreeViewColumn * path_column = nullptr
 
Gtk::TreeView * treeview = nullptr
 
Gtk::ScrolledWindow * scrolled_window = nullptr
 
Glib::RefPtr< Gtk::ListStore > store
 
std::unique_ptr< class SortControllersort_controller
 
Gtk::Menu context_menu
 
Gtk::Menu header_context_menu
 
std::set< Gtk::Entry * > search_entries
 
std::set< TagEntry * > tag_entries
 
bool searched_once = false
 
Gtk::Box * status_box = nullptr
 
Gtk::Widget * focus_widget = nullptr
 
- Protected Attributes inherited from horizon::SelectionProvider
type_signal_selected s_signal_selected
 
type_signal_selected s_signal_activated
 
- Static Protected Attributes inherited from horizon::PoolBrowser
static const int mtime_column = -1
 

Member Function Documentation

◆ add_sort_controller_columns()

void horizon::PoolBrowserDecal::add_sort_controller_columns ( )
overrideprotectedvirtual

Implements horizon::PoolBrowser.

◆ create_columns()

void horizon::PoolBrowserDecal::create_columns ( )
overrideprotectedvirtual

Implements horizon::PoolBrowser.

◆ create_list_store()

Glib::RefPtr< Gtk::ListStore > horizon::PoolBrowserDecal::create_list_store ( )
overrideprotectedvirtual

Implements horizon::PoolBrowser.

◆ get_type()

ObjectType horizon::PoolBrowserDecal::get_type ( ) const
inlineoverridevirtual

Reimplemented from horizon::PoolBrowser.

◆ pool_item_source_from_row()

PoolBrowser::PoolItemSource horizon::PoolBrowserDecal::pool_item_source_from_row ( const Gtk::TreeModel::Row &  row)
overrideprotectedvirtual

Reimplemented from horizon::PoolBrowser.

◆ search()

void horizon::PoolBrowserDecal::search ( )
overridevirtual

Implements horizon::PoolBrowser.

◆ uuid_from_row()

UUID horizon::PoolBrowserDecal::uuid_from_row ( const Gtk::TreeModel::Row &  row)
overrideprotectedvirtual

Implements horizon::PoolBrowser.


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