Class SequenceGroupsEditorWidget

Inheritance Relationships

Base Type

Class Documentation

class SmartPeak::SequenceGroupsEditorWidget : public SmartPeak::Widget

Public Functions

inline SequenceGroupsEditorWidget(const std::string &title, const std::string &move_option_message, const std::string &create_option_message, const std::string &move_action_message, const std::string &create_action_message)
virtual void draw() override

Interface to show the widget

NOTE: free to override in inherited implmementations

void open(const std::set<std::string> &choices, const std::string &current_choice, std::function<void(const std::string&)> ok_callback)

Protected Types

enum [anonymous]

Values:

enumerator EActionChoice_MoveSegment
enumerator EActionChoice_CreateSegment

Protected Attributes

std::string current_choice_
std::string new_group_
std::set<std::string> groups_
int action_choice_ = EActionChoice_MoveSegment
std::function<void(const std::string&)> ok_callback_
std::string move_option_message_
std::string create_option_message_
std::string move_action_message_
std::string create_action_message_