class Pages : public QWidget
{
public:
+ Pages();
void dockPage();
void undockPage();
void togglePageDocking();
bool isDocked();
+ bool isOnceDocked();
bool isCloseable();
- QStackedWidget *m_parent;
+ QTabWidget *m_parent;
QList<QAction*> m_contextActions;
virtual void PgSeltreeWidgetClicked();
virtual void currentStackItem();
void setContextMenuDockText();
void setTreeWidgetItemDockColor();
void consoleCommand(QString &);
- void consoleInput(QString &);
+ void consoleCommand(QString &, int conn);
+ void consoleCommand(QString &, bool setCurrent);
+ void consoleCommand(QString &, int conn, bool setCurrent);
QString &name() { return m_name; };
void getVolumeList(QStringList &);
void getStatusList(QStringList &);
+ void firstUseDock();
public slots:
/* closeEvent is a virtual function inherited from QWidget */
void setTitle();
bool m_closeable;
bool m_docked;
+ bool m_onceDocked;
+ bool m_dockOnFirstUse;
Console *m_console;
QString m_name;
};