From 439ccd94dabc69d67142b70f5335b34aef301388 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 2 May 2005 20:03:24 +0000 Subject: Added backspace arrow to cprquery dialog. (Replaced old ascii '<-') --- src/cprquerydialog.cc | 10 +++++++++- src/cprquerydialog.h | 17 ++++++++++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cprquerydialog.cc b/src/cprquerydialog.cc index 23c1723..f72f4ee 100644 --- a/src/cprquerydialog.cc +++ b/src/cprquerydialog.cc @@ -27,6 +27,9 @@ */ /* * $Log$ + * Revision 1.9 2005/05/02 20:03:24 deva + * Added backspace arrow to cprquery dialog. (Replaced old ascii '<-') + * * Revision 1.8 2005/05/01 09:56:26 deva * Added Id and Log tags to all files * @@ -49,6 +52,10 @@ CPRQueryDialog::CPRQueryDialog(QLabel *lcpr, { setCaption(name); + // Load image + QPixmap pix_backspace; + pix_backspace.load( PIXMAP_BACKSPACE ); + lbl_name = lname; lbl_cpr = lcpr; statusbar = status; @@ -85,7 +92,8 @@ CPRQueryDialog::CPRQueryDialog(QLabel *lcpr, QButton *b8 = createButton(this, "8", 8); QButton *b9 = createButton(this, "9", 9); QButton *b0 = createButton(this, "0", 0); - QButton *bbs = createButton(this, "<-", 10); + QButton *bbs = createButton(this, "", 10); + bbs->setPixmap(pix_backspace); QButton *bca = createButton(this, "CA", 11); gl->addWidget(b1, 0,0); diff --git a/src/cprquerydialog.h b/src/cprquerydialog.h index d7dd597..5b46c75 100644 --- a/src/cprquerydialog.h +++ b/src/cprquerydialog.h @@ -27,6 +27,9 @@ */ /* * $Log$ + * Revision 1.7 2005/05/02 20:03:24 deva + * Added backspace arrow to cprquery dialog. (Replaced old ascii '<-') + * * Revision 1.6 2005/05/01 09:56:26 deva * Added Id and Log tags to all files * @@ -37,7 +40,9 @@ #include #ifdef USE_GUI -// Text +/** + * Text + */ #define NAME_NOT_AVAILABLE_TITLE "Databasefejl" #define NAME_NOT_AVAILABLE "Kunne ikke slå navn op i cpr-database." @@ -45,6 +50,15 @@ #define CONFIRM_INVALID_CPR "Ugyldigt CPR nummer, brug det alligevel?" +/** + * Images + */ +#define PIXMAP_BACKSPACE PIXMAPS"/backspace.png" + + +/** + * Includes + */ #include #include #include @@ -56,6 +70,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3