From af8c08272f7911d44d070601260874d0e008dfd5 Mon Sep 17 00:00:00 2001 From: dockes Date: Sun, 22 Jan 2006 13:56:30 +0000 Subject: [PATCH] *** empty log message *** --- src/qtgui/reslistb.ui | 83 +++++++++++++++++++++++++++++++++++++++++ src/qtgui/reslistb.ui.h | 53 ++++++++++++++++++++++++++ src/qtgui/ssearchb.ui.h | 40 ++++++++++++++++++++ 3 files changed, 176 insertions(+) create mode 100644 src/qtgui/reslistb.ui create mode 100644 src/qtgui/reslistb.ui.h create mode 100644 src/qtgui/ssearchb.ui.h diff --git a/src/qtgui/reslistb.ui b/src/qtgui/reslistb.ui new file mode 100644 index 00000000..4615f945 --- /dev/null +++ b/src/qtgui/reslistb.ui @@ -0,0 +1,83 @@ + +ReslistBase + + + resListBase + + + + 0 + 0 + 198 + 144 + + + + Result list + + + + unnamed + + + + unnamed + + + + unnamed + + + + reslistTE + + + + 5 + 5 + 2 + 0 + + + + RichText + + + true + + + false + + + + + + + + + reslistTE + doubleClicked( int , int ) + resListBase + doubleClicked(int,int) + + + reslistTE + clicked( int , int ) + resListBase + clicked(int,int) + + + + reslistb.ui.h + + + doubleClicked( int, int ) + clicked( int, int ) + delayedClick() + resPageUpOrBack() + resPageDownOrNext() + resultPageBack() + showResultPage() + + + diff --git a/src/qtgui/reslistb.ui.h b/src/qtgui/reslistb.ui.h new file mode 100644 index 00000000..878a60c5 --- /dev/null +++ b/src/qtgui/reslistb.ui.h @@ -0,0 +1,53 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you want to add, delete, or rename functions or slots, use +** Qt Designer to update this file, preserving your code. +** +** You should not define a constructor or destructor in this file. +** Instead, write your code in functions called init() and destroy(). +** These will automatically be called by the form's constructor and +** destructor. +*****************************************************************************/ + + +void resListBase::doubleClicked( int, int ) +{ + +} + + +void resListBase::clicked( int, int ) +{ + +} + + +void resListBase::delayedClick() +{ + +} + + +void resListBase::resPageUpOrBack() +{ + +} + + +void resListBase::resPageDownOrNext() +{ + +} + + +void resListBase::resultPageBack() +{ + +} + + +void resListBase::showResultPage() +{ + +} diff --git a/src/qtgui/ssearchb.ui.h b/src/qtgui/ssearchb.ui.h new file mode 100644 index 00000000..e6be684e --- /dev/null +++ b/src/qtgui/ssearchb.ui.h @@ -0,0 +1,40 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you want to add, delete, or rename functions or slots, use +** Qt Designer to update this file, preserving your code. +** +** You should not define a constructor or destructor in this file. +** Instead, write your code in functions called init() and destroy(). +** These will automatically be called by the form's constructor and +** destructor. +*****************************************************************************/ + +#include "debuglog.h" + +void SSearchBase::searchTextChanged( const QString & text ) +{ + if (text.isEmpty()) { + searchPB->setEnabled(false); + clearqPB->setEnabled(false); + } else { + searchPB->setEnabled(true); + clearqPB->setEnabled(true); + } +} + + +void SSearchBase::startSimpleSearch() +{ + LOGDEB(("RclMain::queryText_returnPressed()\n")); + // The db may have been closed at the end of indexing + Rcl::AdvSearchData sdata; + + QCString u8 = queryText->text().utf8(); + if (allTermsCB->isChecked()) + sdata.allwords = u8; + else + sdata.orwords = u8; + + emit startSearch(sdata); +}