mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #335, changed info areas
* remove unused methods * changed ui, preferred size and such * changed ctor for CEnableForDockWidgetInfoArea and made setParentDockWidgetInfoArea virtual * adjusted derived classes ctor * added enum and area methods for cockpitinfoarea
This commit is contained in:
committed by
Roland Winklmeier
parent
594df164a2
commit
e6a5e2960f
@@ -14,15 +14,11 @@ namespace BlackGui
|
||||
namespace Components
|
||||
{
|
||||
|
||||
CEnableForDockWidgetInfoArea::CEnableForDockWidgetInfoArea(QWidget *parent)
|
||||
CEnableForDockWidgetInfoArea::CEnableForDockWidgetInfoArea(CDockWidgetInfoArea *parentInfoArea)
|
||||
{
|
||||
// it the parent is already an info area at this time, we keep it
|
||||
// otherwise we expect the info area to set it later
|
||||
CDockWidgetInfoArea *ia = dynamic_cast<CDockWidgetInfoArea *>(parent);
|
||||
if (ia)
|
||||
{
|
||||
this->m_parentDockableInfoArea = ia;
|
||||
}
|
||||
this->m_parentDockableInfoArea = parentInfoArea;
|
||||
}
|
||||
|
||||
bool CEnableForDockWidgetInfoArea::setParentDockWidgetInfoArea(CDockWidgetInfoArea *parentDockableWidget)
|
||||
|
||||
Reference in New Issue
Block a user