Searched refs:topWidget (Results 1 – 1 of 1) sorted by relevance
478 QWidget *topWidget = w->topLevelWidget(); in resizeWidget() local479 setParent(topWidget); in resizeWidget()481 int width = topWidget->width(); in resizeWidget()487 QPoint pos = w->mapTo(topWidget, w->pos()); in resizeWidget()488 …<<"input widget pos: "<< w->pos() << "global pos: "<< pos << "window rect: s" << topWidget->rect(); in resizeWidget()490 if(pos.y() <= topWidget->height()/2){ in resizeWidget()491 this->setGeometry(0,topWidget->height() -height-20, width, height); in resizeWidget()