Removed some std::cout debug output

This commit is contained in:
Uwe Kindler 2023-07-11 10:27:08 +02:00
parent cb5e9f60a1
commit 364ee33f9c
4 changed files with 0 additions and 9 deletions

View File

@ -197,7 +197,6 @@ CAutoHideDockContainer::CAutoHideDockContainer(CDockWidget* DockWidget, SideBarL
Super(parent),
d(new AutoHideDockContainerPrivate(this))
{
std::cout << "CAutoHideDockContainer::constructor" << std::endl;
hide(); // auto hide dock container is initially always hidden
d->SideTabBarArea = area;
d->SideTab = componentsFactory()->createDockWidgetSideTab(nullptr);
@ -216,7 +215,6 @@ CAutoHideDockContainer::CAutoHideDockContainer(CDockWidget* DockWidget, SideBarL
d->ResizeHandle->setMinResizeSize(64);
bool OpaqueResize = CDockManager::testConfigFlag(CDockManager::OpaqueSplitterResize);
d->ResizeHandle->setOpaqueResize(OpaqueResize);
std::cout << "d->DockArea->size(); " << d->DockArea->size().width() << std::endl;
d->Size = d->DockArea->size();
d->InitialDockWidgetSize = DockWidget->size();
@ -337,7 +335,6 @@ CDockWidget* CAutoHideDockContainer::dockWidget() const
//============================================================================
void CAutoHideDockContainer::addDockWidget(CDockWidget* DockWidget)
{
std::cout << "CAutoHideDockContainer::addDockWidget " << std::endl;
if (d->DockWidget)
{
// Remove the old dock widget at this area
@ -411,7 +408,6 @@ void CAutoHideDockContainer::moveContentsToParent()
//============================================================================
void CAutoHideDockContainer::cleanupAndDelete()
{
std::cout << "CAutoHideDockContainer::cleanupAndDelete()" << std::endl;
const auto dockWidget = d->DockWidget;
if (dockWidget)
{

View File

@ -476,7 +476,6 @@ void CAutoHideTab::mouseReleaseEvent(QMouseEvent* ev)
break;
case DraggingFloatingWidget:
std::cout << "CAutoHideTab::mouseReleaseEvent" << std::endl;
ev->accept();
d->FloatingWidget->finishDragging();
if (d->DockWidget->isAutoHide() && d->DragStartOrientation != orientation())

View File

@ -661,7 +661,6 @@ void CDockAreaTitleBar::mouseMoveEvent(QMouseEvent* ev)
//============================================================================
void CDockAreaTitleBar::mouseDoubleClickEvent(QMouseEvent *event)
{
std::cout << "CDockAreaTitleBar::mouseDoubleClickEvent" << std::endl;
// If this is the last dock area in a dock container it does not make
// sense to move it to a new floating widget and leave this one
// empty

View File

@ -769,7 +769,6 @@ void DockContainerWidgetPrivate::moveToNewSection(QWidget* Widget, CDockAreaWidg
//============================================================================
void DockContainerWidgetPrivate::moveToAutoHideSideBar(QWidget* Widget, DockWidgetArea area)
{
std::cout << "DockContainerWidgetPrivate::moveToAutoHideSideBar " << area << std::endl;
CDockWidget* DroppedDockWidget = qobject_cast<CDockWidget*>(Widget);
CDockAreaWidget* DroppedDockArea = qobject_cast<CDockAreaWidget*>(Widget);
auto SideBarLocation = internal::toSideBarLocation(area);
@ -1727,7 +1726,6 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
}
// mouse is over container
std::cout << "Mouse is over container" << std::endl;
if (InvalidDockWidgetArea == dropArea && InvalidDockWidgetArea != ContainerDropArea)
{
if (internal::isSideBarArea(ContainerDropArea))
@ -1777,7 +1775,6 @@ void CDockContainerWidget::dropFloatingWidget(CFloatingDockContainer* FloatingWi
//============================================================================
void CDockContainerWidget::dropWidget(QWidget* Widget, DockWidgetArea DropArea, CDockAreaWidget* TargetAreaWidget)
{
std::cout << "CDockContainerWidget::dropWidget" << std::endl;
CDockWidget* SingleDockWidget = topLevelDockWidget();
if (TargetAreaWidget)
{