GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
annotation_dialog Class Reference

#include "annotation-dialog.h"

Inheritance diagram for annotation_dialog:
Collaboration diagram for annotation_dialog:

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
 

Detailed Description

Definition at line 37 of file annotation-dialog.h.

Constructor & Destructor Documentation

◆ annotation_dialog()

annotation_dialog::annotation_dialog ( QWidget parent,
const octave_value_list pr 
)
explicit

Definition at line 40 of file annotation-dialog.cc.

References init(), and props.

◆ ~annotation_dialog()

annotation_dialog::~annotation_dialog ( )

Definition at line 84 of file annotation-dialog.cc.

References ui.

Member Function Documentation

◆ button_clicked

void annotation_dialog::button_clicked ( QAbstractButton *  button)
privateslot

Definition at line 92 of file annotation-dialog.cc.

References get_gui_props(), and ui.

Referenced by init().

◆ edit_string_changed

void annotation_dialog::edit_string_changed ( const QString &  str)
privateslot

Definition at line 260 of file annotation-dialog.cc.

References str, and ui.

Referenced by init(), and set_gui_props().

◆ get_gui_props()

void annotation_dialog::get_gui_props ( )
private

Definition at line 121 of file annotation-dialog.cc.

References octave_value_list::append(), ovl(), props, string, QtHandles::Utils::toRgb(), and ui.

Referenced by button_clicked().

◆ get_properties()

octave_value_list annotation_dialog::get_properties ( void  ) const

Definition at line 115 of file annotation-dialog.cc.

References props.

Referenced by QtHandles::Canvas::canvasMouseReleaseEvent().

◆ init()

void annotation_dialog::init ( void  )
private

◆ prompt_for_color

void annotation_dialog::prompt_for_color ( )
privateslot

Definition at line 266 of file annotation-dialog.cc.

References arg.

Referenced by init().

◆ set_gui_props()

void annotation_dialog::set_gui_props ( )
private

Member Data Documentation

◆ props

octave_value_list annotation_dialog::props
private

◆ ui

Ui::annotation_dialog* annotation_dialog::ui
private

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