summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-sheet/finddlg.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-sheet/finddlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-sheet/finddlg.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/noncore/apps/opie-sheet/finddlg.cpp b/noncore/apps/opie-sheet/finddlg.cpp
index cfe2f82..d1237ca 100644
--- a/noncore/apps/opie-sheet/finddlg.cpp
+++ b/noncore/apps/opie-sheet/finddlg.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 "finddlg.h" 17#include "finddlg.h"
4 18
5FindDialog::FindDialog(QWidget *parent=0) 19FindDialog::FindDialog(QWidget *parent=0)
6 :QDialog(parent, 0, TRUE) 20 :QDialog(parent, 0, TRUE)
7{ 21{
8 // Main widget 22 // Main widget
9 tabs=new QTabWidget(this); 23 tabs=new QTabWidget(this);
10 widgetFind=new QWidget(tabs); 24 widgetFind=new QWidget(tabs);
11 widgetOptions=new QWidget(tabs); 25 widgetOptions=new QWidget(tabs);
12 tabs->addTab(widgetFind, tr("&Find && Replace")); 26 tabs->addTab(widgetFind, tr("&Find && Replace"));
13 tabs->addTab(widgetOptions, tr("&Options")); 27 tabs->addTab(widgetOptions, tr("&Options"));
14 28
15 // Find tab 29 // Find tab
16 QLabel *label=new QLabel(tr("&Search for:"), widgetFind); 30 QLabel *label=new QLabel(tr("&Search for:"), widgetFind);
17 label->setGeometry(10, 10, 215, 20); 31 label->setGeometry(10, 10, 215, 20);
18 editFind=new QLineEdit(widgetFind); 32 editFind=new QLineEdit(widgetFind);
19 editFind->setGeometry(10, 40, 215, 20); 33 editFind->setGeometry(10, 40, 215, 20);
20 label->setBuddy(editFind); 34 label->setBuddy(editFind);
21 35
22 label=new QLabel(tr("&Replace with:"), widgetFind); 36 label=new QLabel(tr("&Replace with:"), widgetFind);
23 label->setGeometry(10, 80, 215, 20); 37 label->setGeometry(10, 80, 215, 20);
24 editReplace=new QLineEdit(widgetFind); 38 editReplace=new QLineEdit(widgetFind);