GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "annotation-dialog.h"
Public Member Functions | |
annotation_dialog (QWidget *parent, const octave_value_list &pr) | |
~annotation_dialog () | |
octave_value_list | get_properties () const |
Private Slots | |
void | button_clicked (QAbstractButton *button) |
void | edit_string_changed (const QString &str) |
void | prompt_for_color () |
Private Member Functions | |
void | get_gui_props () |
void | init () |
void | set_gui_props () |
Private Attributes | |
octave_value_list | props |
Ui::annotation_dialog * | ui |
Definition at line 37 of file annotation-dialog.h.
|
explicit |
Definition at line 40 of file annotation-dialog.cc.
annotation_dialog::~annotation_dialog | ( | ) |
Definition at line 84 of file annotation-dialog.cc.
References ui.
|
privateslot |
Definition at line 92 of file annotation-dialog.cc.
References Ui_annotation_dialog::button_box, get_gui_props(), resource_manager::get_settings(), and ui.
Referenced by init().
|
privateslot |
Definition at line 234 of file annotation-dialog.cc.
References Ui_annotation_dialog::button_box, and ui.
Referenced by init(), and set_gui_props().
|
private |
Definition at line 119 of file annotation-dialog.cc.
References octave_value_list::append(), Ui_annotation_dialog::btn_color, Ui_annotation_dialog::cb_fit_box_to_text, Ui_annotation_dialog::cb_font_bold, Ui_annotation_dialog::cb_font_italic, Ui_annotation_dialog::cb_font_name, Ui_annotation_dialog::cb_horz_align, Ui_annotation_dialog::cb_line_style, Ui_annotation_dialog::cb_units, Ui_annotation_dialog::cb_vert_align, Ui_annotation_dialog::edit_string, ovl(), props, Ui_annotation_dialog::sb_font_size, Ui_annotation_dialog::sb_height, Ui_annotation_dialog::sb_width, Ui_annotation_dialog::sb_x, Ui_annotation_dialog::sb_y, QtHandles::Utils::toRgb(), and ui.
Referenced by button_clicked().
octave_value_list annotation_dialog::get_properties | ( | void | ) | const |
Definition at line 113 of file annotation-dialog.cc.
References props.
Referenced by QtHandles::Canvas::canvasMouseReleaseEvent().
|
private |
Definition at line 49 of file annotation-dialog.cc.
References Ui_annotation_dialog::btn_background_color, Ui_annotation_dialog::btn_color, Ui_annotation_dialog::btn_edge_color, Ui_annotation_dialog::button_box, button_clicked(), Ui_annotation_dialog::cb_fit_box_to_text, Ui_annotation_dialog::cb_horz_align, Ui_annotation_dialog::cb_vert_align, Ui_annotation_dialog::edit_string, edit_string_changed(), resource_manager::get_settings(), prompt_for_color(), set_gui_props(), Ui_annotation_dialog::setupUi(), and ui.
Referenced by annotation_dialog().
|
privateslot |
|
private |
Definition at line 145 of file annotation-dialog.cc.
References Ui_annotation_dialog::btn_color, Ui_annotation_dialog::cb_fit_box_to_text, Ui_annotation_dialog::cb_font_bold, Ui_annotation_dialog::cb_font_italic, Ui_annotation_dialog::cb_font_name, Ui_annotation_dialog::cb_horz_align, Ui_annotation_dialog::cb_units, Ui_annotation_dialog::cb_vert_align, Ui_annotation_dialog::edit_string, edit_string_changed(), QtHandles::Utils::fromRgb(), octave_value_list::length(), Array< T >::numel(), props, Ui_annotation_dialog::sb_font_size, Ui_annotation_dialog::sb_height, Ui_annotation_dialog::sb_width, Ui_annotation_dialog::sb_x, Ui_annotation_dialog::sb_y, and ui.
Referenced by init().
|
private |
Definition at line 59 of file annotation-dialog.h.
Referenced by annotation_dialog(), get_gui_props(), get_properties(), and set_gui_props().
|
private |
Definition at line 58 of file annotation-dialog.h.
Referenced by button_clicked(), edit_string_changed(), get_gui_props(), init(), set_gui_props(), and ~annotation_dialog().