You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugindevtools/PluginDevTools/PluginDevToolsWidget.py
+15-11Lines changed: 15 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -31,12 +31,20 @@ def __init__(self):
31
31
ifsettingsData.startswith('{'):
32
32
self.settings=json.loads(settingsData)
33
33
34
-
34
+
self.tips= [
35
+
"Inspector: Right click the splitter if you want it to display vertically instead of horizontally",
36
+
"Inspector: Use the Event and Signal Viewer/Debugger to latch onto signals and events, be aware some events are only visible at QApplication level so if you see events missing, change widget.installEventFilter to QApplication.installEventFilter under Events",
37
+
"Inspector: Some fields like QString, bools, int, QSize and other can be modified in realtime by double clicking the value field as long as the field has a corresponding 'set', such as 'height' can be changed because 'setHeight' exists",
38
+
"Console: Use your favorite text editor as your Scripter using the buttons on the top right",
39
+
"To easily create a plugin with a template, go to Tools->Scripts->PluginDevTools"
self.centralWidget.welcomeLabel.setText("Welcome to Plugin Developer Tools!\n\nRandom Tip:\n\n"+random.choice(self.tips) )
55
64
56
65
57
66
defwindowCreatedSetup(self):
@@ -91,15 +100,10 @@ class PluginDevToolsWelcome():
91
100
def__init__(self, caller):
92
101
super().__init__()
93
102
self.caller=caller
94
-
self.tips= [
95
-
"Inspector: Right click the splitter if you want it to display vertically instead of horizontally",
96
-
"Inspector: Use the Event and Signal Viewer/Debugger to latch onto signals and events, be aware some events are only visible at QApplication level so if you see events missing, change widget.installEventFilter to QApplication.installEventFilter under Events",
97
-
"Inspector: Some fields like QString, bools, int, QSize and other can be modified in realtime by double clicking the value field as long as the field has a corresponding 'set', such as 'height' can be changed because 'setHeight' exists",
98
-
"Console: Use your favorite text editor as your Scripter using the buttons on the top right"
99
-
]
103
+
100
104
101
105
defselected(self):
102
-
self.caller.centralWidget.welcomeLabel.setText("Welcome to Plugin Developer Tools!\n\nRandom Tip:\n\n"+random.choice(self.tips) )
0 commit comments