Diffstat (limited to 'noncore/apps/opie-sheet/sortdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-sheet/sortdlg.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/sortdlg.cpp b/noncore/apps/opie-sheet/sortdlg.cpp index f46562e..4f18fd3 100644 --- a/noncore/apps/opie-sheet/sortdlg.cpp +++ b/noncore/apps/opie-sheet/sortdlg.cpp | |||
@@ -1,24 +1,38 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * This program is free software; you can redistribute it and/or modify * | ||
4 | * it under the terms of the GNU General Public License as published by * | ||
5 | * the Free Software Foundation; either version 2 of the License, or * | ||
6 | * (at your option) any later version. * | ||
7 | * * | ||
8 | ***************************************************************************/ | ||
9 | |||
10 | /* | ||
11 | * Opie Sheet (formerly Sheet/Qt) | ||
12 | * by Serdar Ozler <sozler@sitebest.com> | ||
13 | */ | ||
14 | |||
1 | #include <qlabel.h> | 15 | #include <qlabel.h> |
2 | #include <qradiobutton.h> | 16 | #include <qradiobutton.h> |
3 | #include <qmessagebox.h> | 17 | #include <qmessagebox.h> |
4 | #include "sortdlg.h" | 18 | #include "sortdlg.h" |
5 | 19 | ||
6 | SortDialog::SortDialog(QWidget *parent=0) | 20 | SortDialog::SortDialog(QWidget *parent=0) |
7 | :QDialog(parent, 0, TRUE) | 21 | :QDialog(parent, 0, TRUE) |
8 | { | 22 | { |
9 | // Main widget | 23 | // Main widget |
10 | tabs=new QTabWidget(this); | 24 | tabs=new QTabWidget(this); |
11 | widgetSort=new QWidget(tabs); | 25 | widgetSort=new QWidget(tabs); |
12 | widgetOptions=new QWidget(tabs); | 26 | widgetOptions=new QWidget(tabs); |
13 | tabs->addTab(widgetSort, tr("&Sort")); | 27 | tabs->addTab(widgetSort, tr("&Sort")); |
14 | tabs->addTab(widgetOptions, tr("&Options")); | 28 | tabs->addTab(widgetOptions, tr("&Options")); |
15 | 29 | ||
16 | // Sort tab | 30 | // Sort tab |
17 | comboFieldA=createFieldCombo(tr("&Sort by"), 10); | 31 | comboFieldA=createFieldCombo(tr("&Sort by"), 10); |
18 | groupOrderA=createOrderButtons(10); | 32 | groupOrderA=createOrderButtons(10); |
19 | comboFieldB=createFieldCombo(tr("&Then by"), 90); | 33 | comboFieldB=createFieldCombo(tr("&Then by"), 90); |
20 | groupOrderB=createOrderButtons(90); | 34 | groupOrderB=createOrderButtons(90); |
21 | comboFieldC=createFieldCombo(tr("Then &by"), 170); | 35 | comboFieldC=createFieldCombo(tr("Then &by"), 170); |
22 | groupOrderC=createOrderButtons(170); | 36 | groupOrderC=createOrderButtons(170); |
23 | 37 | ||
24 | // Options tab | 38 | // Options tab |