26 #if ! defined (octave_workspace_model_h)
27 #define octave_workspace_model_h 1
29 #include <QAbstractTableModel>
34 #include <QStringList>
56 int rowCount (
const QModelIndex& parent = QModelIndex ())
const;
58 int columnCount (
const QModelIndex& parent = QModelIndex ())
const;
60 Qt::ItemFlags flags (
const QModelIndex& index)
const;
62 QVariant headerData (
int section, Qt::Orientation orientation,
63 int role = Qt::DisplayRole)
const;
65 QVariant data (
const QModelIndex& index,
int role)
const;
71 return m_storage_class_colors.at (s_class);
86 void set_workspace (
bool top_level,
bool debug,
89 void clear_workspace (
void);
95 void clear_data (
void);
96 void update_table (
void);
void prompt_variable_editor(void)
QColor storage_class_color(int s_class)
QStringList m_columnNames
symbol_info_list m_syminfo_list
bool is_top_level(void) const
symbol_info_list get_symbol_info(void) const
~workspace_model(void)=default
QStringList m_class_names
QList< QColor > m_storage_class_colors
QStringList get_symbol_names(void) const
QStringList get_symbol_values(void) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn