Fix bug in forms compile code

This commit is contained in:
Kovid Goyal 2007-11-13 18:30:36 +00:00
parent 8f7335ff56
commit d6a03e5bf1
6 changed files with 17 additions and 35 deletions

View File

@ -1,21 +0,0 @@
## Copyright (C) 2007 Kovid Goyal kovid@kovidgoyal.net
## 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.,
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
from PyQt4.QtGui import QStackedWidget
from libprs500.gui2 import TableView, qstring_to_unicode
class JobsView(TableView):
pass

View File

@ -18,7 +18,7 @@ Miscellanous widgets used in the GUI
from PyQt4.QtGui import QListView, QIcon, QFont, QLabel
from PyQt4.QtCore import QAbstractListModel, QVariant, Qt, QSize, SIGNAL, QObject
from libprs500.gui2 import human_readable, NONE
from libprs500.gui2 import human_readable, NONE, TableView
from libprs500 import fit_image
class ImageView(QLabel):
@ -96,4 +96,7 @@ class LocationView(QListView):
if 0 <= row and row <= 2:
self.model().location_changed(row)
class JobsView(TableView):
pass

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libprs500 0.4.17\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-11-13 08:58+PST\n"
"POT-Creation-Date: 2007-11-13 10:21+PST\n"
"PO-Revision-Date: 2007-11-13 14:36+0100\n"
"Last-Translator: Raül Utrera <>\n"
"Language-Team: Catalan <ca@dodds.net>\n"
@ -993,17 +993,17 @@ msgstr "Visualitza"
msgid "Jobs:"
msgstr "Treballs:"
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:36
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:41
msgid "Library"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:37
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:42
msgid ""
"Reader\n"
"%s available"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:38
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:43
msgid ""
"Card\n"
"%s available"

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: libprs500 0.4.17\n"
"POT-Creation-Date: 2007-11-13 08:52+PST\n"
"POT-Creation-Date: 2007-11-13 10:21+PST\n"
"PO-Revision-Date: 2007-11-11 18:12+0100\n"
"Last-Translator: S. Dorscht <stdoonline@googlemail.com>\n"
"Language-Team: de\n"
@ -1004,17 +1004,17 @@ msgstr "Vorschau"
msgid "Jobs:"
msgstr "Aufträge:"
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:36
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:41
msgid "Library"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:37
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:42
msgid ""
"Reader\n"
"%s available"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:38
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:43
msgid ""
"Card\n"
"%s available"

View File

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: libprs500 0.4.17\n"
"POT-Creation-Date: 2007-11-13 08:52+PST\n"
"POT-Creation-Date: 2007-11-13 10:21+PST\n"
"PO-Revision-Date: 2007-11-08 14:39+PST\n"
"Last-Translator: Automatically generated\n"
"Language-Team: sl\n"
@ -904,17 +904,17 @@ msgstr ""
msgid "Jobs:"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:36
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:41
msgid "Library"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:37
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:42
msgid ""
"Reader\n"
"%s available"
msgstr ""
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:38
#: /home/kovid/work/libprs500/src/libprs500/gui2/widgets.py:43
msgid ""
"Card\n"
"%s available"