# QT_Example **Repository Path**: zyv037/QT_Example ## Basic Information - **Project Name**: QT_Example - **Description**: QT Example - **Primary Language**: C++ - **License**: WTFPL - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-06-12 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # QT_Example ## 1. Tipbox Use QLable,Support mouse move 用QLabel实现的窗口提示框,支持鼠标移动延长显示时间 ![image](https://github.com/ZYV037/QT_Example/blob/master/1_tipbox/tipbox.gif) ## 2.QComboBox with removeable item. QCombox下拉项添加有关闭按钮 Caution: QPushButton has some problem with qss,so use QToolButton instead. ![image](https://github.com/ZYV037/QT_Example/blob/master/2_qcombox_removeable_item/qcombox_removeable_item.gif) ## 3. QCheckBox center in QTableWidget. QCheckBox在QTableWidget中居中的一种策略。 ![image](https://github.com/ZYV037/QT_Example/blob/master/3_qtablewidget_with_center_checkbox/center_checkbox.png) ## 4. QCharts example X轴调整为整数、轴字体设置、QChats的动态化等 contains qwidgets save as picture file. ![image](https://github.com/ZYV037/QT_Example/blob/master/4_qchart_example/qchart_example.png) ## 5. a bat script qmake/make & msi package bat function, qmake/make cmd, Advanced Installer ## 6. qt .pro file example Multi thread compile & some common pro config ## 7. QTCreator keyboard shortcuts support TortoiseSVN diff by Beyond compare to override default compare tool. QTCreator快捷键 BeyondCompare 比对当前文件SVN差异. 取代默认对比工具. ![image](https://github.com/ZYV037/QT_Example/blob/master/7_shortcutkey_diff_by_beyondcompare_in_qtcreator/7_shortcutkey_diff_by_beyondcompare_in_qtcreator.gif) ## 8. QCombox with invalid(enable,unselectable) item QCombox use QListWidget as Model/View to enhance QCombox_item with QListWidgetItem ability. ![image](https://github.com/ZYV037/QT_Example/blob/master/8_qcombox_with_invalid_item/qcombox_with_invalid_item.png) ## 9. Volume Rendering use QCustom3DVolume 3D texture/Point Cloud Drawing. The Transfer Color Edit Dialog public QColorDialog. The colorPoint 'Y' axis means alpha value. 'X' mean point depth. The point Color was the averange rgb&alpha of it's left colorPoint and right colorPoint. 色彩编辑框包含数据分布曲线图。色彩点Y轴表示透明度(alpha)。x轴表示点云值。点云值对应颜色为两个色彩点的rgb及alpha均值。 ![image](https://github.com/ZYV037/QT_Example/blob/master/9_volume_rendering/volumetric.gif) The trt file is a point volume.Include a simple point dense algorithm. 点云的简单增加密度算法 ![image](https://github.com/ZYV037/QT_Example/blob/master/9_volume_rendering/pointsclouddensealg.jpg) refer: [QT Example volumetric](https://doc.qt.io/qt-5/qtdatavisualization-volumetric-example.html) [Inviwo](https://inviwo.org/)