GNU Octave  6.2.0
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 (octave::base_qobject &oct_qobj, 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::base_qobjectm_octave_qobj
 
octave_value_list props
 
Ui::annotation_dialog * ui
 

Detailed Description

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

Constructor & Destructor Documentation

◆ annotation_dialog()

annotation_dialog::annotation_dialog ( octave::base_qobject oct_qobj,
QWidget parent,
const octave_value_list pr 
)

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

References init(), and props.

◆ ~annotation_dialog()

annotation_dialog::~annotation_dialog ( )

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

References ui.

Member Function Documentation

◆ button_clicked

void annotation_dialog::button_clicked ( QAbstractButton *  button)
privateslot

◆ edit_string_changed

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

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

References ui.

Referenced by init(), and set_gui_props().

◆ get_gui_props()

void annotation_dialog::get_gui_props ( )
private

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

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

Referenced by button_clicked().

◆ get_properties()

octave_value_list annotation_dialog::get_properties ( void  ) const

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

References props.

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

◆ init()

◆ prompt_for_color

void annotation_dialog::prompt_for_color ( )
privateslot

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

Referenced by init().

◆ set_gui_props()

void annotation_dialog::set_gui_props ( )
private

Member Data Documentation

◆ m_octave_qobj

octave::base_qobject& annotation_dialog::m_octave_qobj
private

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

Referenced by button_clicked(), and init().

◆ 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: