标签:io ar on log size 学习 ui tt ca
#include <QtGui>
#include "extensionDlg.h"
ExtensionDlg::ExtensionDlg(QWidget *parent):QDialog(parent)
{
setupUi(this);
this->extensionGroupBox->hide();
connect(this->detailButton, SIGNAL(clicked()), this, SLOT(checkStaus()));
mainVerticalLayout->setSizeConstraint(QLayout::SetFixedSize);
}
void ExtensionDlg::checkStaus()
{
if (this->extensionGroupBox->isHidden())
{
this->extensionGroupBox->show();
}
else
{
this->extensionGroupBox->hide();
}
}
这样就可以显示扩展部分了
标签:io ar on log size 学习 ui tt ca
原文地址:http://www.cnblogs.com/liufang/p/4022290.html