added calendar access button in edit entry dialog, added customize detail view dialog for editing detail view templates, added 'show expired entries' dialog, new icon loading mechansim, added and replaced some icons. git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@130 b624d157-de02-0410-bad0-e51aec6abb33master
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.5 KiB |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 880 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 206 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 214 B |
After Width: | Height: | Size: 183 B |
After Width: | Height: | Size: 1.5 KiB |
@ -0,0 +1,29 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 by Tarek Saidi * |
||||
* tarek.saidi@arcor.de * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||
***************************************************************************/ |
||||
|
||||
#include "main.h" |
||||
#include "CalendarDlg.h" |
||||
|
||||
CalendarDialog::CalendarDialog(QWidget* parent, const QDate& Start):QDialog(parent){ |
||||
setupUi(this); |
||||
calendarWidget->setSelectedDate(Start); |
||||
setWindowIcon(getIcon("clock")); |
||||
setWindowFlags(Qt::Sheet); |
||||
} |
@ -0,0 +1,35 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 by Tarek Saidi * |
||||
* tarek.saidi@arcor.de * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||
***************************************************************************/ |
||||
#ifndef _CALENDAR_DLG_H_ |
||||
#define _CALENDAR_DLG_H_ |
||||
|
||||
#include <QDate> |
||||
#include "ui_CalendarDlg.h" |
||||
|
||||
class CalendarDialog:public QDialog, public Ui_CalendarDialog{ |
||||
Q_OBJECT |
||||
public: |
||||
CalendarDialog(QWidget* parent, const QDate& Start=QDate::currentDate()); |
||||
|
||||
|
||||
}; |
||||
|
||||
|
||||
#endif |
@ -0,0 +1,217 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2005-2007 by Tarek Saidi * |
||||
* tarek.saidi@arcor.de * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||
***************************************************************************/ |
||||
|
||||
#include <QTextCursor> |
||||
#include <QTextBlockFormat> |
||||
#include <QLineEdit> |
||||
#include <QPushButton> |
||||
#include <QColorDialog> |
||||
#include <QPixmap> |
||||
#include <QMenu> |
||||
#include "main.h" |
||||
#include "CustomizeDetailViewDlg.h" |
||||
|
||||
bool DisableButtonSlots=false; |
||||
|
||||
CustomizeDetailViewDialog::CustomizeDetailViewDialog(QWidget* parent):QDialog(parent){ |
||||
setupUi(this); |
||||
BtnBold->setIcon(getIcon("text_bold")); |
||||
BtnItalic->setIcon(getIcon("text_italic")); |
||||
BtnUnderline->setIcon(getIcon("text_under")); |
||||
BtnAlignLeft->setIcon(getIcon("text_left")); |
||||
BtnAlignRight->setIcon(getIcon("text_right")); |
||||
BtnAlignCenter->setIcon(getIcon("text_center")); |
||||
BtnAlignBlock->setIcon(getIcon("text_block")); |
||||
BtnTemplates->setIcon(getIcon("templates"));
|
||||
|
||||
QMenu* tmplmenu=new QMenu(); |
||||
tmplmenu->addAction(tr("Group"))->setData("%group%"); |
||||
tmplmenu->addAction(tr("Title"))->setData("%title%"); |
||||
tmplmenu->addAction(tr("Username"))->setData("%username%"); |
||||
tmplmenu->addAction(tr("Password"))->setData("%password%"); |
||||
tmplmenu->addAction(tr("Url"))->setData("%url%"); |
||||
tmplmenu->addAction(tr("Comment"))->setData("%comment%"); |
||||
tmplmenu->addAction(tr("Attachment Name"))->setData("%attachment%"); |
||||
tmplmenu->addAction(tr("Creation Date"))->setData("%creation%"); |
||||
tmplmenu->addAction(tr("Last Access Date"))->setData("%lastaccess%"); |
||||
tmplmenu->addAction(tr("Last Modification Date"))->setData("%lastmod%"); |
||||
tmplmenu->addAction(tr("Expiration Date"))->setData("%expire%"); |
||||
tmplmenu->addAction(tr("Time till Expiration"))->setData("%expire-timeleft%"); |
||||
BtnTemplates->setMenu(tmplmenu);
|
||||
|
||||
connect(BtnBold,SIGNAL(toggled(bool)),this,SLOT(OnBtnBold(bool))); |
||||
connect(BtnItalic,SIGNAL(toggled(bool)),this,SLOT(OnBtnItalic(bool))); |
||||
connect(BtnUnderline,SIGNAL(toggled(bool)),this,SLOT(OnBtnUnderline(bool))); |
||||
connect(BtnAlignLeft,SIGNAL(toggled(bool)),this,SLOT(OnBtnAlignLeft(bool))); |
||||
connect(BtnAlignRight,SIGNAL(toggled(bool)),this,SLOT(OnBtnAlignRight(bool))); |
||||
connect(BtnAlignCenter,SIGNAL(toggled(bool)),this,SLOT(OnBtnAlignCenter(bool))); |
||||
connect(BtnAlignBlock,SIGNAL(toggled(bool)),this,SLOT(OnBtnAlignBlock(bool))); |
||||
connect(BtnColor,SIGNAL(clicked()),this,SLOT(OnBtnColor())); |
||||
connect(ButtonSave,SIGNAL(clicked()),this,SLOT(OnSave())); |
||||
connect(ButtonCancel,SIGNAL(clicked()),this,SLOT(OnCancel())); |
||||
connect(ButtonRestore,SIGNAL(clicked()),this,SLOT(OnRestoreDefault())); |
||||
connect(tmplmenu,SIGNAL(triggered(QAction*)),this,SLOT(OnInsertTemplate(QAction*))); |
||||
connect(RichEdit,SIGNAL(cursorPositionChanged()),this,SLOT(OnCursorPositionChanged())); |
||||
connect(TabWidget,SIGNAL(currentChanged(int)),this,SLOT(OnTabChanged(int))); |
||||
connect(FontSize,SIGNAL(activated(const QString&)),this,SLOT(OnFontSizeChanged(const QString&))); |
||||
connect(FontSize->lineEdit(),SIGNAL(returnPressed()),this,SLOT(OnFontSizeChanged())); |
||||
|
||||
RichEdit->setHtml(DetailViewTemplate); |
||||
|
||||
OnCursorPositionChanged(); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnTabChanged(int index){ |
||||
|
||||
if(index==0){ |
||||
RichEdit->setHtml(HtmlEdit->toPlainText()); |
||||
}
|
||||
if(index==1){ |
||||
HtmlEdit->setPlainText(RichEdit->toHtml());
|
||||
}
|
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnFontSizeChanged(const QString& text){ |
||||
bool ok=false; |
||||
int size=text.toInt(&ok); |
||||
if(ok && size > 0){ |
||||
RichEdit->setFontPointSize(size);
|
||||
}
|
||||
} |
||||
|
||||
|
||||
void CustomizeDetailViewDialog::OnCursorPositionChanged(){ |
||||
DisableButtonSlots=true; |
||||
if(RichEdit->fontWeight()==QFont::Bold)BtnBold->setChecked(true); |
||||
else BtnBold->setChecked(false); |
||||
BtnItalic->setChecked(RichEdit->fontItalic()); |
||||
BtnUnderline->setChecked(RichEdit->fontUnderline()); |
||||
switch(RichEdit->alignment()){ |
||||
case Qt::AlignLeft: |
||||
BtnAlignLeft->setChecked(true); |
||||
BtnAlignCenter->setChecked(false); |
||||
BtnAlignRight->setChecked(false); |
||||
BtnAlignBlock->setChecked(false); |
||||
break; |
||||
case Qt::AlignHCenter: |
||||
BtnAlignLeft->setChecked(false); |
||||
BtnAlignCenter->setChecked(true); |
||||
BtnAlignRight->setChecked(false); |
||||
BtnAlignBlock->setChecked(false); |
||||
break; |
||||
case Qt::AlignRight: |
||||
BtnAlignLeft->setChecked(false); |
||||
BtnAlignCenter->setChecked(false); |
||||
BtnAlignRight->setChecked(true); |
||||
BtnAlignBlock->setChecked(false); |
||||
break; |
||||
case Qt::AlignJustify: |
||||
BtnAlignLeft->setChecked(false); |
||||
BtnAlignCenter->setChecked(false); |
||||
BtnAlignRight->setChecked(false); |
||||
BtnAlignBlock->setChecked(true); |
||||
break;
|
||||
} |
||||
CurrentColor=RichEdit->textColor(); |
||||
QPixmap pixmap=QPixmap(16,16); |
||||
pixmap.fill(CurrentColor); |
||||
BtnColor->setIcon(QIcon(pixmap)); |
||||
if(RichEdit->fontPointSize()>0) |
||||
FontSize->lineEdit()->setText(QString::number((int)RichEdit->fontPointSize())); |
||||
else |
||||
FontSize->lineEdit()->setText("9"); |
||||
|
||||
DisableButtonSlots=false;
|
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnBold(bool toggled){ |
||||
if(DisableButtonSlots)return; |
||||
if(toggled) |
||||
RichEdit->setFontWeight(QFont::Bold);
|
||||
else |
||||
RichEdit->setFontWeight(QFont::Normal); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnItalic(bool toggled){ |
||||
if(DisableButtonSlots)return; |
||||
RichEdit->setFontItalic(toggled);
|
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnUnderline(bool toggled){ |
||||
if(DisableButtonSlots)return;
|
||||
RichEdit->setFontUnderline(toggled);
|
||||
} |
||||
|
||||
|
||||
void CustomizeDetailViewDialog::OnBtnAlignLeft(bool toggled){ |
||||
if(DisableButtonSlots)return; |
||||
RichEdit->setAlignment(Qt::AlignLeft); |
||||
OnCursorPositionChanged(); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnAlignRight(bool toggled){ |
||||
if(DisableButtonSlots)return; |
||||
RichEdit->setAlignment(Qt::AlignRight);
|
||||
OnCursorPositionChanged(); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnAlignCenter(bool toggled){ |
||||
if(DisableButtonSlots)return;
|
||||
RichEdit->setAlignment(Qt::AlignHCenter);
|
||||
OnCursorPositionChanged(); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnAlignBlock(bool toggled){ |
||||
if(DisableButtonSlots)return;
|
||||
RichEdit->setAlignment(Qt::AlignJustify);
|
||||
OnCursorPositionChanged(); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnBtnColor(){ |
||||
CurrentColor=QColorDialog::getColor(CurrentColor,this); |
||||
QPixmap pixmap=QPixmap(16,16); |
||||
pixmap.fill(CurrentColor); |
||||
BtnColor->setIcon(QIcon(pixmap)); |
||||
RichEdit->setTextColor(CurrentColor); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnInsertTemplate(QAction* action){ |
||||
RichEdit->insertPlainText(action->data().toString());
|
||||
} |
||||
|
||||
|
||||
void CustomizeDetailViewDialog::OnSave(){ |
||||
if(TabWidget->currentIndex()==0) |
||||
DetailViewTemplate=RichEdit->toHtml(); |
||||
else if(TabWidget->currentIndex()==1) |
||||
DetailViewTemplate=HtmlEdit->toPlainText(); |
||||
|
||||
done(1); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnCancel(){ |
||||
done(0); |
||||
} |
||||
|
||||
void CustomizeDetailViewDialog::OnRestoreDefault(){ |
||||
loadDefaultDetailViewTemplate(); |
||||
HtmlEdit->setPlainText(DetailViewTemplate); |
||||
RichEdit->setHtml(DetailViewTemplate); |
||||
} |
@ -0,0 +1,55 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2005-2006 by Tarek Saidi * |
||||
* tarek.saidi@arcor.de * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||
***************************************************************************/ |
||||
#ifndef _CUSTOMIZE_DETAIL_VIEW_H_ |
||||
#define _CUSTOMIZE_DETAIL_VIEW_H_ |
||||
|
||||
#include "ui_CustomizeDetailViewDlg.h"; |
||||
#include <QColor> |
||||
#include <QAction> |
||||
|
||||
class CustomizeDetailViewDialog : public QDialog, public Ui_CustomizeDetailViewDialog{ |
||||
Q_OBJECT |
||||
public: |
||||
CustomizeDetailViewDialog(QWidget* parent); |
||||
|
||||
private slots: |
||||
void OnBtnBold(bool); |
||||
void OnBtnItalic(bool); |
||||
void OnBtnUnderline(bool); |
||||
void OnBtnAlignLeft(bool); |
||||
void OnBtnAlignRight(bool); |
||||
void OnBtnAlignCenter(bool); |
||||
void OnBtnAlignBlock(bool); |
||||
void OnBtnColor(); |
||||
void OnSave(); |
||||
void OnCancel(); |
||||
void OnRestoreDefault(); |
||||
void OnInsertTemplate(QAction*); |
||||
void OnCursorPositionChanged(); |
||||
void OnTabChanged(int index); |
||||
void OnFontSizeChanged(const QString& text=QString()); |
||||
|
||||
private: |
||||
QColor CurrentColor; |
||||
|
||||
|
||||
}; |
||||
|
||||
#endif |
@ -0,0 +1,63 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 by Tarek Saidi * |
||||
* tarek.saidi@arcor.de * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||
***************************************************************************/ |
||||
|
||||
#include <QTreeWidget> |
||||
#include <QPainter> |
||||
#include <QPaintEvent> |
||||
#include <QResizeEvent> |
||||
#include "main.h" |
||||
#include "ExpiredEntriesDlg.h" |
||||
|
||||
ExpiredEntriesDialog::ExpiredEntriesDialog(QWidget* parent,IDatabase* database,const QList<IEntryHandle*>& ExpiredEntries):QDialog(parent){ |
||||
setupUi(this); |
||||
Entries=ExpiredEntries; |
||||
for(int i=0;i<Entries.size();i++){ |
||||
QTreeWidgetItem* item=new QTreeWidgetItem(treeWidget); |
||||
item->setData(0,Qt::UserRole,i); |
||||
item->setText(0,Entries[i]->group()->title()); |
||||
item->setText(1,Entries[i]->title()); |
||||
item->setText(2,Entries[i]->username()); |
||||
item->setText(3,Entries[i]->expire().dateToString(Qt::LocalDate)); |
||||
item->setIcon(0,database->icon(Entries[i]->group()->image())); |
||||
item->setIcon(1,database->icon(Entries[i]->image())); |
||||
|
||||
} |
||||
connect(treeWidget,SIGNAL(itemDoubleClicked(QTreeWidgetItem*,int)),this,SLOT(OnItemDoubleClicked(QTreeWidgetItem*,int))); |
||||
} |
||||
|
||||
|
||||
void ExpiredEntriesDialog::paintEvent(QPaintEvent* event){ |
||||
QDialog::paintEvent(event); |
||||
QPainter painter(this); |
||||
painter.setClipRegion(event->region()); |
||||
painter.drawPixmap(QPoint(0,0),BannerPixmap); |
||||
} |
||||
|
||||
void ExpiredEntriesDialog::resizeEvent(QResizeEvent* event){ |
||||
createBanner(&BannerPixmap,getPixmap("alarmclock"),tr("Expried Entries of the Database"),width()); |
||||
QDialog::resizeEvent(event);
|
||||
} |
||||
|
||||
void ExpiredEntriesDialog::OnItemDoubleClicked(QTreeWidgetItem* item, int column){ |
||||
SelectedEntry=Entries[item->data(0,Qt::UserRole).toInt()];
|
||||
accept(); |
||||
} |
||||
|
||||
///TODO 0.2.3 locale aware string/date compare for correct sorting
|
@ -0,0 +1,47 @@ |
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 by Tarek Saidi * |
||||
* tarek.saidi@arcor.de * |
||||
* * |
||||
* This program is free software; you can redistribute it and/or modify * |
||||
* it under the terms of the GNU General Public License as published by * |
||||
* the Free Software Foundation; either version 2 of the License, or * |
||||
* (at your option) any later version. * |
||||
* * |
||||
* This program is distributed in the hope that it will be useful, * |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||||
* GNU General Public License for more details. * |
||||
* * |
||||
* You should have received a copy of the GNU General Public License * |
||||
* along with this program; if not, write to the * |
||||
* Free Software Foundation, Inc., * |
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||||
***************************************************************************/ |
||||
|
||||
#ifndef _EXP_ENTRIES_DLG_ |
||||
#define _EXP_ENTRIES_DLG_ |
||||
|
||||
#include <QList> |
||||
#include <QPixmap> |
||||
#include "ui_ExpiredEntriesDlg.h" |
||||
#include "Database.h" |
||||
|
||||
class ExpiredEntriesDialog:public QDialog, public Ui_ExpiredEntriesDialog{ |
||||
Q_OBJECT |
||||
public: |
||||
ExpiredEntriesDialog(QWidget* parent,IDatabase* database,const QList<IEntryHandle*>& Entries); |
||||
IEntryHandle* SelectedEntry;
|
||||
private: |
||||
QList<IEntryHandle*> Entries; |
||||
QPixmap BannerPixmap; |
||||
virtual void paintEvent(QPaintEvent*); |
||||
virtual void resizeEvent(QResizeEvent *); |
||||
|
||||
private slots: |
||||
void OnItemDoubleClicked(QTreeWidgetItem*,int); |
||||
|
||||
|
||||
}; |
||||
|
||||
|
||||
#endif |
@ -0,0 +1,72 @@ |
||||
<ui version="4.0" > |
||||
<class>CalendarDialog</class> |
||||
<widget class="QDialog" name="CalendarDialog" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>334</width> |
||||
<height>238</height> |
||||
</rect> |
||||
</property> |
||||
<property name="windowTitle" > |
||||
<string>Calendar</string> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QCalendarWidget" name="calendarWidget" /> |
||||
</item> |
||||
<item> |
||||
<widget class="QDialogButtonBox" name="buttonBox" > |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="standardButtons" > |
||||
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<resources/> |
||||
<connections> |
||||
<connection> |
||||
<sender>buttonBox</sender> |
||||
<signal>accepted()</signal> |
||||
<receiver>CalendarDialog</receiver> |
||||
<slot>accept()</slot> |
||||
<hints> |
||||
<hint type="sourcelabel" > |
||||
<x>248</x> |
||||
<y>254</y> |
||||
</hint> |
||||
<hint type="destinationlabel" > |
||||
<x>157</x> |
||||
<y>274</y> |
||||
</hint> |
||||
</hints> |
||||
</connection> |
||||
<connection> |
||||
<sender>buttonBox</sender> |
||||
<signal>rejected()</signal> |
||||
<receiver>CalendarDialog</receiver> |
||||
<slot>reject()</slot> |
||||
<hints> |
||||
<hint type="sourcelabel" > |
||||
<x>316</x> |
||||
<y>260</y> |
||||
</hint> |
||||
<hint type="destinationlabel" > |
||||
<x>286</x> |
||||
<y>274</y> |
||||
</hint> |
||||
</hints> |
||||
</connection> |
||||
</connections> |
||||
</ui> |
@ -0,0 +1,368 @@ |
||||
<ui version="4.0" > |
||||
<class>CustomizeDetailViewDialog</class> |
||||
<widget class="QDialog" name="CustomizeDetailViewDialog" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>531</width> |
||||
<height>402</height> |
||||
</rect> |
||||
</property> |
||||
<property name="windowTitle" > |
||||
<string>Dialog</string> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QTabWidget" name="TabWidget" > |
||||
<property name="currentIndex" > |
||||
<number>0</number> |
||||
</property> |
||||
<widget class="QWidget" name="tab" > |
||||
<attribute name="title" > |
||||
<string>Rich Text Editor</string> |
||||
</attribute> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnBold" > |
||||
<property name="toolTip" > |
||||
<string>Bold</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>B</string> |
||||
</property> |
||||
<property name="iconSize" > |
||||
<size> |
||||
<width>16</width> |
||||
<height>16</height> |
||||
</size> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnItalic" > |
||||
<property name="toolTip" > |
||||
<string>Italic</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>I</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnUnderline" > |
||||
<property name="toolTip" > |
||||
<string>Underlined</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>U</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnAlignLeft" > |
||||
<property name="toolTip" > |
||||
<string>Left-Aligned</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>L</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnAlignCenter" > |
||||
<property name="toolTip" > |
||||
<string>Centered</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>C</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnAlignRight" > |
||||
<property name="toolTip" > |
||||
<string>Right-Aligned</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>R</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnAlignBlock" > |
||||
<property name="toolTip" > |
||||
<string>Justified</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>B</string> |
||||
</property> |
||||
<property name="checkable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnColor" > |
||||
<property name="toolTip" > |
||||
<string>Text Color</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>C</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QComboBox" name="FontSize" > |
||||
<property name="toolTip" > |
||||
<string>Font Size</string> |
||||
</property> |
||||
<property name="editable" > |
||||
<bool>true</bool> |
||||
</property> |
||||
<item> |
||||
<property name="text" > |
||||
<string>6</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>7</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>8</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>9</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>10</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>11</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>12</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>14</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>16</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>18</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>20</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>22</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>24</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>26</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>28</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>36</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>42</string> |
||||
</property> |
||||
</item> |
||||
<item> |
||||
<property name="text" > |
||||
<string>78</string> |
||||
</property> |
||||
</item> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QToolButton" name="BtnTemplates" > |
||||
<property name="toolTip" > |
||||
<string>Templates</string> |
||||
</property> |
||||
<property name="text" > |
||||
<string>T</string> |
||||
</property> |
||||
<property name="popupMode" > |
||||
<enum>QToolButton::InstantPopup</enum> |
||||
</property> |
||||
<property name="arrowType" > |
||||
<enum>Qt::NoArrow</enum> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>40</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<widget class="QTextEdit" name="RichEdit" /> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<widget class="QWidget" name="tab_2" > |
||||
<attribute name="title" > |
||||
<string>HTML</string> |
||||
</attribute> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QTextEdit" name="HtmlEdit" > |
||||
<property name="acceptRichText" > |
||||
<bool>false</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QPushButton" name="ButtonRestore" > |
||||
<property name="text" > |
||||
<string>Restore Default</string> |
||||
</property> |
||||
<property name="autoDefault" > |
||||
<bool>false</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>40</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QPushButton" name="ButtonSave" > |
||||
<property name="text" > |
||||
<string>Save</string> |
||||
</property> |
||||
<property name="autoDefault" > |
||||
<bool>false</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QPushButton" name="ButtonCancel" > |
||||
<property name="text" > |
||||
<string>Cancel</string> |
||||
</property> |
||||
<property name="autoDefault" > |
||||
<bool>false</bool> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<resources/> |
||||
<connections/> |
||||
</ui> |
@ -0,0 +1,131 @@ |
||||
<ui version="4.0" > |
||||
<class>ExpiredEntriesDialog</class> |
||||
<widget class="QDialog" name="ExpiredEntriesDialog" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>588</width> |
||||
<height>408</height> |
||||
</rect> |
||||
</property> |
||||
<property name="windowTitle" > |
||||
<string>Expired Entries</string> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>20</width> |
||||
<height>50</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QLabel" name="label" > |
||||
<property name="text" > |
||||
<string>Double click on an entry to jump to it.</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QTreeWidget" name="treeWidget" > |
||||
<property name="rootIsDecorated" > |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="uniformRowHeights" > |
||||
<bool>true</bool> |
||||
</property> |
||||
<property name="itemsExpandable" > |
||||
<bool>false</bool> |
||||
</property> |
||||
<property name="sortingEnabled" > |
||||
<bool>true</bool> |
||||
</property> |
||||
<property name="allColumnsShowFocus" > |
||||
<bool>true</bool> |
||||
</property> |
||||
<column> |
||||
<property name="text" > |
||||
<string>Group</string> |
||||
</property> |
||||
</column> |
||||
<column> |
||||
<property name="text" > |
||||
<string>Title</string> |
||||
</property> |
||||
</column> |
||||
<column> |
||||
<property name="text" > |
||||
<string>Username</string> |
||||
</property> |
||||
</column> |
||||
<column> |
||||
<property name="text" > |
||||
<string>Expired</string> |
||||
</property> |
||||
</column> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QDialogButtonBox" name="buttonBox" > |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="standardButtons" > |
||||
<set>QDialogButtonBox::Close</set> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<resources/> |
||||
<connections> |
||||
<connection> |
||||
<sender>buttonBox</sender> |
||||
<signal>accepted()</signal> |
||||
<receiver>ExpiredEntriesDialog</receiver> |
||||
<slot>accept()</slot> |
||||
<hints> |
||||
<hint type="sourcelabel" > |
||||
<x>248</x> |
||||
<y>254</y> |
||||
</hint> |
||||
<hint type="destinationlabel" > |
||||
<x>157</x> |
||||
<y>274</y> |
||||
</hint> |
||||
</hints> |
||||
</connection> |
||||
<connection> |
||||
<sender>buttonBox</sender> |
||||
<signal>rejected()</signal> |
||||
<receiver>ExpiredEntriesDialog</receiver> |
||||
<slot>reject()</slot> |
||||
<hints> |
||||
<hint type="sourcelabel" > |
||||
<x>316</x> |
||||
<y>260</y> |
||||
</hint> |
||||
<hint type="destinationlabel" > |
||||
<x>286</x> |
||||
<y>274</y> |
||||
</hint> |
||||
</hints> |
||||
</connection> |
||||
</connections> |
||||
</ui> |
@ -1,286 +1,285 @@ |
||||
<ui version="4.0" > |
||||
<author/> |
||||
<comment/> |
||||
<exportmacro/> |
||||
<class>Search_Dlg</class> |
||||
<widget class="QDialog" name="Search_Dlg" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>390</width> |
||||
<height>260</height> |
||||
</rect> |
||||
</property> |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="minimumSize" > |
||||
<class>Search_Dlg</class> |
||||
<widget class="QDialog" name="Search_Dlg" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>390</width> |
||||
<height>280</height> |
||||
</rect> |
||||
</property> |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="minimumSize" > |
||||
<size> |
||||
<width>390</width> |
||||
<height>280</height> |
||||
</size> |
||||
</property> |
||||
<property name="maximumSize" > |
||||
<size> |
||||
<width>390</width> |
||||
<height>280</height> |
||||
</size> |
||||
</property> |
||||
<property name="windowTitle" > |
||||
<string>Search...</string> |
||||
</property> |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Fixed</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>390</width> |
||||
<height>260</height> |
||||
<width>20</width> |
||||
<height>50</height> |
||||
</size> |
||||
</property> |
||||
<property name="maximumSize" > |
||||
<size> |
||||
<width>390</width> |
||||
<height>260</height> |
||||
</size> |
||||
</property> |
||||
<property name="windowTitle" > |
||||
<string>Search...</string> |
||||
</property> |
||||
<widget class="QLabel" name="textLabel1" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>10</x> |
||||
<y>60</y> |
||||
<width>90</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>Search For:</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLineEdit" name="Edit_Search" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>110</x> |
||||
<y>60</y> |
||||
<width>270</width> |
||||
<height>21</height> |
||||
</rect> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_regExp" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>110</x> |
||||
<y>110</y> |
||||
<width>170</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>Regular E&xpression</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+X</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_Cs" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>110</x> |
||||
<y>90</y> |
||||
<width>250</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>&Case Sensitive</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+C</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QLabel" name="Banner" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>0</x> |
||||
<y>0</y> |
||||
<width>390</width> |
||||
<height>50</height> |
||||
</rect> |
||||
</property> |
||||
<property name="pixmap" > |
||||
<pixmap/> |
||||
</property> |
||||
<property name="scaledContents" > |
||||
<bool>true</bool> |
||||
</property> |
||||
</widget> |
||||
<widget class="QGroupBox" name="groupBox1" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>10</x> |
||||
<y>150</y> |
||||
<width>370</width> |
||||
<height>70</height> |
||||
</rect> |
||||
</property> |
||||
<property name="title" > |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<layout class="QGridLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>4</number> |
||||
</property> |
||||
<item row="1" column="0" > |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeType" > |
||||
<enum>QSizePolicy::Maximum</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>40</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item row="2" column="0" colspan="2" > |
||||
<widget class="QGroupBox" name="groupBox1" > |
||||
<property name="title" > |
||||
<string>Include:</string> |
||||
</property> |
||||
<widget class="QCheckBox" name="checkBox_Title" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>20</x> |
||||
<y>20</y> |
||||
<width>110</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>&Titles</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+T</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_Username" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>20</x> |
||||
<y>40</y> |
||||
<width>110</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>&Usernames</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+U</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_Comment" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>140</x> |
||||
<y>40</y> |
||||
<width>120</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>C&omments</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+O</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_URL" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>260</x> |
||||
<y>20</y> |
||||
<width>100</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>U&RLs</string> |
||||
</property> |
||||
<layout class="QGridLayout" > |
||||
<property name="margin" > |
||||
<number>9</number> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+R</string> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item row="0" column="1" > |
||||
<widget class="QCheckBox" name="checkBox_Password" > |
||||
<property name="text" > |
||||
<string>Pass&words</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+W</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="1" column="2" > |
||||
<widget class="QCheckBox" name="checkBox_Attachment" > |
||||
<property name="text" > |
||||
<string>A&nhang</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+N</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="0" column="2" > |
||||
<widget class="QCheckBox" name="checkBox_URL" > |
||||
<property name="text" > |
||||
<string>U&RLs</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+R</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="1" column="1" > |
||||
<widget class="QCheckBox" name="checkBox_Comment" > |
||||
<property name="text" > |
||||
<string>C&omments</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+O</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="1" column="0" > |
||||
<widget class="QCheckBox" name="checkBox_Username" > |
||||
<property name="text" > |
||||
<string>&Usernames</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+U</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item row="0" column="0" > |
||||
<widget class="QCheckBox" name="checkBox_Title" > |
||||
<property name="text" > |
||||
<string>&Titles</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+T</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_Attachment" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>260</x> |
||||
<y>40</y> |
||||
<width>100</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>A&nhang</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+N</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_Password" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>140</x> |
||||
<y>20</y> |
||||
<width>110</width> |
||||
<height>20</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>Pass&words</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+W</string> |
||||
</property> |
||||
</item> |
||||
<item row="1" column="1" > |
||||
<layout class="QVBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>0</number> |
||||
</property> |
||||
<item> |
||||
<widget class="QCheckBox" name="checkBox_Cs" > |
||||
<property name="text" > |
||||
<string>&Case Sensitive</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+C</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QCheckBox" name="checkBox_regExp" > |
||||
<property name="text" > |
||||
<string>Regular E&xpression</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+X</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QCheckBox" name="checkBox_Recursive" > |
||||
<property name="text" > |
||||
<string>Include Subgroups (recursive)</string> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item row="0" column="1" > |
||||
<widget class="QLineEdit" name="Edit_Search" /> |
||||
</item> |
||||
<item row="0" column="0" > |
||||
<widget class="QLabel" name="textLabel1" > |
||||
<property name="text" > |
||||
<string>Search For:</string> |
||||
</property> |
||||
</widget> |
||||
</widget> |
||||
<widget class="QPushButton" name="Button_Search" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>170</x> |
||||
<y>230</y> |
||||
<width>97</width> |
||||
<height>23</height> |
||||
</rect> |
||||
</property> |
||||
<property name="sizePolicy" > |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Vertical</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>20</width> |
||||
<height>40</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<layout class="QHBoxLayout" > |
||||
<property name="margin" > |
||||
<number>0</number> |
||||
</property> |
||||
<property name="spacing" > |
||||
<number>6</number> |
||||
</property> |
||||
<item> |
||||
<spacer> |
||||
<property name="orientation" > |
||||
<enum>Qt::Horizontal</enum> |
||||
</property> |
||||
<property name="sizeHint" > |
||||
<size> |
||||
<width>40</width> |
||||
<height>20</height> |
||||
</size> |
||||
</property> |
||||
</spacer> |
||||
</item> |
||||
<item> |
||||
<widget class="QPushButton" name="Button_Search" > |
||||
<property name="sizePolicy" > |
||||
<sizepolicy> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
<hsizetype>0</hsizetype> |
||||
<vsizetype>0</vsizetype> |
||||
<horstretch>0</horstretch> |
||||
<verstretch>0</verstretch> |
||||
</sizepolicy> |
||||
</property> |
||||
<property name="text" > |
||||
</property> |
||||
<property name="text" > |
||||
<string>Search</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QPushButton" name="Button_Close" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>280</x> |
||||
<y>230</y> |
||||
<width>97</width> |
||||
<height>23</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
<item> |
||||
<widget class="QPushButton" name="Button_Close" > |
||||
<property name="text" > |
||||
<string>Clo&se</string> |
||||
</property> |
||||
<property name="shortcut" > |
||||
</property> |
||||
<property name="shortcut" > |
||||
<string>Alt+S</string> |
||||
</property> |
||||
</widget> |
||||
<widget class="QCheckBox" name="checkBox_Recursive" > |
||||
<property name="geometry" > |
||||
<rect> |
||||
<x>110</x> |
||||
<y>130</y> |
||||
<width>271</width> |
||||
<height>22</height> |
||||
</rect> |
||||
</property> |
||||
<property name="text" > |
||||
<string>Include Subgroups (recursive)</string> |
||||
</property> |
||||
</widget> |
||||
</widget> |
||||
<layoutdefault spacing="6" margin="11" /> |
||||
<pixmapfunction/> |
||||
<tabstops> |
||||
<tabstop>Edit_Search</tabstop> |
||||
<tabstop>checkBox_Cs</tabstop> |
||||
<tabstop>checkBox_regExp</tabstop> |
||||
<tabstop>checkBox_Title</tabstop> |
||||
<tabstop>checkBox_Username</tabstop> |
||||
<tabstop>checkBox_Password</tabstop> |
||||
<tabstop>checkBox_Comment</tabstop> |
||||
<tabstop>checkBox_URL</tabstop> |
||||
<tabstop>checkBox_Attachment</tabstop> |
||||
<tabstop>Button_Search</tabstop> |
||||
<tabstop>Button_Close</tabstop> |
||||
</tabstops> |
||||
<resources/> |
||||
<connections/> |
||||
</property> |
||||
</widget> |
||||
</item> |
||||
</layout> |
||||
</item> |
||||
</layout> |
||||
</widget> |
||||
<layoutdefault spacing="6" margin="11" /> |
||||
<tabstops> |
||||
<tabstop>Edit_Search</tabstop> |
||||
<tabstop>checkBox_Cs</tabstop> |
||||
<tabstop>checkBox_regExp</tabstop> |
||||
<tabstop>checkBox_Title</tabstop> |
||||
<tabstop>checkBox_Username</tabstop> |
||||
<tabstop>checkBox_Password</tabstop> |
||||
<tabstop>checkBox_Comment</tabstop> |
||||
<tabstop>checkBox_URL</tabstop> |
||||
<tabstop>checkBox_Attachment</tabstop> |
||||
<tabstop>Button_Search</tabstop> |
||||
<tabstop>Button_Close</tabstop> |
||||
</tabstops> |
||||
<resources/> |
||||
<connections/> |
||||
</ui> |
||||
|