// File RTMDockTab.h by az

#ifndef RTMDOCKWIDGET_H
#define RTMDOCKWIDGET_H

#include <QDockWidget>

class QTabWidget;
class RTMTabWidget;

/**
 * @brief This is a base class for creating a dockable widget to be used with RTMSimulator.
 *
 * A dockable widget always contains a tab widget that can hold several tabs inside.
 */
class RTMDockWidget : public QDockWidget
{
    Q_OBJECT
private:
    QTabWidget* m_pTabWidget;

public:
    RTMDockWidget(QString strTitle, QWidget* parent);
    void addTab(RTMTabWidget* pWidget, QString strLabel);
};


#endif //RTMDOCKTAB_H
