refs #325, using CDockWidgetInfoAreaComponent in components

This commit is contained in:
Klaus Basan
2014-09-14 00:02:54 +02:00
parent 1cba31541b
commit 6e2204beeb
4 changed files with 20 additions and 6 deletions

View File

@@ -9,13 +9,17 @@
#include "usercomponent.h"
#include "ui_usercomponent.h"
#include "blackmisc/nwuserlist.h"
namespace BlackGui
{
namespace Components
{
CUserComponent::CUserComponent(QWidget *parent) :
QTabWidget(parent), CRuntimeBasedComponent(nullptr, false), ui(new Ui::CUserComponent), m_timerComponent(nullptr)
QTabWidget(parent),
CDockWidgetInfoAreaComponent(this),
CRuntimeBasedComponent(nullptr, false),
ui(new Ui::CUserComponent), m_timerComponent(nullptr)
{
ui->setupUi(this);
this->m_timerComponent = new CTimerBasedComponent(SLOT(update()), this);