From d5ab42bc1239fdd6ae46c17a4c698935e19eb745 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Thu, 7 Dec 2000 08:42:59 +0000 Subject: [PATCH] Fixed the search function. More search fixes.. --- ui/contactmodifyerbase.ui | 14 ++++- ui/mainwindowbase.ui | 10 +++- ui/searchresultbase.ui | 116 ++++++++++---------------------------- 3 files changed, 52 insertions(+), 88 deletions(-) diff --git a/ui/contactmodifyerbase.ui b/ui/contactmodifyerbase.ui index 9c296b2..f551da3 100644 --- a/ui/contactmodifyerbase.ui +++ b/ui/contactmodifyerbase.ui @@ -12,7 +12,7 @@ 0 0 - 430 + 422 175 @@ -186,6 +186,10 @@ name TextLabel4 + + frameShadow + MShadow + text &Telefonnummer @@ -261,4 +265,12 @@ slotOK() + + FirstnameLine + LastnameLine + AdressLine + PhoneNumberLine + buttonOk + buttonCancel + diff --git a/ui/mainwindowbase.ui b/ui/mainwindowbase.ui index ac5c850..4c11ad9 100644 --- a/ui/mainwindowbase.ui +++ b/ui/mainwindowbase.ui @@ -12,7 +12,7 @@ 0 0 - 534 + 530 398 @@ -115,7 +115,7 @@ cursor - 13 + 0 resizePolicy @@ -412,6 +412,12 @@ unnamed slotModify(QListViewItem*) + + SearchLine + returnPressed() + unnamed + slotSearch() + slotModify() slotAdd() slotDel() diff --git a/ui/searchresultbase.ui b/ui/searchresultbase.ui index 82b2394..72b3795 100644 --- a/ui/searchresultbase.ui +++ b/ui/searchresultbase.ui @@ -5,14 +5,14 @@ QDialog name - MyDialog + SearchResultBase geometry 0 0 - 515 + 507 286 @@ -110,11 +110,11 @@ ContactView - + QLayoutWidget name - Layout15 + Layout4 @@ -139,15 +139,11 @@ autoDefault true - - default - true - name - Horizontal Spacing2 + Spacer4 orientation @@ -169,110 +165,60 @@ QPushButton name - buttonCancel + DelButton text - &Cancel - - - autoDefault - true + &Ta bort - - - - QLayoutWidget - - name - Layout17 - - - - margin - 0 - - - spacing - 6 - - - - name - Spacer3 - - - orientation - Horizontal - - - sizeType - Expanding - - - sizeHint - - 20 - 20 - - - QPushButton name - DelButton + ModifyButton text - &Ta bort + &Modifiera - - - name - Spacer4 - - - orientation - Horizontal - - - sizeType - Expanding - - - sizeHint - - 20 - 20 - - - - buttonOk + DelButton clicked() - MyDialog - accept() + SearchResultBase + slotDel() - buttonCancel + ModifyButton clicked() - MyDialog - reject() + SearchResultBase + slotModify() - DelButton + ContactView + doubleClicked(QListViewItem*) + SearchResultBase + slotModify() + + + ContactView + returnPressed(QListViewItem*) + SearchResultBase + slotModify() + + + buttonOk clicked() - MyDialog - slotDel() + SearchResultBase + accept() slotDel() + slotModify() -- 2.39.2