Ardour  8.7-15-gadf511264b
TriggerUI Class Referenceabstract

#include <trigger_ui.h>

Inheritance diagram for TriggerUI:
[legend]

Public Member Functions

 TriggerUI ()
 
virtual ~TriggerUI ()
 
void set_trigger (ARDOUR::TriggerReference)
 
virtual void on_trigger_set ()
 
virtual void on_trigger_changed (PBD::PropertyChange const &)=0
 
ARDOUR::TriggerReference trigger_reference () const
 
ARDOUR::TriggerPtr trigger () const
 
ARDOUR::TriggerBoxtriggerbox () const
 
void choose_color ()
 
void choose_sample (bool allow_multiple_select)
 
void sample_chosen (int r)
 
void launch_context_menu ()
 
void follow_context_menu (GdkEventButton *)
 
void context_menu ()
 
void edit_jump_done (int r, TriggerJumpDialog *d)
 
void edit_jump (bool right_fa)
 
void set_follow_action (ARDOUR::FollowAction const &)
 
void set_launch_style (ARDOUR::Trigger::LaunchStyle)
 
void set_quantization (Temporal::BBT_Offset const &)
 
void set_from_selection ()
 
void toggle_trigger_isolated ()
 
void clear_trigger ()
 
void edit_trigger ()
 
void trigger_midi_learn ()
 
void trigger_midi_unlearn ()
 

Static Public Member Functions

static std::string follow_action_to_string (ARDOUR::FollowAction const &, bool with_targets=false)
 
static std::string quantize_length_to_string (Temporal::BBT_Offset const &)
 
static std::string launch_style_to_string (ARDOUR::Trigger::LaunchStyle)
 
static std::string stretch_mode_to_string (ARDOUR::Trigger::StretchMode)
 
static void setup_actions_and_bindings ()
 

Static Public Attributes

static std::vector< std::string > follow_strings
 
static std::string longest_follow
 
static std::vector< std::string > quantize_strings
 
static std::string longest_quantize
 
static std::vector< std::string > launch_strings
 
static std::string longest_launch
 
static std::vector< std::string > stretch_mode_strings
 
static std::string longest_stretch_mode
 

Protected Member Functions

bool namebox_button_press (GdkEventButton *)
 
bool start_rename ()
 
void end_rename (bool)
 
void entry_changed ()
 
void entry_activated ()
 
bool entry_focus_in (GdkEventFocus *)
 
bool entry_focus_out (GdkEventFocus *)
 
bool entry_key_press (GdkEventKey *)
 
bool entry_key_release (GdkEventKey *)
 
bool entry_button_press (GdkEventButton *)
 
void disconnect_entry_signals ()
 
void trigger_swap (uint32_t)
 

Protected Attributes

std::list< sigc::connection > _entry_connections
 
bool _renaming
 
Gtk::Entry _nameentry
 
Gtk::Label _name_label
 
Gtk::EventBox _namebox
 
ArdourWidgets::Frame _name_frame
 
Gtk::FileChooserDialog_file_chooser
 
sigc::connection _file_chooser_connection
 
Gtk::Menu_launch_context_menu
 
Gtk::Menu_follow_context_menu
 
Gtk::Menu_context_menu
 
bool _ignore_menu_action
 
Gtk::ColorSelectionDialog_color_dialog
 
PBD::ScopedConnection trigger_swap_connection
 
ARDOUR::TriggerReference tref
 
PBD::ScopedConnectionList trigger_connections
 

Private Member Functions

void trigger_changed (PBD::PropertyChange const &)
 

Detailed Description

Definition at line 40 of file trigger_ui.h.

Constructor & Destructor Documentation

◆ TriggerUI()

TriggerUI::TriggerUI ( )

◆ ~TriggerUI()

virtual TriggerUI::~TriggerUI ( )
virtual

Member Function Documentation

◆ choose_color()

void TriggerUI::choose_color ( )

◆ choose_sample()

void TriggerUI::choose_sample ( bool  allow_multiple_select)

◆ clear_trigger()

void TriggerUI::clear_trigger ( )

◆ context_menu()

void TriggerUI::context_menu ( )

◆ disconnect_entry_signals()

void TriggerUI::disconnect_entry_signals ( )
protected

◆ edit_jump()

void TriggerUI::edit_jump ( bool  right_fa)

◆ edit_jump_done()

void TriggerUI::edit_jump_done ( int  r,
TriggerJumpDialog d 
)

◆ edit_trigger()

void TriggerUI::edit_trigger ( )

◆ end_rename()

void TriggerUI::end_rename ( bool  )
protected

◆ entry_activated()

void TriggerUI::entry_activated ( )
protected

◆ entry_button_press()

bool TriggerUI::entry_button_press ( GdkEventButton )
protected

◆ entry_changed()

void TriggerUI::entry_changed ( )
protected

◆ entry_focus_in()

bool TriggerUI::entry_focus_in ( GdkEventFocus )
protected

◆ entry_focus_out()

bool TriggerUI::entry_focus_out ( GdkEventFocus )
protected

◆ entry_key_press()

bool TriggerUI::entry_key_press ( GdkEventKey )
protected

◆ entry_key_release()

bool TriggerUI::entry_key_release ( GdkEventKey )
protected

◆ follow_action_to_string()

static std::string TriggerUI::follow_action_to_string ( ARDOUR::FollowAction const &  ,
bool  with_targets = false 
)
static

◆ follow_context_menu()

void TriggerUI::follow_context_menu ( GdkEventButton )

◆ launch_context_menu()

void TriggerUI::launch_context_menu ( )

◆ launch_style_to_string()

static std::string TriggerUI::launch_style_to_string ( ARDOUR::Trigger::LaunchStyle  )
static

◆ namebox_button_press()

