16 #ifndef _QCODE_EDIT_H_
17 #define _QCODE_EDIT_H_
28 #include <QGenericArgument>
39 #define Q_COMMAND QList<QGenericArgument>()
63 QAction* addPanel(
QPanel *panel, Position pos,
bool _add =
false);
64 QAction* addPanel(
const QString& name, Position pos,
bool _add =
false);
66 bool hasPanel(
const QString& type)
const;
69 QAction* toggleViewAction(
QPanel *p)
const;
71 void sendPanelCommand(
const QString& type,
72 const char *signature,
76 static QEditor* managed(
const QString& f);
84 QPointer<QEditor> m_editor;
85 QPointer<QPanelLayout> m_layout;
93 #endif // _QCODE_EDIT_H_