pinpad: Scaled the images and removed the horizontal padding of the card info stuff
CHAT dialoges: Added an info image to every access right column. This will be used to provide help to the user. git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@225 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
@@ -3,7 +3,8 @@ pixmaps_DATA = \
|
|||||||
OpenPACElogo.png \
|
OpenPACElogo.png \
|
||||||
apply.png \
|
apply.png \
|
||||||
error.png \
|
error.png \
|
||||||
wait.gif
|
wait.gif \
|
||||||
|
info.png
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
$(pixmaps_DATA)
|
$(pixmaps_DATA)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.0 KiB |
BIN
pace-gui/images/info.png
Normal file
BIN
pace-gui/images/info.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
@@ -258,6 +258,10 @@ class customCheckButton(object):
|
|||||||
self.lbl.set_padding(20, 0)
|
self.lbl.set_padding(20, 0)
|
||||||
self.lbl.modify_font(pango.FontDescription("bold"))
|
self.lbl.modify_font(pango.FontDescription("bold"))
|
||||||
|
|
||||||
|
#an image at the left side of the label
|
||||||
|
self.img = gtk.Image()
|
||||||
|
self.img.set_from_file(image_dir + "/info.png")
|
||||||
|
|
||||||
#...and a checkbox on the right side of the label
|
#...and a checkbox on the right side of the label
|
||||||
self.idx = index
|
self.idx = index
|
||||||
self.chk = gtk.CheckButton("")
|
self.chk = gtk.CheckButton("")
|
||||||
@@ -266,6 +270,7 @@ class customCheckButton(object):
|
|||||||
|
|
||||||
#Insert the label and the checkbox in the vbox and add a seperator
|
#Insert the label and the checkbox in the vbox and add a seperator
|
||||||
hbox = gtk.HBox()
|
hbox = gtk.HBox()
|
||||||
|
hbox.pack_start(self.img, False, False)
|
||||||
hbox.pack_start(self.lbl, True, True)
|
hbox.pack_start(self.lbl, True, True)
|
||||||
hbox.pack_start(self.chk, False, False)
|
hbox.pack_start(self.chk, False, False)
|
||||||
vbox.pack_start(gtk.HSeparator())
|
vbox.pack_start(gtk.HSeparator())
|
||||||
|
|||||||
@@ -65,12 +65,10 @@
|
|||||||
<child>
|
<child>
|
||||||
<object class="GtkHBox" id="hbox1">
|
<object class="GtkHBox" id="hbox1">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="spacing">5</property>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="lbl_cardStatus">
|
<object class="GtkLabel" id="lbl_cardStatus">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="xalign">0.89999997615814209</property>
|
<property name="xalign">0.89999997615814209</property>
|
||||||
<property name="ypad">5</property>
|
|
||||||
<property name="label" translatable="yes"><span fgcolor="red" font="12">Ausweis</span></property>
|
<property name="label" translatable="yes"><span fgcolor="red" font="12">Ausweis</span></property>
|
||||||
<property name="use_markup">True</property>
|
<property name="use_markup">True</property>
|
||||||
</object>
|
</object>
|
||||||
@@ -82,7 +80,6 @@
|
|||||||
<object class="GtkImage" id="img_cardStatus">
|
<object class="GtkImage" id="img_cardStatus">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="xalign">0.10000000149011612</property>
|
<property name="xalign">0.10000000149011612</property>
|
||||||
<property name="ypad">5</property>
|
|
||||||
<property name="pixbuf">error.png</property>
|
<property name="pixbuf">error.png</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
|
|||||||
Reference in New Issue
Block a user