summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cprquerydialog.cc10
-rw-r--r--src/cprquerydialog.h17
2 files changed, 25 insertions, 2 deletions
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 <config.h>
#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 <qdialog.h>
#include <qpushbutton.h>
#include <qlayout.h>
@@ -56,6 +70,7 @@
#include <qpushbutton.h>
#include <qdialog.h>
#include <qlabel.h>
+#include <qpixmap.h>
#include <qsocket.h>
#include <qtextedit.h>