qt opencv c++图像相片查看编辑器工具
如需安装运行环境或远程调试,可加QQ905733049, 或QQ2945218359由专业技术人员远程协助!
运行结果如下:
窗体代码如下:
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>QtGuiWenClass</class>
<widget class="QMainWindow" name="QtGuiWenClass">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>412</width>
<height>355</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="mouseTracking">
<bool>false</bool>
</property>
<property name="windowTitle">
<string>QtGuiWen</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="1">
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Sunken</enum>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="1" column="0">
<widget class="QPushButton" name="pushButton_2">
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>左右翻转</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QPushButton" name="pushButton_5">
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>连续旋转</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="pushButton">
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>打开文件</string>
</property>
<property name="autoDefault">
<bool>false</bool>
</property>
<property name="default">
<bool>false</bool>
</property>
<property name="flat">
<bool>false</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QPushButton" name="pushButton_4">
<property name="font">
<font>
<family>微软雅黑</family>
<pointsize>12</pointsize>
</font>
</property>
<property name="text">
<string>90度旋转</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QPushButton" name="pushButton_6">
<property name="font">
<font>
<y>134</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_3</sender>
<signal>clicked()</signal>
<receiver>QtGuiWenClass</receiver>
<slot>on_Progress_clicked2()</slot>
<hints>
<hint type="sourcelabel">
<x>373</x>
<y>108</y>
</hint>
<hint type="destinationlabel">
<x>73</x>
<y>176</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_4</sender>
<signal>clicked()</signal>
<receiver>QtGuiWenClass</receiver>
<slot>on_Progress_clicked3()</slot>
<hints>
<hint type="sourcelabel">
<x>362</x>
<y>144</y>
</hint>
<hint type="destinationlabel">
<x>75</x>
<y>215</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_5</sender>
<signal>clicked()</signal>
<receiver>QtGuiWenClass</receiver>
<slot>on_Progress_clicked4()</slot>
<hints>
<hint type="sourcelabel">
<x>334</x>
<y>171</y>
</hint>
<hint type="destinationlabel">
<x>70</x>
<y>246</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_6</sender>
<signal>clicked()</signal>
<receiver>QtGuiWenClass</receiver>
<slot>on_Progress_clicked5()</slot>
<hints>
<hint type="sourcelabel">
<x>373</x>
<y>198</y>
</hint>
<hint type="destinationlabel">
<x>72</x>
<y>282</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_7</sender>
<signal>clicked()</signal>
<receiver>QtGuiWenClass</receiver>
<slot>undo()</slot>
<hints>
<hint type="sourcelabel">
<x>386</x>
<y>222</y>
</hint>
<hint type="destinationlabel">
<x>69</x>
<y>313</y>
</hint>
</hints>
</connection>
<connection>
<sender>pushButton_7</sender>
<signal>clicked()</signal>
<receiver>QtGuiWenClass</receiver>
<slot>on_Progress_clicked6()</slot>
<hints>
<hint type="sourcelabel">
<x>355</x>
<y>234</y>
</hint>
<hint type="destinationlabel">
<x>19</x>
<y>336</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>on_OpenFig_clicked()</slot>
<slot>on_Progress_clicked()</slot>
<slot>on_Progress_clicked2()</slot>
<slot>on_Progress_clicked3()</slot>
<slot>on_Progress_clicked4()</slot>
<slot>on_Progress_clicked5()</slot>
<slot>undo()</slot>
<slot>on_Progress_clicked6()</slot>
</slots>
运行结果如下:
C++学习参考实例:
C++实现图形界面五子棋游戏源码:
https://blog.csdn.net/alicema1111/article/details/90035420
C++实现图形界面五子棋游戏源码2:
https://blog.csdn.net/alicema1111/article/details/106479579
C++ OpenCV相片视频人脸识别统计人数:
https://blog.csdn.net/alicema1111/article/details/105833928
VS2017+PCL开发环境配置:
https://blog.csdn.net/alicema1111/article/details/106877145
VS2017+Qt+PCL点云开发环境配置:
https://blog.csdn.net/alicema1111/article/details/105433636
C++ OpenCV汽车检测障碍物与测距:
https://blog.csdn.net/alicema1111/article/details/105833449
Windows VS2017安装配置PCL点云库:
https://blog.csdn.net/alicema1111/article/details/105111110
VS+VTK+Dicom(dcm)+CT影像切片窗体界面显示源码
https://blog.csdn.net/alicema1111/article/details/106994839
Python学习参考实例:
Python相片更换背景颜色qt窗体程序:
https://blog.csdn.net/alicema1111/article/details/106919140
OpenCV汽车识别检测数量统计:
https://blog.csdn.net/alicema1111/article/details/106597260
OpenCV视频识别检测人数跟踪统计:
https://blog.csdn.net/alicema1111/article/details/106113042
OpenCV米粒检测数量统计:
https://blog.csdn.net/alicema1111/article/details/106089697
opencv人脸识别与变形哈哈镜:
https://blog.csdn.net/alicema1111/article/details/105833123
OpenCV人脸检测打卡系统:
https://blog.csdn.net/alicema1111/article/details/105315066
Python+OpenCV摄像头人脸识别:
https://blog.csdn.net/alicema1111/article/details/105107286
Python+Opencv识别视频统计人数:
https://blog.csdn.net/alicema1111/article/details/103804032
Python+OpenCV图像人脸识别人数统计:
https://blog.csdn.net/alicema1111/article/details/105378639
python人脸头发身体部位识别人数统计: