forked from openlp/openlp
More Plugin list work
This commit is contained in:
parent
c64584f888
commit
9741d0e10a
@ -23,9 +23,9 @@ class PluginForm(QtGui.QDialog):
|
|||||||
|
|
||||||
def setupUi(self, PluginForm):
|
def setupUi(self, PluginForm):
|
||||||
PluginForm.setObjectName(u'PluginForm')
|
PluginForm.setObjectName(u'PluginForm')
|
||||||
PluginForm.resize(400, 393)
|
PluginForm.resize(400, 568)
|
||||||
self.PluginViewList = QtGui.QTableWidget(PluginForm)
|
self.PluginViewList = QtGui.QTableWidget(PluginForm)
|
||||||
self.PluginViewList.setGeometry(QtCore.QRect(20, 10, 371, 331))
|
self.PluginViewList.setGeometry(QtCore.QRect(20, 10, 371, 261))
|
||||||
self.PluginViewList.setObjectName(u'PluginViewList')
|
self.PluginViewList.setObjectName(u'PluginViewList')
|
||||||
self.PluginViewList.setShowGrid(False)
|
self.PluginViewList.setShowGrid(False)
|
||||||
self.PluginViewList.setGridStyle(QtCore.Qt.SolidLine)
|
self.PluginViewList.setGridStyle(QtCore.Qt.SolidLine)
|
||||||
@ -38,11 +38,21 @@ class PluginForm(QtGui.QDialog):
|
|||||||
item = QtGui.QTableWidgetItem()
|
item = QtGui.QTableWidgetItem()
|
||||||
self.PluginViewList.setHorizontalHeaderItem(2, item)
|
self.PluginViewList.setHorizontalHeaderItem(2, item)
|
||||||
self.PluginViewList.horizontalHeader().setVisible(True)
|
self.PluginViewList.horizontalHeader().setVisible(True)
|
||||||
|
self.PluginViewList.horizontalHeader().setStretchLastSection(True)
|
||||||
self.PluginViewList.verticalHeader().setVisible(False)
|
self.PluginViewList.verticalHeader().setVisible(False)
|
||||||
self.ButtonBox = QtGui.QDialogButtonBox(PluginForm)
|
self.ButtonBox = QtGui.QDialogButtonBox(PluginForm)
|
||||||
self.ButtonBox.setGeometry(QtCore.QRect(220, 350, 170, 25))
|
self.ButtonBox.setGeometry(QtCore.QRect(220, 530, 170, 25))
|
||||||
self.ButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
|
self.ButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
|
||||||
self.ButtonBox.setObjectName(u'ButtonBox')
|
self.ButtonBox.setObjectName(u'ButtonBox')
|
||||||
|
self.PluginInfoGroupBox = QtGui.QGroupBox(PluginForm)
|
||||||
|
self.PluginInfoGroupBox.setGeometry(QtCore.QRect(20, 270, 371, 241))
|
||||||
|
self.PluginInfoGroupBox.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
||||||
|
self.PluginInfoGroupBox.setFlat(False)
|
||||||
|
self.PluginInfoGroupBox.setObjectName("PluginInfoGroupBox")
|
||||||
|
self.AboutTextLabel = QtGui.QLabel(self.PluginInfoGroupBox)
|
||||||
|
self.AboutTextLabel.setGeometry(QtCore.QRect(10, 30, 351, 191))
|
||||||
|
self.AboutTextLabel.setObjectName("AboutTextLabel")
|
||||||
|
|
||||||
|
|
||||||
self.retranslateUi(PluginForm)
|
self.retranslateUi(PluginForm)
|
||||||
QtCore.QObject.connect(self.ButtonBox,
|
QtCore.QObject.connect(self.ButtonBox,
|
||||||
@ -53,6 +63,7 @@ class PluginForm(QtGui.QDialog):
|
|||||||
|
|
||||||
def retranslateUi(self, PluginForm):
|
def retranslateUi(self, PluginForm):
|
||||||
PluginForm.setWindowTitle(translate(u'PluginForm', u'Plugin list'))
|
PluginForm.setWindowTitle(translate(u'PluginForm', u'Plugin list'))
|
||||||
|
self.PluginInfoGroupBox.setTitle(translate("PluginForm", "Selected Plugin Information"))
|
||||||
self.PluginViewList.horizontalHeaderItem(0).setText(
|
self.PluginViewList.horizontalHeaderItem(0).setText(
|
||||||
translate(u'PluginForm', u'Name'))
|
translate(u'PluginForm', u'Name'))
|
||||||
self.PluginViewList.horizontalHeaderItem(1).setText(
|
self.PluginViewList.horizontalHeaderItem(1).setText(
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>400</width>
|
<width>400</width>
|
||||||
<height>393</height>
|
<height>568</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
@ -19,7 +19,7 @@
|
|||||||
<x>20</x>
|
<x>20</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>371</width>
|
<width>371</width>
|
||||||
<height>331</height>
|
<height>261</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="showGrid">
|
<property name="showGrid">
|
||||||
@ -34,12 +34,24 @@
|
|||||||
<attribute name="horizontalHeaderVisible">
|
<attribute name="horizontalHeaderVisible">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<attribute name="horizontalHeaderCascadingSectionResizes">
|
||||||
|
<bool>false</bool>
|
||||||
|
</attribute>
|
||||||
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<attribute name="horizontalHeaderStretchLastSection">
|
||||||
|
<bool>true</bool>
|
||||||
|
</attribute>
|
||||||
<attribute name="verticalHeaderVisible">
|
<attribute name="verticalHeaderVisible">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</attribute>
|
</attribute>
|
||||||
|
<attribute name="horizontalHeaderStretchLastSection">
|
||||||
|
<bool>true</bool>
|
||||||
|
</attribute>
|
||||||
|
<attribute name="horizontalHeaderCascadingSectionResizes">
|
||||||
|
<bool>false</bool>
|
||||||
|
</attribute>
|
||||||
<row/>
|
<row/>
|
||||||
<column>
|
<column>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -76,7 +88,7 @@
|
|||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>220</x>
|
<x>220</x>
|
||||||
<y>350</y>
|
<y>530</y>
|
||||||
<width>170</width>
|
<width>170</width>
|
||||||
<height>25</height>
|
<height>25</height>
|
||||||
</rect>
|
</rect>
|
||||||
@ -85,6 +97,38 @@
|
|||||||
<set>QDialogButtonBox::Ok</set>
|
<set>QDialogButtonBox::Ok</set>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QGroupBox" name="PluginInfoGroupBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>20</x>
|
||||||
|
<y>270</y>
|
||||||
|
<width>371</width>
|
||||||
|
<height>241</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="title">
|
||||||
|
<string>GroupBox</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<widget class="QLabel" name="AboutTextLabel">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>10</x>
|
||||||
|
<y>30</y>
|
||||||
|
<width>351</width>
|
||||||
|
<height>191</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>TextLabel</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
<connections>
|
<connections>
|
||||||
|
Loading…
Reference in New Issue
Block a user