Diffstat (limited to 'noncore/apps/opie-gutenbrowser/optionsDialogData.cpp') (more/less context) (show whitespace changes)
-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 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | optionsDialogData.cpp - description | 2 | optionsDialogData.cpp - description |
3 | ------------------- | 3 | ------------------- |
4 | begin : Tue Jul 25 2000 | 4 | begin : Tue Jul 25 2000 |
5 | copyright : (C) 2000 -2004 by llornkcor | 5 | copyright : (C) 2000 -2004 by llornkcor |
6 | email : ljp@llornkcor.com | 6 | email : ljp@llornkcor.com |
7 | ***************************************************************************/ | 7 | ***************************************************************************/ |
8 | /*************************************************************************** | 8 | /*************************************************************************** |
9 | * This program is free software; you can redistribute it and/or modify * | 9 | * This program is free software; you can redistribute it and/or modify * |
10 | * it under the terms of the GNU General Public License as published by * | 10 | * it under the terms of the GNU General Public License as published by * |
11 | * the Free Software Foundation; either version 2 of the License, or * | 11 | * the Free Software Foundation; either version 2 of the License, or * |
12 | * (at your option) any later version. * | 12 | * (at your option) any later version. * |
13 | ***************************************************************************/ | 13 | ***************************************************************************/ |
14 | #include <qpixmap.h> | 14 | #include <qpixmap.h> |
15 | #include "optionsDialog.h" | 15 | #include "optionsDialog.h" |
16 | #include "fontDialog.h" | 16 | #include "fontDialog.h" |
17 | 17 | ||
18 | #include <qlabel.h> | 18 | #include <qlabel.h> |
19 | #include <qpushbutton.h> | 19 | #include <qpushbutton.h> |
20 | #include <qlineedit.h> | 20 | #include <qlineedit.h> |
21 | #include <qcombobox.h> | 21 | #include <qcombobox.h> |
22 | 22 | ||
23 | void optionsDialog::initDialog() | 23 | void optionsDialog::initDialog() |
24 | { | 24 | { |
25 | QWidget *d = QApplication::desktop(); | 25 | // QWidget *d = QApplication::desktop(); |
26 | int width = d->width(); | 26 | // int width = d->width(); |
27 | int height = d->height(); | 27 | // int height = d->height(); |
28 | 28 | ||
29 | QGridLayout *layout = new QGridLayout( this ); | 29 | QGridLayout *layout = new QGridLayout( this ); |
30 | layout->setSpacing(2); | 30 | layout->setSpacing(2); |
31 | layout->setMargin(2); | 31 | layout->setMargin(2); |
32 | 32 | ||
33 | tabWidget = new QTabWidget( this, "tabWidget" ); | 33 | tabWidget = new QTabWidget( this, "tabWidget" ); |
34 | layout->addMultiCellWidget( tabWidget, 0, 0, 0, 3); | 34 | layout->addMultiCellWidget( tabWidget, 0, 0, 0, 3); |
35 | 35 | ||
36 | Widget2 = new QWidget( tabWidget, "Widget2" ); | 36 | Widget2 = new QWidget( tabWidget, "Widget2" ); |
37 | 37 | ||
38 | QGridLayout *layout2 = new QGridLayout(Widget2 ); | 38 | QGridLayout *layout2 = new QGridLayout(Widget2 ); |
39 | layout2->setSpacing(2); | 39 | layout2->setSpacing(2); |
40 | layout2->setMargin(2); | 40 | layout2->setMargin(2); |
41 | 41 | ||
42 | // Http_CheckBox = new QCheckBox( Widget2, "Http_CheckBox" ); | 42 | // Http_CheckBox = new QCheckBox( Widget2, "Http_CheckBox" ); |
43 | 43 | ||
44 | QLabel *downLabel= new QLabel(Widget2,"Label1"); | 44 | QLabel *downLabel= new QLabel(Widget2,"Label1"); |
45 | downLabel->setText("Download Directory:"); | 45 | downLabel->setText("Download Directory:"); |
46 | downLabel->setMaximumHeight(30); | 46 | downLabel->setMaximumHeight(30); |
47 | 47 | ||
48 | downloadDirEdit = new QLineEdit(Widget2,"downloadDir"); | 48 | downloadDirEdit = new QLineEdit(Widget2,"downloadDir"); |
49 | 49 | ||
50 | // ComboBoxStyle = new QComboBox( FALSE, Widget2, "ComboBoxStyle" ); | 50 | // ComboBoxStyle = new QComboBox( FALSE, Widget2, "ComboBoxStyle" ); |
51 | // ComboBoxStyle->insertItem( tr( "styleMetal") ); | 51 | // ComboBoxStyle->insertItem( tr( "styleMetal") ); |