-rw-r--r-- | noncore/apps/opie-gutenbrowser/optionsDialogData.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp b/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp index e03fa2c..772926a 100644 --- a/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp +++ b/noncore/apps/opie-gutenbrowser/optionsDialogData.cpp @@ -1,51 +1,51 @@ /*************************************************************************** optionsDialogData.cpp - description ------------------- begin : Tue Jul 25 2000 copyright : (C) 2000 -2004 by llornkcor email : ljp@llornkcor.com ***************************************************************************/ /*************************************************************************** * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * ***************************************************************************/ #include <qpixmap.h> #include "optionsDialog.h" #include "fontDialog.h" #include <qlabel.h> #include <qpushbutton.h> #include <qlineedit.h> #include <qcombobox.h> void optionsDialog::initDialog() { - QWidget *d = QApplication::desktop(); - int width = d->width(); - int height = d->height(); +// QWidget *d = QApplication::desktop(); +// int width = d->width(); +// int height = d->height(); QGridLayout *layout = new QGridLayout( this ); layout->setSpacing(2); layout->setMargin(2); tabWidget = new QTabWidget( this, "tabWidget" ); layout->addMultiCellWidget( tabWidget, 0, 0, 0, 3); Widget2 = new QWidget( tabWidget, "Widget2" ); QGridLayout *layout2 = new QGridLayout(Widget2 ); layout2->setSpacing(2); layout2->setMargin(2); // Http_CheckBox = new QCheckBox( Widget2, "Http_CheckBox" ); QLabel *downLabel= new QLabel(Widget2,"Label1"); downLabel->setText("Download Directory:"); downLabel->setMaximumHeight(30); downloadDirEdit = new QLineEdit(Widget2,"downloadDir"); // ComboBoxStyle = new QComboBox( FALSE, Widget2, "ComboBoxStyle" ); // ComboBoxStyle->insertItem( tr( "styleMetal") ); |