*** empty log message ***

This commit is contained in:
dockes 2006-01-22 13:56:30 +00:00
parent 17747918eb
commit af8c08272f
3 changed files with 176 additions and 0 deletions

83
src/qtgui/reslistb.ui Normal file
View File

@ -0,0 +1,83 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ReslistBase</class>
<widget class="QWidget">
<property name="name">
<cstring>resListBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>198</width>
<height>144</height>
</rect>
</property>
<property name="caption">
<string>Result list</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget">
<property name="name">
<cstring>unnamed</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QTextEdit">
<property name="name">
<cstring>reslistTE</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>2</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="textFormat">
<enum>RichText</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="undoRedoEnabled">
<bool>false</bool>
</property>
</widget>
</vbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>reslistTE</sender>
<signal>doubleClicked( int , int )</signal>
<receiver>resListBase</receiver>
<slot>doubleClicked(int,int)</slot>
</connection>
<connection>
<sender>reslistTE</sender>
<signal>clicked( int , int )</signal>
<receiver>resListBase</receiver>
<slot>clicked(int,int)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">reslistb.ui.h</include>
</includes>
<slots>
<slot>doubleClicked( int, int )</slot>
<slot>clicked( int, int )</slot>
<slot>delayedClick()</slot>
<slot>resPageUpOrBack()</slot>
<slot>resPageDownOrNext()</slot>
<slot>resultPageBack()</slot>
<slot>showResultPage()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>

53
src/qtgui/reslistb.ui.h Normal file
View File

@ -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()
{
}

40
src/qtgui/ssearchb.ui.h Normal file
View File

@ -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);
}