quick search widget

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@35 b624d157-de02-0410-bad0-e51aec6abb33
master
tariq 19 years ago
parent cdbd7e1b9c
commit 9c30c07438
  1. 5
      src/mainwindow.cpp
  2. 1
      src/mainwindow.h

@ -60,6 +60,9 @@
KeepassMainWindow::KeepassMainWindow(QWidget *parent, Qt::WFlags flags):QMainWindow(parent,flags){
setupUi(this);
QuickSearchEdit=new QLineEdit(toolBar);
QuickSearchEdit->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Fixed);
//QuickSearchEdit->
setupConnections();
setupIcons();
setupToolbar();
@ -114,6 +117,8 @@ toolBar->addAction(EditDeleteEntryAction);
toolBar->addSeparator();
toolBar->addAction(EditPasswordToClipboardAction);
toolBar->addAction(EditUsernameToClipboardAction);
toolBar->addSeparator();
toolBar->addWidget(QuickSearchEdit);
}
void KeepassMainWindow::setupIcons(){

@ -103,6 +103,7 @@ private:
void removeFromSearchResults(int sID);
inline CGroup* currentGroup();
inline CEntry* currentEntry();
QLineEdit* QuickSearchEdit;