29 #if ! defined (octave_tab_bar_h)
30 #define octave_tab_bar_h 1
33 #include <QMouseEvent>
35 #include <QStyleOptionTab>
36 #include <QStylePainter>
54 void set_rotated (
int rotated);
56 QSize tabSizeHint (
int idx)
const;
64 void switch_left_tab (
void);
65 void switch_right_tab (
void);
66 void move_tab_left (
void);
67 void move_tab_right (
void);
68 void sort_tabs_alph (
void);
72 void ctx_menu_activated (QAction *a);
76 void paintEvent(QPaintEvent *e);
77 void mousePressEvent(QMouseEvent *event);
81 void switch_tab (
int direction,
bool movetab =
false);
void close_current_tab_signal(bool)
QList< QAction * > m_ctx_actions
QMenu * get_context_menu(void)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn