17#ifndef __gui_mrview_tool_overlay_h__
18#define __gui_mrview_tool_overlay_h__
43 void draw (
const Projection& projection,
bool is_3D,
int axis,
int slice)
override;
44 void draw_colourbars ()
override;
45 int draw_tool_labels (
int position,
int start_line_num,
const Projection&transform)
const override;
48 void selected_custom_colour(
const QColor& colour,
const ColourMapButton&)
override;
49 void toggle_show_colour_bar(
bool visible,
const ColourMapButton&)
override;
53 size_t visible_number_colourbars ()
override;
54 void render_image_colourbar(
const Image& image)
override;
60 void image_open_slot ();
61 void image_close_slot ();
62 void hide_all_slot ();
63 void toggle_shown_slot (
const QModelIndex&,
const QModelIndex&);
64 void selection_changed_slot (
const QItemSelection &,
const QItemSelection &);
65 void right_click_menu_slot (
const QPoint&);
66 void onSetVolumeIndex ();
67 void update_slot (
int unused);
68 void values_changed ();
69 void upper_threshold_changed (
int unused);
70 void lower_threshold_changed (
int unused);
71 void upper_threshold_value_changed ();
72 void lower_threshold_value_changed ();
73 void opacity_changed (
int unused);
74 void interpolate_changed ();
83 : QCheckBox(text, parent) {}
88 setCheckState(Qt::Checked) : setCheckState(Qt::Unchecked);
a class to hold the list of option groups
object storing information about option parsed from command-line
Mode::Base * get_current_mode() const