forked from openlp/openlp
Sort out text display on dialog
This commit is contained in:
parent
1a8ad648ad
commit
6c3fd8b096
@ -53,6 +53,8 @@ class PluginForm(QtGui.QDialog):
|
|||||||
self.PluginInfoGroupBox.setObjectName("PluginInfoGroupBox")
|
self.PluginInfoGroupBox.setObjectName("PluginInfoGroupBox")
|
||||||
self.AboutTextLabel = QtGui.QLabel(self.PluginInfoGroupBox)
|
self.AboutTextLabel = QtGui.QLabel(self.PluginInfoGroupBox)
|
||||||
self.AboutTextLabel.setGeometry(QtCore.QRect(10, 30, 351, 191))
|
self.AboutTextLabel.setGeometry(QtCore.QRect(10, 30, 351, 191))
|
||||||
|
self.AboutTextLabel.setAlignment(QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
||||||
|
self.AboutTextLabel.setWordWrap(True)
|
||||||
self.AboutTextLabel.setObjectName("AboutTextLabel")
|
self.AboutTextLabel.setObjectName("AboutTextLabel")
|
||||||
|
|
||||||
|
|
||||||
@ -106,9 +108,5 @@ class PluginForm(QtGui.QDialog):
|
|||||||
row = self.PluginViewList.row(item)
|
row = self.PluginViewList.row(item)
|
||||||
text = self.parent.plugin_manager.plugins[row].about()
|
text = self.parent.plugin_manager.plugins[row].about()
|
||||||
if text is not None:
|
if text is not None:
|
||||||
ret = QtGui.QMessageBox.information(self,
|
self.AboutTextLabel.setText(translate(u'PluginList', text))
|
||||||
translate(u'PluginList', u'Plugin Information'),
|
|
||||||
translate(u'PluginList', text),
|
|
||||||
QtGui.QMessageBox.StandardButtons(
|
|
||||||
QtGui.QMessageBox.Ok),
|
|
||||||
QtGui.QMessageBox.Ok)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user