bool TriggerUI::namebox_button_press ( GdkEventButton )
protected

◆ on_trigger_changed()

virtual void TriggerUI::on_trigger_changed ( PBD::PropertyChange const &  )
pure virtual

◆ on_trigger_set()

virtual void TriggerUI::on_trigger_set ( )
inlinevirtual

Reimplemented in TriggerJumpDialog, and SlotPropertyTable.

Definition at line 48 of file trigger_ui.h.

◆ quantize_length_to_string()

static std::string TriggerUI::quantize_length_to_string ( Temporal::BBT_Offset const &  )
static

◆ sample_chosen()

void TriggerUI::sample_chosen ( int  r)

◆ set_follow_action()

void TriggerUI::set_follow_action ( ARDOUR::FollowAction const &  )

◆ set_from_selection()

void TriggerUI::set_from_selection ( )

◆ set_launch_style()

void TriggerUI::set_launch_style ( ARDOUR::Trigger::LaunchStyle  )

◆ set_quantization()

void TriggerUI::set_quantization ( Temporal::BBT_Offset const &  )

◆ set_trigger()

void TriggerUI::set_trigger ( ARDOUR::TriggerReference  )

◆ setup_actions_and_bindings()

static void TriggerUI::setup_actions_and_bindings ( )
static

◆ start_rename()

bool TriggerUI::start_rename ( )
protected

◆ stretch_mode_to_string()

static std::string TriggerUI::stretch_mode_to_string ( ARDOUR::Trigger::StretchMode  )
static

◆ toggle_trigger_isolated()

void TriggerUI::toggle_trigger_isolated ( )

◆ trigger()

ARDOUR::TriggerPtr TriggerUI::trigger ( ) const

◆ trigger_changed()

void TriggerUI::trigger_changed ( PBD::PropertyChange const &  )
private

◆ trigger_midi_learn()

void TriggerUI::trigger_midi_learn ( )

◆ trigger_midi_unlearn()

void TriggerUI::trigger_midi_unlearn ( )

◆ trigger_reference()

ARDOUR::TriggerReference TriggerUI::trigger_reference ( ) const
inline

Definition at line 67 of file trigger_ui.h.

◆ trigger_swap()

void TriggerUI::trigger_swap ( uint32_t  )
protected

◆ triggerbox()

ARDOUR::TriggerBox& TriggerUI::triggerbox ( ) const
inline

Definition at line 69 of file trigger_ui.h.

Member Data Documentation

◆ _color_dialog

Gtk::ColorSelectionDialog* TriggerUI::_color_dialog
protected

Definition at line 125 of file trigger_ui.h.

◆ _context_menu

Gtk::Menu* TriggerUI::_context_menu
protected

Definition at line 122 of file trigger_ui.h.

◆ _entry_connections

std::list<sigc::connection> TriggerUI::_entry_connections
protected

Definition at line 110 of file trigger_ui.h.

◆ _file_chooser

Gtk::FileChooserDialog* TriggerUI::_file_chooser
protected

Definition at line 117 of file trigger_ui.h.

◆ _file_chooser_connection

sigc::connection TriggerUI::_file_chooser_connection
protected

Definition at line 118 of file trigger_ui.h.

◆ _follow_context_menu

Gtk::Menu* TriggerUI::_follow_context_menu
protected

Definition at line 121 of file trigger_ui.h.

◆ _ignore_menu_action

bool TriggerUI::_ignore_menu_action
protected

Definition at line 123 of file trigger_ui.h.

◆ _launch_context_menu

Gtk::Menu* TriggerUI::_launch_context_menu
protected

Definition at line 120 of file trigger_ui.h.

◆ _name_frame

ArdourWidgets::Frame TriggerUI::_name_frame
protected

Definition at line 115 of file trigger_ui.h.

◆ _name_label

Gtk::Label TriggerUI::_name_label
protected

Definition at line 113 of file trigger_ui.h.

◆ _namebox

Gtk::EventBox TriggerUI::_namebox
protected

Definition at line 114 of file trigger_ui.h.

◆ _nameentry

Gtk::Entry TriggerUI::_nameentry
protected

Definition at line 112 of file trigger_ui.h.

◆ _renaming

bool TriggerUI::_renaming
protected

Definition at line 111 of file trigger_ui.h.

◆ follow_strings

std::vector<std::string> TriggerUI::follow_strings
static

Definition at line 56 of file trigger_ui.h.

◆ launch_strings

std::vector<std::string> TriggerUI::launch_strings
static

Definition at line 60 of file trigger_ui.h.

◆ longest_follow

std::string TriggerUI::longest_follow
static

Definition at line 57 of file trigger_ui.h.

◆ longest_launch

std::string TriggerUI::longest_launch
static

Definition at line 61 of file trigger_ui.h.

◆ longest_quantize

std::string TriggerUI::longest_quantize
static

Definition at line 59 of file trigger_ui.h.

◆ longest_stretch_mode

std::string TriggerUI::longest_stretch_mode
static

Definition at line 63 of file trigger_ui.h.

◆ quantize_strings

std::vector<std::string> TriggerUI::quantize_strings
static

Definition at line 58 of file trigger_ui.h.

◆ stretch_mode_strings

std::vector<std::string> TriggerUI::stretch_mode_strings
static

Definition at line 62 of file trigger_ui.h.

◆ tref

ARDOUR::TriggerReference TriggerUI::tref
protected

Definition at line 130 of file trigger_ui.h.

◆ trigger_connections

PBD::ScopedConnectionList TriggerUI::trigger_connections
protected

Definition at line 131 of file trigger_ui.h.

◆ trigger_swap_connection

PBD::ScopedConnection TriggerUI::trigger_swap_connection
protected

Definition at line 128 of file trigger_ui.h.


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