File tree Expand file tree Collapse file tree 3 files changed +85
-0
lines changed
Expand file tree Collapse file tree 3 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <ui version =" 4.0" >
3+ <class >Dialog</class >
4+ <widget class =" QDialog" name =" Dialog" >
5+ <property name =" geometry" >
6+ <rect >
7+ <x >0</x >
8+ <y >0</y >
9+ <width >448</width >
10+ <height >248</height >
11+ </rect >
12+ </property >
13+ <property name =" windowTitle" >
14+ <string >Dialog</string >
15+ </property >
16+ <layout class =" QVBoxLayout" name =" verticalLayout_2" >
17+ <item >
18+ <layout class =" QVBoxLayout" name =" verticalLayout" >
19+ <item >
20+ <widget class =" QLabel" name =" label" >
21+ <property name =" text" >
22+ <string >< html>< head/>< body>< p align=" center">< span style=" font-weight:600;"> ProbeBasic< /span>< br/> https://kcjengr.github.io/probe_basic/< /p>< /body>< /html> </string >
23+ </property >
24+ </widget >
25+ </item >
26+ </layout >
27+ </item >
28+ <item >
29+ <widget class =" QDialogButtonBox" name =" buttonBox" >
30+ <property name =" orientation" >
31+ <enum >Qt::Horizontal</enum >
32+ </property >
33+ <property name =" standardButtons" >
34+ <set >QDialogButtonBox::Ok</set >
35+ </property >
36+ </widget >
37+ </item >
38+ </layout >
39+ </widget >
40+ <resources />
41+ <connections >
42+ <connection >
43+ <sender >buttonBox</sender >
44+ <signal >accepted()</signal >
45+ <receiver >Dialog</receiver >
46+ <slot >accept()</slot >
47+ <hints >
48+ <hint type =" sourcelabel" >
49+ <x >248</x >
50+ <y >254</y >
51+ </hint >
52+ <hint type =" destinationlabel" >
53+ <x >157</x >
54+ <y >274</y >
55+ </hint >
56+ </hints >
57+ </connection >
58+ <connection >
59+ <sender >buttonBox</sender >
60+ <signal >rejected()</signal >
61+ <receiver >Dialog</receiver >
62+ <slot >reject()</slot >
63+ <hints >
64+ <hint type =" sourcelabel" >
65+ <x >316</x >
66+ <y >260</y >
67+ </hint >
68+ <hint type =" destinationlabel" >
69+ <x >286</x >
70+ <y >274</y >
71+ </hint >
72+ </hints >
73+ </connection >
74+ </connections >
75+ </ui >
Original file line number Diff line number Diff line change @@ -111,6 +111,10 @@ menubar:
111111 - title : About
112112 items :
113113 - title : About Probe Basic
114+ action : win.showDialog
115+ args : [about_probebasic]
114116 - title : About QtPyVCP
117+ action : win.showDialog
118+ args : [about_qtpyvcp]
115119 - title : About Qt
116120 action : app.aboutQt
Original file line number Diff line number Diff line change @@ -126,3 +126,9 @@ settings:
126126 persistent : true
127127 min_value : -1000
128128 max_value : 1000
129+
130+ dialogs :
131+ about_probebasic :
132+ provider : qtpyvcp.widgets.dialogs.about_dialog:AboutDialog
133+ kwargs :
134+ ui_file : {{ file.dir }}/about.ui
You can’t perform that action at this time.
0 commit comments