Public Member Functions | |
display_only_model (const display_only_model &)=delete | |
display_only_model (const QString &expr, const octave_value &val) | |
~display_only_model (void)=default | |
void | clear_update_pending (void) |
int | column_width (void) const |
int | columnCount (const QModelIndex &=QModelIndex()) const |
QVariant | data (const QModelIndex &idx, int role=Qt::DisplayRole) const |
octave_idx_type | data_columns (void) const |
octave_idx_type | data_rows (void) const |
int | display_columns (void) const |
int | display_rows (void) const |
QVariant | edit_display (const QModelIndex &, int) const |
QString | edit_display_sub (const octave_value &elt, int role) const |
virtual QVariant | header_data (int section, Qt::Orientation orientation, int role) const |
bool | index_ok (const QModelIndex &idx, int &row, int &col) const |
bool | is_editable (void) const |
bool | is_valid (void) const |
QString | make_description_text (void) const |
virtual void | maybe_resize_columns (int) |
virtual void | maybe_resize_rows (int) |
std::string | name (void) const |
display_only_model & | operator= (const display_only_model &)=delete |
virtual char | quote_char (const QModelIndex &idx) const |
virtual bool | requires_sub_editor (const QModelIndex &idx) const |
void | reset (const octave_value &val) |
int | rowCount (const QModelIndex &=QModelIndex()) const |
void | set_update_pending (const QModelIndex &idx, const QString &str) |
virtual QString | subscript_expression (const QModelIndex &idx) const |
bool | update_pending (const QModelIndex &idx) const |
QString | update_pending_data (const QModelIndex &idx) const |
virtual octave_value | value_at (const QModelIndex &idx) const |
Protected Attributes | |
octave_idx_type | m_data_cols |
octave_idx_type | m_data_rows |
int | m_display_cols |
float_display_format | m_display_fmt |
int | m_display_rows |
std::string | m_name |
QMap< QModelIndex, QString > | m_update_pending |
bool | m_valid |
octave_value | m_value |
Definition at line 643 of file variable-editor-model.cc.
|
inline |
Definition at line 647 of file variable-editor-model.cc.
References octave::base_ve_model::m_data_cols, octave::base_ve_model::m_data_rows, octave::base_ve_model::m_display_cols, and octave::base_ve_model::m_display_rows.
|
default |
|
delete |
|
inherited |
Definition at line 259 of file variable-editor-model.cc.
References octave::base_ve_model::m_update_pending.
Referenced by octave::variable_editor_model::clear_update_pending().
|
inherited |
Definition at line 127 of file variable-editor-model.cc.
References float_display_format::imag_format(), octave_value::iscomplex(), octave::base_ve_model::m_display_fmt, octave::base_ve_model::m_value, float_display_format::real_format(), and float_format::width().
Referenced by octave::variable_editor_model::column_width().
|
inherited |
Definition at line 158 of file variable-editor-model.cc.
References octave::base_ve_model::m_display_cols, and octave::base_ve_model::m_valid.
Referenced by octave::variable_editor_model::columnCount().
|
inherited |
Definition at line 209 of file variable-editor-model.cc.
References octave::base_ve_model::edit_display(), QtHandles::Utils::fromStdString(), octave::base_ve_model::m_name, octave::base_ve_model::m_valid, octave::base_ve_model::update_pending(), and octave::base_ve_model::update_pending_data().
Referenced by octave::variable_editor_model::data().
|
inlineinherited |
Definition at line 105 of file variable-editor-model.h.
References octave::base_ve_model::m_data_cols.
Referenced by octave::variable_editor_model::data_columns(), octave::scalar_struct_model::header_data(), octave::vector_struct_model::header_data(), and octave::base_ve_model::index_ok().
|
inlineinherited |
Definition at line 103 of file variable-editor-model.h.
References octave::base_ve_model::m_data_rows.
Referenced by octave::variable_editor_model::data_rows(), octave::scalar_struct_model::header_data(), octave::vector_struct_model::header_data(), and octave::base_ve_model::index_ok().
|
inlineinherited |
Definition at line 109 of file variable-editor-model.h.
References octave::base_ve_model::m_display_cols.
Referenced by octave::variable_editor_model::display_columns().
|
inlineinherited |
Definition at line 107 of file variable-editor-model.h.
References octave::base_ve_model::m_display_rows.
Referenced by octave::variable_editor_model::display_rows().
|
inlinevirtual |
Reimplemented from octave::base_ve_model.
Definition at line 667 of file variable-editor-model.cc.
References QtHandles::Utils::fromStdString(), octave_value::is_undefined(), octave::base_ve_model::m_name, octave::base_ve_model::m_value, and octave_value::print_with_name().
|
inherited |
Definition at line 164 of file variable-editor-model.cc.
References octave::cell_is_editable(), octave_value::class_name(), octave_value::dims(), octave_value::edit_display(), QtHandles::Utils::fromStdString(), octave::get_edit_display_format(), octave_value::is_single_type(), float_display_format::set_precision(), and dim_vector::str().
Referenced by octave::cell_model::edit_display(), octave::scalar_struct_model::edit_display(), and octave::vector_struct_model::edit_display().
|
virtualinherited |
Reimplemented in octave::vector_struct_model, and octave::scalar_struct_model.
Definition at line 271 of file variable-editor-model.cc.
Referenced by octave::variable_editor_model::headerData().
|
inherited |
Definition at line 112 of file variable-editor-model.cc.
References octave::base_ve_model::data_columns(), and octave::base_ve_model::data_rows().
Referenced by octave::numeric_model::edit_display(), octave::cell_model::edit_display(), octave::scalar_struct_model::edit_display(), octave::vector_struct_model::edit_display(), octave::base_ve_model::edit_display(), octave::struct_model::edit_display(), octave::cell_model::requires_sub_editor(), octave::scalar_struct_model::requires_sub_editor(), octave::vector_struct_model::requires_sub_editor(), octave::struct_model::requires_sub_editor(), octave::scalar_struct_model::subscript_expression(), octave::struct_model::subscript_expression(), octave::cell_model::value_at(), octave::scalar_struct_model::value_at(), octave::vector_struct_model::value_at(), and octave::struct_model::value_at().
|
inlinevirtual |
Reimplemented from octave::base_ve_model.
Definition at line 665 of file variable-editor-model.cc.
|
inlineinherited |
Definition at line 101 of file variable-editor-model.h.
References octave::base_ve_model::m_valid.
Referenced by octave::variable_editor_model::is_valid().
|
inlinevirtual |
Reimplemented from octave::base_ve_model.
Definition at line 681 of file variable-editor-model.cc.
References octave::base_ve_model::make_description_text().
|
inlinevirtualinherited |
Reimplemented in octave::struct_model, octave::cell_model, and octave::numeric_model.
Definition at line 58 of file variable-editor-model.h.
Referenced by octave::variable_editor_model::maybe_resize_columns().
|
inlinevirtualinherited |
Reimplemented in octave::struct_model, octave::vector_struct_model, octave::cell_model, and octave::numeric_model.
Definition at line 56 of file variable-editor-model.h.
Referenced by octave::variable_editor_model::maybe_resize_rows().
|
inherited |
Definition at line 106 of file variable-editor-model.cc.
References octave::base_ve_model::m_name.
Referenced by octave::variable_editor_model::double_click(), and octave::variable_editor_model::name().
|
delete |
|
virtualinherited |
Reimplemented in octave::struct_model, octave::vector_struct_model, octave::scalar_struct_model, octave::cell_model, and octave::string_model.
Definition at line 265 of file variable-editor-model.cc.
Referenced by octave::variable_editor_model::quote_char().
|
virtualinherited |
Reimplemented in octave::struct_model, octave::vector_struct_model, octave::scalar_struct_model, and octave::cell_model.
Definition at line 235 of file variable-editor-model.cc.
Referenced by octave::variable_editor_model::requires_sub_editor().
|
inherited |
|
inherited |
Definition at line 152 of file variable-editor-model.cc.
References octave::base_ve_model::m_display_rows, and octave::base_ve_model::m_valid.
Referenced by octave::variable_editor_model::rowCount().
|
inherited |
Definition at line 241 of file variable-editor-model.cc.
References octave::base_ve_model::m_update_pending.
Referenced by octave::variable_editor_model::set_update_pending().
|
virtualinherited |
Reimplemented in octave::struct_model, octave::vector_struct_model, octave::scalar_struct_model, octave::cell_model, and octave::numeric_model.
Definition at line 281 of file variable-editor-model.cc.
Referenced by octave::variable_editor_model::subscript_expression().
|
inherited |
Definition at line 247 of file variable-editor-model.cc.
References octave::base_ve_model::m_update_pending.
Referenced by octave::base_ve_model::data(), and octave::variable_editor_model::update_pending().
|
inherited |
Definition at line 253 of file variable-editor-model.cc.
References octave::base_ve_model::m_update_pending.
Referenced by octave::base_ve_model::data(), and octave::variable_editor_model::update_pending_data().
|
virtualinherited |
Reimplemented in octave::struct_model, octave::vector_struct_model, octave::scalar_struct_model, and octave::cell_model.
Definition at line 313 of file variable-editor-model.cc.
References octave_value().
Referenced by octave::variable_editor_model::value_at().
|
protectedinherited |
Definition at line 122 of file variable-editor-model.h.
Referenced by octave::cell_model::cell_model(), display_only_model(), octave::numeric_model::numeric_model(), octave::scalar_struct_model::scalar_struct_model(), octave::string_model::string_model(), octave::struct_model::struct_model(), octave::vector_struct_model::vector_struct_model(), and octave::base_ve_model::data_columns().
|
protectedinherited |
Definition at line 121 of file variable-editor-model.h.
Referenced by octave::cell_model::cell_model(), display_only_model(), octave::numeric_model::numeric_model(), octave::scalar_struct_model::scalar_struct_model(), octave::string_model::string_model(), octave::struct_model::struct_model(), octave::vector_struct_model::vector_struct_model(), and octave::base_ve_model::data_rows().
|
protectedinherited |
Definition at line 126 of file variable-editor-model.h.
Referenced by display_only_model(), octave::scalar_struct_model::scalar_struct_model(), octave::string_model::string_model(), octave::vector_struct_model::vector_struct_model(), octave::base_ve_model::columnCount(), octave::base_ve_model::display_columns(), octave::numeric_model::maybe_resize_columns(), octave::cell_model::maybe_resize_columns(), and octave::struct_model::maybe_resize_columns().
|
protectedinherited |
Definition at line 132 of file variable-editor-model.h.
Referenced by octave::base_ve_model::column_width(), octave::numeric_model::edit_display(), octave::base_ve_model::edit_display(), and octave::struct_model::edit_display().
|
protectedinherited |
Definition at line 125 of file variable-editor-model.h.
Referenced by display_only_model(), octave::scalar_struct_model::scalar_struct_model(), octave::string_model::string_model(), octave::base_ve_model::display_rows(), octave::numeric_model::maybe_resize_rows(), octave::cell_model::maybe_resize_rows(), octave::vector_struct_model::maybe_resize_rows(), octave::struct_model::maybe_resize_rows(), and octave::base_ve_model::rowCount().
|
protectedinherited |
Definition at line 117 of file variable-editor-model.h.
Referenced by octave::base_ve_model::data(), edit_display(), octave::base_ve_model::make_description_text(), and octave::base_ve_model::name().
|
protectedinherited |
Definition at line 128 of file variable-editor-model.h.
Referenced by octave::base_ve_model::clear_update_pending(), octave::base_ve_model::set_update_pending(), octave::base_ve_model::update_pending(), and octave::base_ve_model::update_pending_data().
|
protectedinherited |
Definition at line 130 of file variable-editor-model.h.
Referenced by octave::base_ve_model::columnCount(), octave::base_ve_model::data(), octave::base_ve_model::is_valid(), and octave::base_ve_model::rowCount().
|
protectedinherited |
Definition at line 119 of file variable-editor-model.h.
Referenced by octave::base_ve_model::column_width(), octave::string_model::edit_display(), edit_display(), octave::numeric_model::edit_display(), octave::cell_model::edit_display(), octave::scalar_struct_model::edit_display(), octave::vector_struct_model::edit_display(), octave::base_ve_model::edit_display(), octave::struct_model::edit_display(), octave::scalar_struct_model::header_data(), octave::vector_struct_model::header_data(), octave::base_ve_model::make_description_text(), octave::string_model::quote_char(), octave::cell_model::requires_sub_editor(), octave::scalar_struct_model::requires_sub_editor(), octave::vector_struct_model::requires_sub_editor(), octave::struct_model::requires_sub_editor(), octave::scalar_struct_model::subscript_expression(), octave::vector_struct_model::subscript_expression(), octave::cell_model::value_at(), octave::scalar_struct_model::value_at(), octave::vector_struct_model::value_at(), and octave::struct_model::value_at().