remove optimizedialog include and Q3VBoxLayout

This commit is contained in:
yodalee 2014-11-03 21:16:54 +08:00
parent 2d63d73898
commit d0d3cf34fc
2 changed files with 4 additions and 7 deletions

View File

@ -25,7 +25,6 @@
#include <Q3HBox>
#include <QLabel>
#include <QLayout>
#include <QCheckBox>
#include <QLineEdit>
#include <QComboBox>
@ -34,9 +33,8 @@
#include <QValidator>
#include <QPushButton>
#include <QMessageBox>
//Added by qt3to4:
#include <Q3GridLayout>
#include <Q3VBoxLayout>
#include <QVBoxLayout>
OptimizeDialog::OptimizeDialog(Optimize_Sim *c_, Schematic *d_)
@ -52,7 +50,7 @@ OptimizeDialog::OptimizeDialog(Optimize_Sim *c_, Schematic *d_)
numVal = new QDoubleValidator(this);
intVal = new QIntValidator(this);
all = new Q3VBoxLayout(this); // to provide the neccessary size
all = new QVBoxLayout(this); // to provide the neccessary size
QTabWidget *t = new QTabWidget(this);
all->addWidget(t);

View File

@ -30,8 +30,7 @@ class Q3ListViewItem;
class QCheckBox;
class QComboBox;
class QLineEdit;
class QPushButton;
class Q3VBoxLayout;
class QVBoxLayout;
class QRegExpValidator;
class QDoubleValidator;
class QIntValidator;
@ -71,7 +70,7 @@ public:
Schematic *Doc;
bool changed;
Q3VBoxLayout *all;
QVBoxLayout *all;
QLineEdit *NameEdit, *VarNameEdit,
*VarInitEdit, *VarMinEdit, *VarMaxEdit,
*IterEdit, *RefreshEdit, *ParentsEdit, *ConstEdit, *CrossEdit,