[Kst] branches/work/kst/portto4/kst/src/libkstapp
Adam Treat
treat at kde.org
Wed Mar 14 21:29:45 CET 2007
SVN commit 642606 by treat:
* Make sure to call setupUi
M +1 -1 datawizard.cpp
M +2 -0 kstchangefiledialog.cpp
M +16 -14 kstchangenptsdialog.cpp
M +7 -5 kstchoosecolordialog.cpp
M +2 -0 kstcurvedifferentiate.cpp
M +3 -0 kstdatamanager.cpp
M +2 -0 kstdebugdialog.cpp
M +1 -0 kstgraphfiledialog.cpp
M +1 -0 kstmonochromedialog.cpp
M +2 -0 kstquickstartdialog.cpp
M +2 -0 kstviewmanager.cpp
M +3 -0 kstviewmatricesdialog.cpp
M +3 -0 kstviewscalarsdialog.cpp
M +1 -0 kstviewstringsdialog.cpp
M +3 -0 kstviewvectorsdialog.cpp
M +1 -1 pluginmanager.cpp
--- branches/work/kst/portto4/kst/src/libkstapp/datawizard.cpp #642605:642606
@@ -60,7 +60,7 @@
DataWizard::DataWizard(QWidget *parent)
: Q3Wizard(parent) {
- setupUi(this);
+ setupUi(this);
connect(_newWindow, SIGNAL(toggled(bool)), this, SLOT(updatePlotBox()));
--- branches/work/kst/portto4/kst/src/libkstapp/kstchangefiledialog.cpp #642605:642606
@@ -42,6 +42,8 @@
Qt::WindowFlags fl)
: QDialog(parent, fl) {
+ setupUi(this);
+
connect(_clearFilter, SIGNAL(clicked()), _filter, SLOT(clear()));
connect(_clearFilter, SIGNAL(clicked()), ChangeFileCurveList, SLOT(clearSelection()));
connect(_filter, SIGNAL(textChanged(const QString&)), this, SLOT(updateSelection(const QString&)));
--- branches/work/kst/portto4/kst/src/libkstapp/kstchangenptsdialog.cpp #642605:642606
@@ -32,20 +32,22 @@
KstChangeNptsDialogI::KstChangeNptsDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
- connect(Cancel, SIGNAL(clicked()),
- this, SLOT(reject()));
- connect(CurveList, SIGNAL(selectionChanged()),
- this, SLOT(updateTimeCombo()));
- connect(Clear, SIGNAL(clicked()),
- CurveList, SLOT(clearSelection()));
- connect(SelectAll, SIGNAL(clicked()),
- this, SLOT(selectAll()));
- connect(Apply, SIGNAL(clicked()),
- this, SLOT(applyNptsChange()));
- connect(OK, SIGNAL(clicked()),
- this, SLOT(OKNptsChange()));
- connect(CurveList, SIGNAL(selected ( int )),
- this, SLOT(updateDefaults( int )));
+ setupUi(this);
+
+ connect(Cancel, SIGNAL(clicked()),
+ this, SLOT(reject()));
+ connect(CurveList, SIGNAL(selectionChanged()),
+ this, SLOT(updateTimeCombo()));
+ connect(Clear, SIGNAL(clicked()),
+ CurveList, SLOT(clearSelection()));
+ connect(SelectAll, SIGNAL(clicked()),
+ this, SLOT(selectAll()));
+ connect(Apply, SIGNAL(clicked()),
+ this, SLOT(applyNptsChange()));
+ connect(OK, SIGNAL(clicked()),
+ this, SLOT(OKNptsChange()));
+ connect(CurveList, SIGNAL(selected ( int )),
+ this, SLOT(updateDefaults( int )));
}
--- branches/work/kst/portto4/kst/src/libkstapp/kstchoosecolordialog.cpp #642605:642606
@@ -36,13 +36,15 @@
KstChooseColorDialogI::KstChooseColorDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
- xVector->setChecked(true);
- connect(Cancel, SIGNAL(clicked()), this, SLOT(reject()));
- connect(OK, SIGNAL(clicked()), this, SLOT(applyColors()));
- grid = 0L;
- }
+ setupUi(this);
+ xVector->setChecked(true);
+ connect(Cancel, SIGNAL(clicked()), this, SLOT(reject()));
+ connect(OK, SIGNAL(clicked()), this, SLOT(applyColors()));
+ grid = 0L;
+}
+
KstChooseColorDialogI::~KstChooseColorDialogI() {
delete grid;
}
--- branches/work/kst/portto4/kst/src/libkstapp/kstcurvedifferentiate.cpp #642605:642606
@@ -35,6 +35,8 @@
KstCurveDifferentiateI::KstCurveDifferentiateI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+ setupUi(this);
+
availableListBox->clear();
selectedListBox->clear();
availableListBox->insertItem(i18n("Line Color"));
--- branches/work/kst/portto4/kst/src/libkstapp/kstdatamanager.cpp #642605:642606
@@ -607,6 +607,9 @@
KstDataManagerI::KstDataManagerI(KstDoc *in_doc, QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+
+ setupUi(this);
+
doc = in_doc;
_yesPixmap = QPixmap(KStandardDirs::locate("data", "kst/pics/yes.png"));
--- branches/work/kst/portto4/kst/src/libkstapp/kstdebugdialog.cpp #642605:642606
@@ -41,6 +41,8 @@
KstDebugDialogI::KstDebugDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl ) {
+ setupUi(this);
+
_log = new KstLogWidget(TabPage, "logwidget");
_log->setDebug(KstDebug::self());
--- branches/work/kst/portto4/kst/src/libkstapp/kstgraphfiledialog.cpp #642605:642606
@@ -38,6 +38,7 @@
KstGraphFileDialogI::KstGraphFileDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+ setupUi(this);
_autoSaveTimer = new QTimer(this);
--- branches/work/kst/portto4/kst/src/libkstapp/kstmonochromedialog.cpp #642605:642606
@@ -30,6 +30,7 @@
KstMonochromeDialogI::KstMonochromeDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+ setupUi(this);
availableListBox->clear();
selectedListBox->clear();
--- branches/work/kst/portto4/kst/src/libkstapp/kstquickstartdialog.cpp #642605:642606
@@ -32,6 +32,8 @@
KstQuickStartDialogI::KstQuickStartDialogI(QWidget *parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+ setupUi(this);
+
_fileName->completionObject()->setDir(QDir::currentPath());
_app = KstApp::inst();
_isRecentFile = false;
--- branches/work/kst/portto4/kst/src/libkstapp/kstviewmanager.cpp #642605:642606
@@ -397,6 +397,8 @@
KstViewManagerI::KstViewManagerI(KstDoc *in_doc, QWidget* parent, Qt::WindowFlags fl)
: QWidget(parent, fl) {
+ setupUi(this);
+
doc = in_doc;
delete ViewView;
--- branches/work/kst/portto4/kst/src/libkstapp/kstviewmatricesdialog.cpp #642605:642606
@@ -31,6 +31,9 @@
KstViewMatricesDialogI::KstViewMatricesDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+
+ setupUi(this);
+
_tableMatrices = new KstMatrixTable(this, "tableMatrices");
_tableMatrices->setNumRows(0);
_tableMatrices->setNumCols(5);
--- branches/work/kst/portto4/kst/src/libkstapp/kstviewscalarsdialog.cpp #642605:642606
@@ -26,6 +26,9 @@
KstViewScalarsDialogI::KstViewScalarsDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+
+ setupUi(this);
+
listViewScalars = new KstScalarListView(this, &KST::scalarList);
listViewScalars->setShowSortIndicator(false);
listViewScalars->setSelectionMode(Q3ListView::NoSelection);
--- branches/work/kst/portto4/kst/src/libkstapp/kstviewstringsdialog.cpp #642605:642606
@@ -27,6 +27,7 @@
KstViewStringsDialogI::KstViewStringsDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+ setupUi(this);
listViewStrings = new KstStringListView(this, &KST::stringList);
listViewStrings->setShowSortIndicator(false);
listViewStrings->setSelectionMode(Q3ListView::NoSelection);
--- branches/work/kst/portto4/kst/src/libkstapp/kstviewvectorsdialog.cpp #642605:642606
@@ -27,6 +27,9 @@
KstViewVectorsDialogI::KstViewVectorsDialogI(QWidget* parent, Qt::WindowFlags fl)
: QDialog(parent, fl) {
+
+ setupUi(this);
+
tableVectors = new KstVectorTable(this, "tableVectors");
tableVectors->setNumRows(0);
tableVectors->setNumCols(1);
--- branches/work/kst/portto4/kst/src/libkstapp/pluginmanager.cpp #642605:642606
@@ -34,7 +34,7 @@
PluginManager::PluginManager(QWidget *parent)
: QDialog(parent) {
- setupUi(this);
+ setupUi(this);
connect(_close, SIGNAL(clicked()), this, SLOT(close()));
More information about the Kst
mailing list