From a118ecae0a38df32f5b486d8aab785d59ed99eb5 Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Sun, 14 Jun 2009 21:57:32 +0200 Subject: [PATCH] =?UTF-8?q?Modificato=20pulsante=20da=20"Esporta=20canzone?= =?UTF-8?q?=20in=20LaTeX"=20a=20"Esporta=20canzoniere=20in=20PDF".=20Proba?= =?UTF-8?q?bilmente=20=C3=A8=20pi=C3=B9=20utile=20nella=20finestra=20princ?= =?UTF-8?q?ipale?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- songbook-editor.py | 2 +- ui/interface.py | 10 +++++----- ui/interface.ui | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/songbook-editor.py b/songbook-editor.py index 0cdf556..c5bde4e 100755 --- a/songbook-editor.py +++ b/songbook-editor.py @@ -29,7 +29,7 @@ class interface(QtGui.QMainWindow): self.sep_song = "***" # Song edit part - self.connect(self.ui.btn_create_latex_song, QtCore.SIGNAL("clicked()"), self.create_latex_song) + self.connect(self.ui.btn_create_pdf, QtCore.SIGNAL("clicked()"), self.export_to_PDF) self.connect(self.ui.btn_savesong, QtCore.SIGNAL("clicked()"), self.savesong) # About the list diff --git a/ui/interface.py b/ui/interface.py index 0d4d532..b262b01 100644 --- a/ui/interface.py +++ b/ui/interface.py @@ -2,7 +2,7 @@ # Form implementation generated from reading ui file 'interface.ui' # -# Created: Sun Jun 14 20:05:39 2009 +# Created: Sun Jun 14 21:55:56 2009 # by: PyQt4 UI code generator 4.4.4 # # WARNING! All changes made in this file will be lost! @@ -83,9 +83,9 @@ class Ui_MainWindow(object): self.btn_savesong = QtGui.QPushButton(self.gridLayoutWidget) self.btn_savesong.setObjectName("btn_savesong") self.horizontalLayout_2.addWidget(self.btn_savesong) - self.btn_create_latex_song = QtGui.QPushButton(self.gridLayoutWidget) - self.btn_create_latex_song.setObjectName("btn_create_latex_song") - self.horizontalLayout_2.addWidget(self.btn_create_latex_song) + self.btn_create_pdf = QtGui.QPushButton(self.gridLayoutWidget) + self.btn_create_pdf.setObjectName("btn_create_pdf") + self.horizontalLayout_2.addWidget(self.btn_create_pdf) self.gridLayout.addLayout(self.horizontalLayout_2, 2, 1, 2, 1) self.label_6 = QtGui.QLabel(self.gridLayoutWidget) self.label_6.setTextFormat(QtCore.Qt.RichText) @@ -157,7 +157,7 @@ class Ui_MainWindow(object): self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Anno", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("MainWindow", "Tonalità", None, QtGui.QApplication.UnicodeUTF8)) self.btn_savesong.setText(QtGui.QApplication.translate("MainWindow", "Aggiungi al canzoniere", None, QtGui.QApplication.UnicodeUTF8)) - self.btn_create_latex_song.setText(QtGui.QApplication.translate("MainWindow", "Esporta canzone in LaTeX", None, QtGui.QApplication.UnicodeUTF8)) + self.btn_create_pdf.setText(QtGui.QApplication.translate("MainWindow", "Esporta canzoniere in PDF", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("MainWindow", "\n" "