Skip to content

Commit 28e898d

Browse files
committed
qtdragon_hd -add a button to save a camview image
1 parent b78bba7 commit 28e898d

1 file changed

Lines changed: 30 additions & 2 deletions

File tree

share/qtvcp/screens/qtdragon_hd/qtdragon_hd.ui

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,7 +964,7 @@
964964
<enum>QFrame::Raised</enum>
965965
</property>
966966
<property name="currentIndex">
967-
<number>0</number>
967+
<number>5</number>
968968
</property>
969969
<widget class="QWidget" name="main_tab_widgetPage1">
970970
<layout class="QHBoxLayout" name="horizontalLayout_3">
@@ -3827,6 +3827,34 @@ TO FILE</string>
38273827
</property>
38283828
</widget>
38293829
</item>
3830+
<item>
3831+
<widget class="ActionButton" name="actionbutton">
3832+
<property name="minimumSize">
3833+
<size>
3834+
<width>0</width>
3835+
<height>42</height>
3836+
</size>
3837+
</property>
3838+
<property name="toolTip">
3839+
<string extracomment="save Image to user/linuxcnc/nc_files/camImage.png">save Image to user/linuxcnc/nc_files/camImage.png</string>
3840+
</property>
3841+
<property name="text">
3842+
<string>Save</string>
3843+
</property>
3844+
<property name="python_command_option" stdset="0">
3845+
<bool>true</bool>
3846+
</property>
3847+
<property name="true_python_cmd_string" stdset="0">
3848+
<string>INSTANCE.camview.saveImage()</string>
3849+
</property>
3850+
<property name="false_python_cmd_string" stdset="0">
3851+
<string/>
3852+
</property>
3853+
<property name="command_text_string" stdset="0">
3854+
<string/>
3855+
</property>
3856+
</widget>
3857+
</item>
38303858
</layout>
38313859
</widget>
38323860
</item>
@@ -14286,7 +14314,7 @@ ANGULAR</string>
1428614314
<number>2</number>
1428714315
</property>
1428814316
<property name="text">
14289-
<string>09:01:22 PM</string>
14317+
<string>09:39:49 PM</string>
1429014318
</property>
1429114319
<property name="alignment">
1429214320
<set>Qt::AlignCenter</set>

0 commit comments

Comments
 (0)