33 #include <QtCore/QObject>
34 #include <QtCore/QList>
35 #include <QtCore/QString>
53 virtual QWidget *outputWidget(QWidget *parent) = 0;
55 virtual QString name()
const = 0;
59 virtual int priorityInStatusBar()
const = 0;
61 virtual void clearContents() = 0;
62 virtual void visibilityChanged(
bool visible) = 0;
65 virtual void setFocus() = 0;
67 virtual bool hasFocus() = 0;
70 virtual bool canFocus() = 0;
72 virtual bool canNavigate() = 0;
73 virtual bool canNext() = 0;
74 virtual bool canPrevious() = 0;
75 virtual void goToNext() = 0;
76 virtual void goToPrev() = 0;
79 void popup(
bool withFocus) { emit showPage(withFocus); }
81 void hide() { emit hidePage(); }
85 void toggle(
bool withFocusIfShown) { emit togglePage(withFocusIfShown); }
90 void showPage(
bool withFocus);
92 void togglePage(
bool withFocusIfShown);
93 void navigateStateUpdate();
98 #endif // IOUTPUTPANE_H
void popup(bool withFocus)
void toggle(bool withFocusIfShown)
IOutputPane(QObject *parent=nullptr)
void navigateStateChanged()