添加遥控器,修改遥控器相关链接方式
This commit is contained in:
@@ -31,7 +31,7 @@ void ToolsWidget::setFloat(void)
|
||||
QPoint pos = mapToGlobal(m_parent->pos());
|
||||
|
||||
this->setParent(nullptr);
|
||||
this->resize(1000,600);
|
||||
this->resize(this->minimumSize());
|
||||
this->move(pos.x() + (m_parent->width() - this->width()) * 0.5,
|
||||
pos.y() + (m_parent->height() - this->height()) * 0.5);
|
||||
this->show();
|
||||
|
||||
Reference in New Issue
Block a user