mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-12 16:20:25 +08:00
Removed std::cout debug output
This commit is contained in:
parent
29ebc83b35
commit
50c3066eaa
@ -525,16 +525,11 @@ bool CDockWidget::event(QEvent *e)
|
|||||||
switch (e->type())
|
switch (e->type())
|
||||||
{
|
{
|
||||||
case QEvent::Hide:
|
case QEvent::Hide:
|
||||||
std::cout << this->objectName().toStdString() << " visible: " << isVisible()
|
|
||||||
<< " hidden: " << isHidden() << " visibleTo: " << isVisibleTo(d->DockManager) << std::endl;
|
|
||||||
emit visibilityChanged(false);
|
emit visibilityChanged(false);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case QEvent::Show:
|
case QEvent::Show:
|
||||||
{
|
emit visibilityChanged(geometry().right() >= 0 && geometry().bottom() >= 0);
|
||||||
QPoint parentTopLeft(0, 0);
|
|
||||||
emit visibilityChanged(geometry().right() >= parentTopLeft.x() && geometry().bottom() >= parentTopLeft.y());
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case QEvent::WindowTitleChange :
|
case QEvent::WindowTitleChange :
|
||||||
|
Loading…
Reference in New Issue
Block a user