修改bug
This commit is contained in:
parent
b2f7f6500b
commit
2d6cf1b7f8
|
|
@ -21,6 +21,7 @@ Dashboard::Dashboard(const QString& strName, QObject *parent)
|
||||||
m_pDisplayAreaLayout = nullptr;
|
m_pDisplayAreaLayout = nullptr;
|
||||||
//tab,自适应text内容
|
//tab,自适应text内容
|
||||||
m_pTab = new CustomTab();
|
m_pTab = new CustomTab();
|
||||||
|
m_pTab->setDashboard(this);
|
||||||
//m_pTabButton->setIcon(QIcon(":/images/btn_float_default.png"));
|
//m_pTabButton->setIcon(QIcon(":/images/btn_float_default.png"));
|
||||||
connect(m_pTab, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(contextMenu_tab(const QPoint&)));
|
connect(m_pTab, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(contextMenu_tab(const QPoint&)));
|
||||||
//右键菜单
|
//右键菜单
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue