Skip to content
This repository has been archived by the owner on Nov 10, 2019. It is now read-only.

Commit

Permalink
Small fix to the continue button in the tutorial.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Nunes committed Jul 10, 2016
1 parent 848fc78 commit 8662d7c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
10 changes: 5 additions & 5 deletions designer/ui_templates/tutorial_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ def setupUi(self, Dialog):
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
Dialog.setSizePolicy(sizePolicy)
self.button_exit = QtWidgets.QPushButton(Dialog)
self.button_exit.setGeometry(QtCore.QRect(270, 640, 581, 21))
self.button_exit.setObjectName("button_exit")
self.frame_node = QtWidgets.QFrame(Dialog)
self.frame_node.setGeometry(QtCore.QRect(20, 210, 241, 121))
self.frame_node.setFrameShape(QtWidgets.QFrame.NoFrame)
Expand All @@ -33,7 +30,7 @@ def setupUi(self, Dialog):
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.frame_preview = QtWidgets.QFrame(Dialog)
self.frame_preview.setGeometry(QtCore.QRect(270, 230, 551, 111))
self.frame_preview.setGeometry(QtCore.QRect(270, 230, 551, 251))
self.frame_preview.setFrameShape(QtWidgets.QFrame.NoFrame)
self.frame_preview.setFrameShadow(QtWidgets.QFrame.Sunken)
self.frame_preview.setObjectName("frame_preview")
Expand All @@ -45,6 +42,9 @@ def setupUi(self, Dialog):
self.label_2.setWordWrap(True)
self.label_2.setObjectName("label_2")
self.verticalLayout_2.addWidget(self.label_2)
self.button_exit = QtWidgets.QPushButton(self.frame_preview)
self.button_exit.setObjectName("button_exit")
self.verticalLayout_2.addWidget(self.button_exit)
self.frame_prop = QtWidgets.QFrame(Dialog)
self.frame_prop.setGeometry(QtCore.QRect(850, 10, 241, 271))
self.frame_prop.setFrameShape(QtWidgets.QFrame.NoFrame)
Expand Down Expand Up @@ -76,9 +76,9 @@ def setupUi(self, Dialog):
def retranslateUi(self, Dialog):
_translate = QtCore.QCoreApplication.translate
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
self.button_exit.setText(_translate("Dialog", "Continue"))
self.label.setText(_translate("Dialog", "<html><head/><body><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">This is the Node Tree.</span></p><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">Here you\'ll find the nodes that make up your installer.</span></p><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">You can navigate the tree with the little arrows on the left side of each node.</span></p></body></html>"))
self.label_2.setText(_translate("Dialog", "<html><head/><body><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">These are the Preview Tabs.</span></p><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">Here you can preview what your installer looks like and what the XML code will be once you save.</span></p></body></html>"))
self.button_exit.setText(_translate("Dialog", "Continue"))
self.label_3.setText(_translate("Dialog", "<html><head/><body><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">This is the Property Editor.</span></p><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">Here you can edit the individual properties each node has.</span></p></body></html>"))
self.label_4.setText(_translate("Dialog", "<html><head/><body><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">This is the Children Box.</span></p><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">Here you can view which children nodes are available to the currently selected node and add them if possible.</span></p><p align=\"center\"><span style=\" font-size:14pt; color:#0c10da;\">You can only have one of some children while others are available infinitely.</span></p></body></html>"))

22 changes: 8 additions & 14 deletions resources/templates/tutorial_advanced.ui
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,6 @@
<property name="windowTitle">
<string>Dialog</string>
</property>
<widget class="QPushButton" name="button_exit">
<property name="geometry">
<rect>
<x>270</x>
<y>640</y>
<width>581</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Continue</string>
</property>
</widget>
<widget class="QFrame" name="frame_node">
<property name="geometry">
<rect>
Expand Down Expand Up @@ -69,7 +56,7 @@
<x>270</x>
<y>230</y>
<width>551</width>
<height>111</height>
<height>251</height>
</rect>
</property>
<property name="frameShape">
Expand All @@ -95,6 +82,13 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="button_exit">
<property name="text">
<string>Continue</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QFrame" name="frame_prop">
Expand Down

0 comments on commit 8662d7c

Please sign in to comment.