1 #ifndef RAM_QT_GUIS_MODIFY_WIDGETS_RANGE_LIST_SELECTION_HPP 2 #define RAM_QT_GUIS_MODIFY_WIDGETS_RANGE_LIST_SELECTION_HPP 7 #include <QDialogButtonBox> 10 #include <QMessageBox> 11 #include <QPushButton> 12 #include <QScrollArea> 15 #include <QVBoxLayout> 25 const QString help_string =
"",
26 const unsigned min_val = 0,
27 const unsigned max_val = 0,
28 std::vector<unsigned> locked = std::vector<unsigned>());
virtual ~ModifyRangeListSelection()
std::vector< unsigned > getSelection()
QPushButton * remove_button_
ModifyRangeListSelection(QVBoxLayout *layout, const QString help_string="", const unsigned min_val=0, const unsigned max_val=0, std::vector< unsigned > locked=std::vector< unsigned >())
void updateTicksFromSelection()
const QString help_string_
std::recursive_mutex selection_mutex_
std::vector< unsigned > selection_
std::vector< QCheckBox * > checkboxes
QPushButton * add_button_
QPushButton * none_button_
QPushButton * invert_button_
void selectionChanged(std::vector< unsigned > selection)
QPushButton * all_button_
void updateSelectionFromTicks()
QDialogButtonBox * button_box_