|
|
@ -42,30 +42,30 @@ FilterBar::FilterBar(TQWidget *parent, const char *name) :
|
|
|
|
TQVBoxLayout* foo = new TQVBoxLayout(this);
|
|
|
|
TQVBoxLayout* foo = new TQVBoxLayout(this);
|
|
|
|
foo->addSpacing(gap);
|
|
|
|
foo->addSpacing(gap);
|
|
|
|
|
|
|
|
|
|
|
|
TQHBoxLayout* tqlayout = new TQHBoxLayout(foo);
|
|
|
|
TQHBoxLayout* layout = new TQHBoxLayout(foo);
|
|
|
|
tqlayout->addSpacing(gap);
|
|
|
|
layout->addSpacing(gap);
|
|
|
|
|
|
|
|
|
|
|
|
m_close = new KToolBarButton("fileclose",0,this);
|
|
|
|
m_close = new KToolBarButton("fileclose",0,this);
|
|
|
|
connect(m_close,TQT_SIGNAL(clicked()),this,TQT_SLOT(hide()));
|
|
|
|
connect(m_close,TQT_SIGNAL(clicked()),this,TQT_SLOT(hide()));
|
|
|
|
tqlayout->addWidget(m_close);
|
|
|
|
layout->addWidget(m_close);
|
|
|
|
|
|
|
|
|
|
|
|
m_filter = new TQLabel(i18n("Find:"), this);
|
|
|
|
m_filter = new TQLabel(i18n("Find:"), this);
|
|
|
|
tqlayout->addWidget(m_filter);
|
|
|
|
layout->addWidget(m_filter);
|
|
|
|
tqlayout->addSpacing(KDialog::spacingHint());
|
|
|
|
layout->addSpacing(KDialog::spacingHint());
|
|
|
|
|
|
|
|
|
|
|
|
m_filterInput = new KLineEdit(this);
|
|
|
|
m_filterInput = new KLineEdit(this);
|
|
|
|
tqlayout->addWidget(m_filterInput);
|
|
|
|
layout->addWidget(m_filterInput);
|
|
|
|
|
|
|
|
|
|
|
|
m_clear = new KPushButton(this);
|
|
|
|
m_clear = new KPushButton(this);
|
|
|
|
m_clear->setIconSet(SmallIcon("clear_left"));
|
|
|
|
m_clear->setIconSet(SmallIcon("clear_left"));
|
|
|
|
m_clear->setFlat(true);
|
|
|
|
m_clear->setFlat(true);
|
|
|
|
tqlayout->addWidget(m_clear);
|
|
|
|
layout->addWidget(m_clear);
|
|
|
|
tqlayout->addSpacing(gap);
|
|
|
|
layout->addSpacing(gap);
|
|
|
|
|
|
|
|
|
|
|
|
m_case_sensitive = new TQCheckBox(i18n("Case sensitive"),this);
|
|
|
|
m_case_sensitive = new TQCheckBox(i18n("Case sensitive"),this);
|
|
|
|
m_case_sensitive->setChecked(true);
|
|
|
|
m_case_sensitive->setChecked(true);
|
|
|
|
tqlayout->addWidget(m_case_sensitive);
|
|
|
|
layout->addWidget(m_case_sensitive);
|
|
|
|
tqlayout->addItem(new TQSpacerItem(10,10,TQSizePolicy::Expanding));
|
|
|
|
layout->addItem(new TQSpacerItem(10,10,TQSizePolicy::Expanding));
|
|
|
|
|
|
|
|
|
|
|
|
connect(m_filterInput, TQT_SIGNAL(textChanged(const TQString&)),
|
|
|
|
connect(m_filterInput, TQT_SIGNAL(textChanged(const TQString&)),
|
|
|
|
this, TQT_SLOT(slotChangeFilter(const TQString&)));
|
|
|
|
this, TQT_SLOT(slotChangeFilter(const TQString&)));
|
|
|
|