Guitarix
|
#include <gx_preset_window.h>
Public Member Functions | |
PresetWindow (Glib::RefPtr< gx_gui::GxBuilder > bld, gx_engine::GxMachineBase &machine, const gx_system::CmdlineOptions &options, GxActions &actions, UIManager &uimanager) | |
~PresetWindow () | |
void | on_preset_select (bool v, bool animated, int preset_window_height) |
Private Types | |
enum | { TEXT_TARGETS = 0 , MODELROW_TARGET = 1 , URILIST_TARGET = 2 } |
Private Member Functions | |
void | load_widget_pointers (Glib::RefPtr< gx_gui::GxBuilder > bld) |
void | target_drag_data_received (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, const Gtk::SelectionData &data, guint info, guint timestamp) |
bool | on_target_drag_motion (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint timestamp) |
Glib::ustring | get_combo_selection () |
void | reload_combo () |
void | on_preset_combo_changed () |
bool | select_func (const Glib::RefPtr< Gtk::TreeModel > &model, const Gtk::TreePath &path, bool path_currently_selected) |
void | set_cell_text (Gtk::Widget *widget, Gtk::CellRenderer *cell, const Glib::ustring &text, bool selected) |
void | highlight_current_bank (Gtk::CellRenderer *cell, const Gtk::TreeModel::iterator &iter) |
void | text_func (Gtk::CellRenderer *cell, const Gtk::TreeModel::iterator &iter) |
void | on_editing_started (const Gtk::CellEditable *edit, const Glib::ustring &path, Glib::RefPtr< Gtk::TreeModel > &model) |
void | reset_edit (Gtk::TreeViewColumn &col) |
void | on_edit_canceled (Gtk::TreeViewColumn *col) |
void | start_edit (const Gtk::TreeModel::Path &pt, Gtk::TreeViewColumn &col, Gtk::CellRenderer &cell) |
Gtk::TreeIter | get_current_bank_iter () |
Glib::ustring | get_current_bank () |
bool | run_message_dialog (Gtk::Widget &w, const Glib::ustring &msg) |
bool | on_bank_button_release (GdkEventButton *ev) |
void | on_bank_edited (const Glib::ustring &path, const Glib::ustring &newtext, Gtk::TreeView *w) |
bool | is_row_separator (const Glib::RefPtr< Gtk::TreeModel > &model, const Gtk::TreeModel::iterator &iter) |
void | on_new_bank () |
void | on_preset_save () |
const std::string | pdir () |
void | on_online_preset () |
void | show_online_preset () |
void | popup_pos (int &x, int &y, bool &push_in) |
void | downloadPreset (Gtk::Menu *presetMenu, std::string uri) |
bool | download_file (Glib::ustring from_uri, Glib::ustring to_path) |
Glib::ustring | resolve_hostname () |
void | create_preset_menu () |
void | read_preset_menu () |
bool | on_bank_drag_motion (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint timestamp) |
bool | bank_drag_moveable (Gtk::TreePath pt) |
bool | bank_find_drop_position (int x, int y, Gtk::TreeModel::Path &pt, Gtk::TreeViewDropPosition &dst) |
void | on_bank_drag_data_received (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, const Gtk::SelectionData &data, guint info, guint timestamp) |
void | on_bank_drag_data_get (const Glib::RefPtr< Gdk::DragContext > &context, Gtk::SelectionData &selection, int info, int timestamp) |
void | on_bank_changed () |
bool | on_bank_query_tooltip (int x, int y, bool kb_tooltip, Glib::RefPtr< Gtk::Tooltip > tooltip) |
void | on_bank_reordered (const Gtk::TreeModel::Path &path) |
bool | on_preset_button_release (GdkEventButton *ev) |
void | on_preset_row_activated (const Gtk::TreePath &path, Gtk::TreeViewColumn *column) |
void | on_preset_edited (const Glib::ustring &path, const Glib::ustring &newtext) |
void | on_preset_changed () |
bool | on_preset_drag_motion (const Glib::RefPtr< Gdk::DragContext > &context, int x, int y, guint timestamp) |
void | on_preset_drag_data_get (const Glib::RefPtr< Gdk::DragContext > &context, Gtk::SelectionData &selection, int info, int timestamp) |
void | on_preset_reordered (const Gtk::TreeModel::Path &path) |
void | autosize () |
void | on_organize () |
bool | animate_preset_show () |
bool | animate_preset_hide () |
void | set_row_for_presetfile (Gtk::TreeIter i, gx_system::PresetFileGui *f) |
void | display_paned (bool show_preset, int paned_child_height) |
void | on_selection_changed () |
void | on_presetlist_changed () |
Private Attributes | |
gx_engine::GxMachineBase & | machine |
GxActions & | actions |
Glib::RefPtr< Gtk::AccelGroup > | accelgroup |
CURL * | curl |
bool | in_edit |
Gtk::TreeModel::iterator | edit_iter |
Glib::RefPtr< Gdk::Pixbuf > | pb_edit |
Glib::RefPtr< Gdk::Pixbuf > | pb_del |
Glib::RefPtr< Gdk::Pixbuf > | pb_scratch |
Glib::RefPtr< Gdk::Pixbuf > | pb_versiondiff |
Glib::RefPtr< Gdk::Pixbuf > | pb_readonly |
Glib::RefPtr< Gdk::Pixbuf > | pb_factory |
Glib::RefPtr< PresetStore > | pstore |
TargetModelColumns | target_col |
BankModelColumns | bank_col |
int | vpaned_pos |
int | vpaned_step |
int | vpaned_target |
const gx_system::CmdlineOptions & | options |
bool | in_current_preset |
bool | load_in_progress |
sigc::connection | on_map_conn |
Gtk::Button * | save_preset |
Gtk::Button * | new_preset_bank |
Gtk::ToggleButton * | organize_presets |
Gtk::Button * | online_preset |
MyTreeView * | bank_treeview |
Gtk::CellRendererText * | bank_cellrenderer |
MyTreeView * | preset_treeview |
Gtk::CellRendererText * | preset_cellrenderer |
Gtk::ComboBox * | banks_combobox |
MyTreeView * | presets_target_treeview |
Gtk::Label * | preset_title |
Gtk::ScrolledWindow * | presets_target_scrolledbox |
Gtk::TreeViewColumn * | bank_column_flags |
Gtk::TreeViewColumn * | bank_column_bank |
Gtk::TreeViewColumn * | bank_column_edit |
Gtk::TreeViewColumn * | bank_column_delete |
Gtk::TreeViewColumn * | bank_column_spacer |
Gtk::TreeViewColumn * | preset_column_preset |
Gtk::TreeViewColumn * | preset_column_edit |
Gtk::TreeViewColumn * | preset_column_delete |
Gtk::TreeViewColumn * | preset_column_spacer |
Gtk::Paned * | main_vpaned |
Gtk::ScrolledWindow * | preset_scrolledbox |
std::vector< std::tuple< std::string, std::string, std::string > > | olp |
Definition at line 76 of file gx_preset_window.h.
|
private |
Enumerator | |
---|---|
TEXT_TARGETS | |
MODELROW_TARGET | |
URILIST_TARGET |
Definition at line 78 of file gx_preset_window.h.
PresetWindow::PresetWindow | ( | Glib::RefPtr< gx_gui::GxBuilder > | bld, |
gx_engine::GxMachineBase & | machine, | ||
const gx_system::CmdlineOptions & | options, | ||
GxActions & | actions, | ||
UIManager & | uimanager | ||
) |
PresetWindow::~PresetWindow | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 145 of file gx_preset_window.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void PresetWindow::on_preset_select | ( | bool | v, |
bool | animated, | ||
int | preset_window_height | ||
) |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 153 of file gx_preset_window.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 85 of file gx_preset_window.h.
|
private |
Definition at line 84 of file gx_preset_window.h.
|
private |
Definition at line 112 of file gx_preset_window.h.
|
private |
Definition at line 97 of file gx_preset_window.h.
|
private |
Definition at line 120 of file gx_preset_window.h.
|
private |
Definition at line 122 of file gx_preset_window.h.
|
private |
Definition at line 121 of file gx_preset_window.h.
|
private |
Definition at line 119 of file gx_preset_window.h.
|
private |
Definition at line 123 of file gx_preset_window.h.
|
private |
Definition at line 111 of file gx_preset_window.h.
Referenced by get_current_bank_iter().
|
private |
Definition at line 115 of file gx_preset_window.h.
|
private |
Definition at line 86 of file gx_preset_window.h.
|
private |
Definition at line 88 of file gx_preset_window.h.
|
private |
Definition at line 102 of file gx_preset_window.h.
|
private |
Definition at line 87 of file gx_preset_window.h.
|
private |
Definition at line 103 of file gx_preset_window.h.
|
private |
Definition at line 83 of file gx_preset_window.h.
|
private |
Definition at line 128 of file gx_preset_window.h.
|
private |
Definition at line 108 of file gx_preset_window.h.
|
private |
Definition at line 162 of file gx_preset_window.h.
|
private |
Definition at line 104 of file gx_preset_window.h.
|
private |
Definition at line 110 of file gx_preset_window.h.
|
private |
Definition at line 101 of file gx_preset_window.h.
Referenced by pdir().
|
private |
Definition at line 109 of file gx_preset_window.h.
|
private |
Definition at line 90 of file gx_preset_window.h.
|
private |
Definition at line 89 of file gx_preset_window.h.
|
private |
Definition at line 94 of file gx_preset_window.h.
|
private |
Definition at line 93 of file gx_preset_window.h.
|
private |
Definition at line 91 of file gx_preset_window.h.
|
private |
Definition at line 92 of file gx_preset_window.h.
|
private |
Definition at line 114 of file gx_preset_window.h.
|
private |
Definition at line 126 of file gx_preset_window.h.
|
private |
Definition at line 125 of file gx_preset_window.h.
|
private |
Definition at line 124 of file gx_preset_window.h.
|
private |
Definition at line 127 of file gx_preset_window.h.
|
private |
Definition at line 129 of file gx_preset_window.h.
|
private |
Definition at line 117 of file gx_preset_window.h.
|
private |
Definition at line 113 of file gx_preset_window.h.
|
private |
Definition at line 118 of file gx_preset_window.h.
|
private |
Definition at line 116 of file gx_preset_window.h.
|
private |
Definition at line 95 of file gx_preset_window.h.
|
private |
Definition at line 107 of file gx_preset_window.h.
|
private |
Definition at line 96 of file gx_preset_window.h.
|
private |
Definition at line 98 of file gx_preset_window.h.
|
private |
Definition at line 99 of file gx_preset_window.h.
|
private |
Definition at line 100 of file gx_preset_window.h.