mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-27 23:00:20 +08:00
Removed debug output
This commit is contained in:
parent
409d4489cc
commit
5e59a6dc3a
@ -277,7 +277,6 @@ void CAutoHideDockContainer::updateSize()
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
CAutoHideDockContainer::~CAutoHideDockContainer()
|
CAutoHideDockContainer::~CAutoHideDockContainer()
|
||||||
{
|
{
|
||||||
qDebug() << "~CAutoHideDockContainer()"
|
|
||||||
ADS_PRINT("~CAutoHideDockContainer");
|
ADS_PRINT("~CAutoHideDockContainer");
|
||||||
|
|
||||||
// Remove event filter in case there are any queued messages
|
// Remove event filter in case there are any queued messages
|
||||||
|
@ -193,8 +193,6 @@ CAutoHideSideBar::CAutoHideSideBar(CDockContainerWidget* parent, SideBarLocation
|
|||||||
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
|
setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Expanding);
|
||||||
}
|
}
|
||||||
|
|
||||||
qDebug() << "d->TabsLayout->count " << d->TabsLayout->count();
|
|
||||||
|
|
||||||
hide();
|
hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,7 +200,7 @@ CAutoHideSideBar::CAutoHideSideBar(CDockContainerWidget* parent, SideBarLocation
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
CAutoHideSideBar::~CAutoHideSideBar()
|
CAutoHideSideBar::~CAutoHideSideBar()
|
||||||
{
|
{
|
||||||
qDebug() << "~CSideTabBar() ";
|
ADS_PRINT("~CSideTabBar()");
|
||||||
// The SideTabeBar is not the owner of the tabs and to prevent deletion
|
// The SideTabeBar is not the owner of the tabs and to prevent deletion
|
||||||
// we set the parent here to nullptr to remove it from the children
|
// we set the parent here to nullptr to remove it from the children
|
||||||
auto Tabs = findChildren<CAutoHideTab*>(QString(), Qt::FindDirectChildrenOnly);
|
auto Tabs = findChildren<CAutoHideTab*>(QString(), Qt::FindDirectChildrenOnly);
|
||||||
|
@ -147,7 +147,7 @@ CAutoHideTab::CAutoHideTab(QWidget* parent) :
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
CAutoHideTab::~CAutoHideTab()
|
CAutoHideTab::~CAutoHideTab()
|
||||||
{
|
{
|
||||||
qDebug() << "~CDockWidgetSideTab()";
|
ADS_PRINT("~CDockWidgetSideTab()");
|
||||||
delete d;
|
delete d;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -513,7 +513,6 @@ void CDockAreaTitleBar::onAutoHideButtonClicked()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
qDebug() << "d->DockArea->currentDockWidget()->toggleAutoHide()";
|
|
||||||
d->DockArea->currentDockWidget()->toggleAutoHide();
|
d->DockArea->currentDockWidget()->toggleAutoHide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -529,7 +528,6 @@ void CDockAreaTitleBar::onAutoHideDockAreaActionClicked()
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
void CDockAreaTitleBar::onAutoHideToActionClicked()
|
void CDockAreaTitleBar::onAutoHideToActionClicked()
|
||||||
{
|
{
|
||||||
qDebug() << "CDockAreaTitleBar::onAutoHideToActionClicked()";
|
|
||||||
int Location = sender()->property(LocationProperty).toInt();
|
int Location = sender()->property(LocationProperty).toInt();
|
||||||
d->DockArea->toggleAutoHide((SideBarLocation)Location);
|
d->DockArea->toggleAutoHide((SideBarLocation)Location);
|
||||||
}
|
}
|
||||||
|
@ -984,7 +984,6 @@ bool CDockAreaWidget::restoreState(CDockingStateReader& s, CDockAreaWidget*& Cre
|
|||||||
// We hide the DockArea here to prevent the short display (the flashing)
|
// We hide the DockArea here to prevent the short display (the flashing)
|
||||||
// of the dock areas during application startup
|
// of the dock areas during application startup
|
||||||
DockArea->hide();
|
DockArea->hide();
|
||||||
qDebug() << "DockArea->addDockWidget " << DockWidget->windowTitle();
|
|
||||||
DockArea->addDockWidget(DockWidget);
|
DockArea->addDockWidget(DockWidget);
|
||||||
DockWidget->setToggleViewActionChecked(!Closed);
|
DockWidget->setToggleViewActionChecked(!Closed);
|
||||||
DockWidget->setClosedState(Closed);
|
DockWidget->setClosedState(Closed);
|
||||||
|
@ -721,7 +721,6 @@ CFloatingDockContainer::CFloatingDockContainer(CDockWidget *DockWidget) :
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
CFloatingDockContainer::~CFloatingDockContainer()
|
CFloatingDockContainer::~CFloatingDockContainer()
|
||||||
{
|
{
|
||||||
qDebug() << "~CFloatingDockContainer " << windowTitle();
|
|
||||||
ADS_PRINT("~CFloatingDockContainer");
|
ADS_PRINT("~CFloatingDockContainer");
|
||||||
if (d->DockManager)
|
if (d->DockManager)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user