├── .gitignore ├── .gitmodules ├── CMakeLists.txt ├── Licence.md ├── README.md └── examples ├── .gitignore ├── QCatGrayQuickExamples ├── CMakeLists.txt ├── Project │ ├── CMakeLists.txt │ ├── CatConfig.cpp │ ├── CatConfig.h │ ├── QCatGrayModel │ │ ├── CMakeLists.txt │ │ ├── QCatGrayListModel.cpp │ │ ├── QCatGrayListModel.h │ │ ├── QCatGrayModelTools.h │ │ ├── QCatGrayTreeModel.cpp │ │ └── QCatGrayTreeModel.h │ ├── QmlConfig.h │ ├── QmlSrc │ │ ├── Qt5Compat │ │ │ ├── AppControl │ │ │ │ └── LanguageItem.qml │ │ │ ├── Common │ │ │ │ ├── CatTransArea.qml │ │ │ │ ├── CatTreeHeader.qml │ │ │ │ └── CatTreeView.qml │ │ │ ├── ControlDemos │ │ │ │ ├── CatChatCommon │ │ │ │ │ └── ChatItem.qml │ │ │ │ ├── CatTableViewCommon │ │ │ │ │ ├── QuickWidgetTableDataItem.qml │ │ │ │ │ └── QuickWidgetTableHeaderItem.qml │ │ │ │ ├── DemoCatCalendar.qml │ │ │ │ ├── DemoCatChat.qml │ │ │ │ ├── DemoCatEchars.qml │ │ │ │ ├── DemoCatMessage.qml │ │ │ │ ├── DemoCatRectangle.qml │ │ │ │ ├── DemoCatSideColumn.qml │ │ │ │ ├── DemoCatSorter.qml │ │ │ │ ├── DemoCatTableView.qml │ │ │ │ ├── DemoCatTreeView.qml │ │ │ │ ├── DemoImageFlicker.qml │ │ │ │ ├── DemoImageFlickerGradient.qml │ │ │ │ ├── DemoImageFlipable.qml │ │ │ │ ├── DemoImageMove.qml │ │ │ │ ├── DemoImageScale.qml │ │ │ │ ├── DemoLottie.qml │ │ │ │ ├── DemoMarquee.qml │ │ │ │ ├── DemoQParentQrenCode.qml │ │ │ │ ├── DemoTableView.qml │ │ │ │ ├── DemoTextOneByOneShow.qml │ │ │ │ └── Image3dRotation.qml │ │ │ ├── FunctionLayout │ │ │ │ ├── DefaultLayout │ │ │ │ │ ├── DefaultLayout.qml │ │ │ │ │ ├── DefaultListItem.qml │ │ │ │ │ ├── DefaultListView.qml │ │ │ │ │ └── DemonstrationView.qml │ │ │ │ ├── GridLayout │ │ │ │ │ ├── CatGridLayout.qml │ │ │ │ │ ├── CatGridListItem.qml │ │ │ │ │ └── CatGridListView.qml │ │ │ │ ├── LayoutView.qml │ │ │ │ └── TreeLayout │ │ │ │ │ ├── CatTreeDemoStrationView.qml │ │ │ │ │ ├── CatTreeLayout.qml │ │ │ │ │ └── CatTreeListView.qml │ │ │ ├── GeneralTitleItem.qml │ │ │ ├── MoreFunctionViews │ │ │ │ ├── AboutItem.qml │ │ │ │ ├── LicenceItem.qml │ │ │ │ ├── MoreView.qml │ │ │ │ ├── SettingItem.qml │ │ │ │ ├── WebEngineLicence.qml │ │ │ │ └── WebKitLicence.qml │ │ │ ├── ProjectObject.qml │ │ │ ├── QmlSrc.qrc │ │ │ ├── generalmain.qml │ │ │ └── qmldir │ │ └── Qt6Compat │ │ │ ├── AppControl │ │ │ └── LanguageItem.qml │ │ │ ├── Common │ │ │ ├── CatTransArea.qml │ │ │ ├── CatTreeHeader.qml │ │ │ └── CatTreeView.qml │ │ │ ├── ControlDemos │ │ │ ├── CatChatCommon │ │ │ │ └── ChatItem.qml │ │ │ ├── CatTableViewCommon │ │ │ │ ├── QuickWidgetTableDataItem.qml │ │ │ │ └── QuickWidgetTableHeaderItem.qml │ │ │ ├── DemoCatCalendar.qml │ │ │ ├── DemoCatChat.qml │ │ │ ├── DemoCatEchars.qml │ │ │ ├── DemoCatMessage.qml │ │ │ ├── DemoCatRectangle.qml │ │ │ ├── DemoCatSideColumn.qml │ │ │ ├── DemoCatSorter.qml │ │ │ ├── DemoCatTableView.qml │ │ │ ├── DemoCatTreeView.qml │ │ │ ├── DemoImageFlicker.qml │ │ │ ├── DemoImageFlickerGradient.qml │ │ │ ├── DemoImageFlipable.qml │ │ │ ├── DemoImageMove.qml │ │ │ ├── DemoImageScale.qml │ │ │ ├── DemoLottie.qml │ │ │ ├── DemoMarquee.qml │ │ │ ├── DemoQParentQrenCode.qml │ │ │ ├── DemoTableView.qml │ │ │ ├── DemoTextOneByOneShow.qml │ │ │ └── Image3dRotation.qml │ │ │ ├── FunctionLayout │ │ │ ├── DefaultLayout │ │ │ │ ├── DefaultLayout.qml │ │ │ │ ├── DefaultListItem.qml │ │ │ │ ├── DefaultListView.qml │ │ │ │ └── DemonstrationView.qml │ │ │ ├── GridLayout │ │ │ │ ├── CatGridLayout.qml │ │ │ │ ├── CatGridListItem.qml │ │ │ │ └── CatGridListView.qml │ │ │ ├── LayoutView.qml │ │ │ └── TreeLayout │ │ │ │ ├── CatTreeDemoStrationView.qml │ │ │ │ ├── CatTreeLayout.qml │ │ │ │ └── CatTreeListView.qml │ │ │ ├── GeneralTitleItem.qml │ │ │ ├── MoreFunctionViews │ │ │ ├── AboutItem.qml │ │ │ ├── LicenceItem.qml │ │ │ ├── MoreView.qml │ │ │ ├── SettingItem.qml │ │ │ ├── WebEngineLicence.qml │ │ │ └── WebKitLicence.qml │ │ │ ├── ProjectObject.qml │ │ │ ├── QmlSrc.qrc │ │ │ ├── generalmain.qml │ │ │ └── qmldir │ ├── Resource │ │ ├── Etc │ │ │ └── qt.conf │ │ ├── Images │ │ │ ├── Black │ │ │ │ ├── 3drotation.svg │ │ │ │ ├── About_default.png │ │ │ │ ├── AddImage.png │ │ │ │ ├── BarChart.png │ │ │ │ ├── CatCalendar.png │ │ │ │ ├── CatECharts.png │ │ │ │ ├── CatMessage.png │ │ │ │ ├── CatQuickExamples.png │ │ │ │ ├── CatRectangle.png │ │ │ │ ├── CatSideColumn.png │ │ │ │ ├── CatSorter.png │ │ │ │ ├── CatTable.png │ │ │ │ ├── CatTreeView.png │ │ │ │ ├── Chat.png │ │ │ │ ├── ClearImage.png │ │ │ │ ├── CodeChina.png │ │ │ │ ├── Demonstrate.png │ │ │ │ ├── Demonstrate.svg │ │ │ │ ├── Function_0.png │ │ │ │ ├── Function_1.png │ │ │ │ ├── Function_2.png │ │ │ │ ├── Function_3.png │ │ │ │ ├── Gitee.png │ │ │ │ ├── Github.png │ │ │ │ ├── GridLayout.png │ │ │ │ ├── ImageFlicker.png │ │ │ │ ├── ImageFlickerGradient.png │ │ │ │ ├── ImageFlipable.png │ │ │ │ ├── ImageMove.png │ │ │ │ ├── ImageScale.png │ │ │ │ ├── KChart.png │ │ │ │ ├── LeftButton_default.svg │ │ │ │ ├── LeftButton_gray.svg │ │ │ │ ├── LeftLeftButton_default.svg │ │ │ │ ├── LeftLeftButton_gray.svg │ │ │ │ ├── Licence_default.png │ │ │ │ ├── LineChart.png │ │ │ │ ├── ListLayout.png │ │ │ │ ├── LottieQml.png │ │ │ │ ├── Marquee.png │ │ │ │ ├── MoreClose_default.png │ │ │ │ ├── MoreClose_hover.png │ │ │ │ ├── More_blue.png │ │ │ │ ├── More_blue.svg │ │ │ │ ├── More_gray.png │ │ │ │ ├── More_gray.svg │ │ │ │ ├── More_white.png │ │ │ │ ├── More_white.svg │ │ │ │ ├── QrenCode.svg │ │ │ │ ├── Raspi-PGB001.png │ │ │ │ ├── Return.png │ │ │ │ ├── RightButton_default.svg │ │ │ │ ├── RightButton_gray.svg │ │ │ │ ├── RightRightButton_default.svg │ │ │ │ ├── RightRightButton_gray.svg │ │ │ │ ├── ScatterChart.png │ │ │ │ ├── SearchInput.png │ │ │ │ ├── Setting_default.png │ │ │ │ ├── SorterNextButtonDefault.png │ │ │ │ ├── SorterNextButtonHove.png │ │ │ │ ├── SorterNextButtonPressed.png │ │ │ │ ├── SorterPreviousButtonDefault.png │ │ │ │ ├── SorterPreviousButtonHover.png │ │ │ │ ├── SorterPreviousButtonPressed.png │ │ │ │ ├── SorterSkitNextButtonDefault.png │ │ │ │ ├── SubtractImage.png │ │ │ │ ├── Text.svg │ │ │ │ ├── TextOneByOneShow.png │ │ │ │ ├── TreeButton_fold_default.png │ │ │ │ ├── TreeButton_unfold_default.png │ │ │ │ ├── TreeLayout.png │ │ │ │ ├── about_blue.png │ │ │ │ ├── about_gray.png │ │ │ │ ├── about_white.png │ │ │ │ ├── checkbox_false.svg │ │ │ │ ├── checkbox_true.svg │ │ │ │ ├── close_gray.png │ │ │ │ ├── close_white.png │ │ │ │ ├── language_blue.png │ │ │ │ ├── language_blue.svg │ │ │ │ ├── language_gray.png │ │ │ │ ├── language_gray.svg │ │ │ │ ├── language_white.png │ │ │ │ ├── language_white.svg │ │ │ │ ├── last_triangle.png │ │ │ │ ├── max_gray.png │ │ │ │ ├── max_white.png │ │ │ │ ├── message_close.png │ │ │ │ ├── message_error.png │ │ │ │ ├── message_info.png │ │ │ │ ├── message_succeed.png │ │ │ │ ├── message_warning.png │ │ │ │ ├── minimal_gray.png │ │ │ │ ├── minimal_white.png │ │ │ │ ├── next_triangle.png │ │ │ │ ├── normal_gray.png │ │ │ │ ├── normal_white.png │ │ │ │ ├── portrait.png │ │ │ │ ├── setting_blue.png │ │ │ │ ├── setting_blue.svg │ │ │ │ ├── setting_gray.png │ │ │ │ ├── setting_gray.svg │ │ │ │ ├── setting_white.png │ │ │ │ ├── setting_white.svg │ │ │ │ ├── style_blue.png │ │ │ │ ├── style_blue.svg │ │ │ │ ├── style_gray.png │ │ │ │ ├── style_gray.svg │ │ │ │ ├── style_white.png │ │ │ │ └── style_white.svg │ │ │ ├── White │ │ │ │ ├── 3drotation.svg │ │ │ │ ├── About_default.png │ │ │ │ ├── AddImage.png │ │ │ │ ├── BarChart.png │ │ │ │ ├── CatCalendar.png │ │ │ │ ├── CatECharts.png │ │ │ │ ├── CatMessage.png │ │ │ │ ├── CatQuickExamples.png │ │ │ │ ├── CatRectangle.png │ │ │ │ ├── CatSideColumn.png │ │ │ │ ├── CatSorter.png │ │ │ │ ├── CatTable.png │ │ │ │ ├── CatTreeView.png │ │ │ │ ├── Chat.png │ │ │ │ ├── ClearImage.png │ │ │ │ ├── CodeChina.png │ │ │ │ ├── Demonstrate.png │ │ │ │ ├── Demonstrate.svg │ │ │ │ ├── Function_0.png │ │ │ │ ├── Function_1.png │ │ │ │ ├── Function_2.png │ │ │ │ ├── Function_3.png │ │ │ │ ├── Gitee.png │ │ │ │ ├── Github.png │ │ │ │ ├── GridLayout.png │ │ │ │ ├── ImageFlicker.png │ │ │ │ ├── ImageFlickerGradient.png │ │ │ │ ├── ImageFlipable.png │ │ │ │ ├── ImageMove.png │ │ │ │ ├── ImageScale.png │ │ │ │ ├── KChart.png │ │ │ │ ├── LeftButton_default.svg │ │ │ │ ├── LeftButton_gray.svg │ │ │ │ ├── LeftLeftButton_default.svg │ │ │ │ ├── LeftLeftButton_gray.svg │ │ │ │ ├── Licence_default.png │ │ │ │ ├── LineChart.png │ │ │ │ ├── ListLayout.png │ │ │ │ ├── LottieQml.png │ │ │ │ ├── Marquee.png │ │ │ │ ├── MoreClose_default.png │ │ │ │ ├── MoreClose_hover.png │ │ │ │ ├── More_blue.png │ │ │ │ ├── More_blue.svg │ │ │ │ ├── More_gray.png │ │ │ │ ├── More_gray.svg │ │ │ │ ├── More_white.png │ │ │ │ ├── More_white.svg │ │ │ │ ├── QrenCode.svg │ │ │ │ ├── Raspi-PGB001.png │ │ │ │ ├── Return.png │ │ │ │ ├── RightButton_default.svg │ │ │ │ ├── RightButton_gray.svg │ │ │ │ ├── RightRightButton_default.svg │ │ │ │ ├── RightRightButton_gray.svg │ │ │ │ ├── ScatterChart.png │ │ │ │ ├── SearchInput.png │ │ │ │ ├── Setting_default.png │ │ │ │ ├── SorterNextButtonDefault.png │ │ │ │ ├── SorterNextButtonHove.png │ │ │ │ ├── SorterNextButtonPressed.png │ │ │ │ ├── SorterPreviousButtonDefault.png │ │ │ │ ├── SorterPreviousButtonHove.png │ │ │ │ ├── SorterPreviousButtonHover.png │ │ │ │ ├── SorterPreviousButtonPressed.png │ │ │ │ ├── SorterSkitNextButtonDefault.png │ │ │ │ ├── SubtractImage.png │ │ │ │ ├── Text.svg │ │ │ │ ├── TextOneByOneShow.png │ │ │ │ ├── TreeButton_fold_default.png │ │ │ │ ├── TreeButton_unfold_default.png │ │ │ │ ├── TreeLayout.png │ │ │ │ ├── checkbox_false.svg │ │ │ │ ├── checkbox_true.svg │ │ │ │ ├── close_gray.png │ │ │ │ ├── close_white.png │ │ │ │ ├── language_blue.svg │ │ │ │ ├── language_gray.svg │ │ │ │ ├── language_white.svg │ │ │ │ ├── last_triangle.png │ │ │ │ ├── max_gray.png │ │ │ │ ├── max_white.png │ │ │ │ ├── message_close.png │ │ │ │ ├── message_error.png │ │ │ │ ├── message_info.png │ │ │ │ ├── message_succeed.png │ │ │ │ ├── message_warning.png │ │ │ │ ├── minimal_gray.png │ │ │ │ ├── minimal_white.png │ │ │ │ ├── next_triangle.png │ │ │ │ ├── normal_gray.png │ │ │ │ ├── normal_white.png │ │ │ │ ├── portrait.png │ │ │ │ ├── setting_blue.svg │ │ │ │ ├── setting_gray.svg │ │ │ │ ├── setting_white.svg │ │ │ │ ├── style_blue.svg │ │ │ │ ├── style_gray.svg │ │ │ │ └── style_white.svg │ │ │ ├── applogo.ico │ │ │ ├── cqlogo.ico │ │ │ └── qt_logo.png │ │ ├── Lang │ │ │ ├── language_en.ts │ │ │ └── language_zh_CN.ts │ │ ├── Licence │ │ │ └── Licence.html │ │ ├── Lottie │ │ │ └── Lottie_404.json │ │ ├── Resource.qrc │ │ └── app_win32.rc │ ├── Src │ │ ├── TableFunction │ │ │ ├── CMakeLists.txt │ │ │ ├── TableViewModel.cpp │ │ │ └── TableViewModel.h │ │ └── WebChannelFunction │ │ │ ├── CMakeLists.txt │ │ │ ├── CatEchatswebChannel.cpp │ │ │ └── CatEchatswebChannel.h │ └── main.cpp ├── README.md └── WebResource │ ├── charts.html │ ├── echarts │ ├── echarts.common.js │ ├── echarts.common.js.map │ ├── echarts.common.min.js │ ├── echarts.esm.js │ ├── echarts.esm.js.map │ ├── echarts.esm.min.js │ ├── echarts.js │ ├── echarts.js.map │ ├── echarts.min.js │ ├── echarts.simple.js │ ├── echarts.simple.js.map │ ├── echarts.simple.min.js │ └── extension │ │ ├── bmap.js │ │ ├── bmap.js.map │ │ ├── bmap.min.js │ │ ├── dataTool.js │ │ ├── dataTool.js.map │ │ └── dataTool.min.js │ ├── jquery-3.6.0.min.js │ ├── qwebchannel.js │ ├── reconnecting-websocket.min.js │ └── style │ ├── dark.js │ └── macarons.js └── QCatGrayWidgetExamples ├── CMakeLists.txt ├── CatAbout.cpp ├── CatAbout.h ├── CatAbout.ui ├── CatAbout_ui.py ├── CatConfig ├── CMakeLists.txt ├── CatConfig.cpp └── CatConfig.h ├── CatDrawingBoard.cpp ├── CatDrawingBoard.h ├── CatDrawingBoard.ui ├── CatDrawingBoard_ui.py ├── CatGrayQuickWidget.cpp ├── CatGrayQuickWidget.h ├── CatGrayQuickWidget.ui ├── CatGrayQuickWidgetTools ├── CMakeLists.txt ├── CatGrayQuickWidgetTableTest.cpp ├── CatGrayQuickWidgetTableTest.h ├── CatGrayQuickWidgetTest.cpp └── CatGrayQuickWidgetTest.h ├── CatQuickWidget.cpp ├── CatQuickWidget.h ├── CatQuickWidget.ui ├── CatQuickWidget_ui.py ├── CatSettings.cpp ├── CatSettings.h ├── CatSettings.ui ├── CatSettings_ui.py ├── CatWidget.cpp ├── CatWidget.h ├── CatWidget.ui ├── CatWidget_ui.py ├── QuickWidgetTools ├── CMakeLists.txt ├── QuickQrenCode.cpp ├── QuickQrenCode.h ├── QuickQrenCode.ui ├── QuickSliders.cpp ├── QuickSliders.h └── QuickSliders.ui ├── README.md ├── Resource ├── Images │ ├── BelowHover.png │ ├── BelowNormal.png │ ├── CatGray │ │ ├── AboutLeftArrow.png │ │ ├── AboutRightArrow.png │ │ ├── BoardBrushes.png │ │ ├── BoardClear.png │ │ ├── BoardErasure.png │ │ ├── BoardReset.png │ │ ├── BoardSelect.png │ │ ├── BoardZoomIn.png │ │ ├── BoardZoomOut.png │ │ ├── CATicon.png │ │ ├── CatLearnQt.png │ │ ├── CatQcustomplot.png │ │ ├── CatSettings.png │ │ ├── CatWidgetExamples.png │ │ ├── CheckOff_gray.png │ │ ├── CheckOff_orange.png │ │ ├── CheckOn_orange.png │ │ ├── Close.png │ │ ├── CodeChina.png │ │ ├── Compass.png │ │ ├── Gitee.png │ │ ├── Github.png │ │ ├── Home.png │ │ ├── ImageTools.png │ │ ├── Inputs.png │ │ ├── MagnifyingGlassTool.png │ │ ├── MaximizeMax.png │ │ ├── MaximizeMin.png │ │ ├── Minimize.png │ │ ├── PagingNavigation.png │ │ ├── Protractor.png │ │ ├── PullDown.png │ │ ├── PullUp.png │ │ ├── QcustomplotBarGraph.png │ │ ├── QcustomplotLineChart.png │ │ ├── QrenCode.png │ │ ├── RimlessWindow.png │ │ ├── Ruler.png │ │ ├── ScreenShotTool.png │ │ ├── SideCloseButton.png │ │ ├── SideColumn.png │ │ ├── SideOpenButton.png │ │ ├── SideTestButton.png │ │ ├── SliderTools.png │ │ ├── SpotLightTool.png │ │ ├── TableView.png │ │ ├── Test.png │ │ └── Trangle.png │ ├── CatWhite │ │ ├── AboutLeftArrow.png │ │ ├── AboutRightArrow.png │ │ ├── BoardBrushes.png │ │ ├── BoardClear.png │ │ ├── BoardErasure.png │ │ ├── BoardReset.png │ │ ├── BoardSelect.png │ │ ├── BoardZoomIn.png │ │ ├── BoardZoomOut.png │ │ ├── CATicon.png │ │ ├── CatLearnQt.png │ │ ├── CatQcustomplot.png │ │ ├── CatSettings.png │ │ ├── CatWidgetExamples.png │ │ ├── CheckOff_gray.png │ │ ├── CheckOff_orange.png │ │ ├── CheckOn_orange.png │ │ ├── Close.png │ │ ├── Close_Gray.png │ │ ├── CodeChina.png │ │ ├── Compass.png │ │ ├── Gitee.png │ │ ├── Github.png │ │ ├── Home.png │ │ ├── ImageTools.png │ │ ├── Inputs.png │ │ ├── MagnifyingGlassTool.png │ │ ├── MaximizeMax.png │ │ ├── MaximizeMin.png │ │ ├── Minimize.png │ │ ├── PagingNavigation.png │ │ ├── Protractor.png │ │ ├── PullDown.png │ │ ├── PullUp.png │ │ ├── QcustomplotBarGraph.png │ │ ├── QcustomplotLineChart.png │ │ ├── QrenCode.png │ │ ├── RimlessWindow.png │ │ ├── Ruler.png │ │ ├── ScreenShotTool.png │ │ ├── SideCloseButton.png │ │ ├── SideColumn.png │ │ ├── SideOpenButton.png │ │ ├── SideTestButton.png │ │ ├── SliderTools.png │ │ ├── SpotLightTool.png │ │ ├── TableView.png │ │ ├── Test.png │ │ └── Trangle.png │ ├── CheckOff_Hover.png │ ├── CheckOff_Normal.png │ ├── CheckOn_All.png │ ├── CheckOn_Partially.png │ ├── UpHover.png │ ├── UpNormal.png │ ├── applogo.ico │ └── cwlogo.ico ├── Resource.qrc ├── about │ ├── Licence │ │ ├── Licence.html │ │ └── Licence.md │ └── explain │ │ ├── explain_cn.html │ │ ├── explain_cn.md │ │ ├── explain_en.html │ │ └── explain_en.md ├── app_win32.rc ├── etc │ └── qt.conf ├── lang │ ├── language_en.ts │ └── language_zh_CN.ts ├── qml │ ├── CatGrayQuickWidgetTableTest.qml │ ├── CatGrayQuickWidgetTest.qml │ ├── CatQrenCode.qml │ ├── CatSliders.qml │ ├── QuickWidgetTableDataItem.qml │ ├── QuickWidgetTableHeaderItem.qml │ ├── StyleConfig.qml │ └── qmldir └── qss │ ├── CatGray │ ├── CatAbout.css │ ├── CatBarChart.css │ ├── CatDrawingBoard.css │ ├── CatGrayQuickWidget.css │ ├── CatLineChart.css │ ├── CatQcustomplotTools.css │ ├── CatQuickWidget.css │ ├── CatSettings.css │ ├── CatWidget.css │ ├── ImageTools.css │ ├── InputTools.css │ ├── ListingOptionBoard.css │ ├── ListingOptionCatGrayQuickWidgetTool.css │ ├── ListingOptionCatQuickWidgetTool.css │ ├── ListingOptionCatWidgetTool.css │ ├── ListingOptionQcustompCharts.css │ ├── ListingOptionTeaching.css │ ├── ListingOptionsWin.css │ ├── PagingNavigationTools.css │ ├── QCatGrayListingOptions.css │ ├── QuickSliders.css │ ├── RimlessWindowTool.css │ ├── SideBoxButton.css │ ├── SideColumnTool.css │ ├── SliderTools.css │ ├── TableViewTool.css │ └── WinWidget.css │ └── CatWhite │ ├── CatAbout.css │ ├── CatBarChart.css │ ├── CatDrawingBoard.css │ ├── CatGrayQuickWidget.css │ ├── CatLineChart.css │ ├── CatQcustomplotTools.css │ ├── CatQuickWidget.css │ ├── CatSettings.css │ ├── CatWidget.css │ ├── ImageTools.css │ ├── InputTools.css │ ├── ListingOptionBoard.css │ ├── ListingOptionCatGrayQuickWidgetTool.css │ ├── ListingOptionCatQuickWidgetTool.css │ ├── ListingOptionCatWidgetTool.css │ ├── ListingOptionQcustompCharts.css │ ├── ListingOptionTeaching.css │ ├── ListingOptionsWin.css │ ├── PagingNavigationTools.css │ ├── QCatGrayListingOptions.css │ ├── QuickSliders.css │ ├── RimlessWindowTool.css │ ├── SideBoxButton.css │ ├── SideColumnTool.css │ ├── SliderTools.css │ ├── TableViewTool.css │ └── WinWidget.css ├── WidgetTools ├── CMakeLists.txt ├── CatQcustomplotTools.cpp ├── CatQcustomplotTools.h ├── CatQcustomplotTools.ui ├── CatTableViewTools │ ├── CMakeLists.txt │ ├── CatTableItemDelegate.cpp │ ├── CatTableItemDelegate.h │ ├── CatTableModel.cpp │ ├── CatTableModel.h │ ├── CatTableViewTool.cpp │ └── CatTableViewTool.h ├── InputTools.cpp ├── InputTools.h ├── InputTools.ui ├── InputTools │ └── CMakeLists.txt ├── PagingNavigationTools.cpp ├── PagingNavigationTools.h ├── PagingNavigationTools.ui ├── PagingNavigationTools_ui.py ├── QcustomplotCharts │ ├── CMakeLists.txt │ ├── CatBarChart.cpp │ ├── CatBarChart.h │ ├── CatBarChart.ui │ ├── CatLineChart.cpp │ ├── CatLineChart.h │ └── CatLineChart.ui ├── QrenCodeTool.cpp ├── QrenCodeTool.h ├── QrenCodeTool.ui ├── SideColumnTool.cpp ├── SideColumnTool.h ├── SideColumnTool.ui ├── SideWidgetTools │ ├── CMakeLists.txt │ ├── SideBoxButton.cpp │ └── SideBoxButton.h ├── SliderTools.cpp ├── SliderTools.h ├── SliderTools.ui ├── SliderTools_ui.py ├── TableViewTool.cpp ├── TableViewTool.h ├── TableViewTool.ui └── TableViewTool_ui.py ├── WinWidget.cpp ├── WinWidget.h ├── WinWidget.ui ├── WinWidget_ui.py └── main.cpp /.gitignore: -------------------------------------------------------------------------------- 1 | # C++ objects and libs 2 | *.slo 3 | *.lo 4 | *.o 5 | *.a 6 | *.la 7 | *.lai 8 | *.so 9 | *.so.* 10 | *.dll 11 | *.dylib 12 | 13 | # Qt-es 14 | object_script.*.Release 15 | object_script.*.Debug 16 | *_plugin_import.cpp 17 | /.qmake.cache 18 | /.qmake.stash 19 | *.pro.user 20 | *.pro.user.* 21 | *.qbs.user 22 | *.qbs.user.* 23 | *.moc 24 | moc_*.cpp 25 | moc_*.h 26 | qrc_*.cpp 27 | ui_*.h 28 | *.qmlc 29 | *.jsc 30 | Makefile* 31 | *build-* 32 | *.qm 33 | *.prl 34 | build*/ 35 | .vscode*/ 36 | # Qt unit tests 37 | target_wrapper.* 38 | 39 | # QtCreator 40 | *.autosave 41 | 42 | # QtCreator Qml 43 | *.qmlproject.user 44 | *.qmlproject.user.* 45 | 46 | # QtCreator CMake 47 | CMakeLists.txt.user* 48 | 49 | # QtCreator 4.8< compilation database 50 | compile_commands.json 51 | 52 | # QtCreator local machine specific files for imported projects 53 | *creator.user* 54 | 55 | *_qmlcache.qrc 56 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "QCatGrayCore"] 2 | path = modules/QCatGrayCore 3 | url = https://github.com/graycatya/QCatGrayCore.git 4 | [submodule "QCatGrayQuick"] 5 | path = modules/QCatGrayQuick 6 | url = https://github.com/graycatya/QCatGrayQuick.git 7 | [submodule "QCatGrayWidgets"] 8 | path = modules/QCatGrayWidgets 9 | url = https://github.com/graycatya/QCatGrayWidgets.git -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CatLearnQt 2 | 3 | CatLearnQt records my own learning Qt process and provides implementations of my examples and dependent modules. 4 | 5 | 6 | CatLearnQt is released under the GPL v3 license. If you use CatLearnQt or its component libraries, you must abide by the relevant license terms. 7 | 8 | 9 | ## Examples 10 | 11 | | Project | README | 12 | |:--:|:--:| 13 | | QCatGrayQuickExamples | [README](./examples/QCatGrayQuickExamples/README.md) | 14 | | QCatGrayWidgetExamples | [README](./examples/QCatGrayWidgetExamples/README.md) | 15 | 16 | ## Module librarys 17 | 18 | | Module | README | link | 19 | |:--:|:--:|:--:| 20 | | QCatGrayCore | [README](https://github.com/graycatya/QCatGrayCore/blob/main/README.md) | [https://github.com/graycatya/QCatGrayCore](https://github.com/graycatya/QCatGrayCore) | 21 | | QCatGrayQuick | [README](https://github.com/graycatya/QCatGrayQuick/blob/main/README.md) | [https://github.com/graycatya/QCatGrayQuick](https://github.com/graycatya/QCatGrayQuick) | 22 | | QCatGrayWidgets | [README](https://github.com/graycatya/QCatGrayWidgets/blob/main/README.md) | [https://github.com/graycatya/QCatGrayWidgets](https://github.com/graycatya/QCatGrayWidgets) | 23 | 24 | ## Quick-start your own project 25 | 26 | ``` 27 | git submodule update --init --recursive 28 | ``` 29 | 30 | Build using cmake, support qt5.15 and qt6. 31 | 32 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(Project) -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QCatGrayModel/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(QCatGrayModel LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC OFF) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC OFF) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | set(CMAKE_CXX_EXTENSIONS ON) 14 | 15 | add_definitions(-DQT_DEPRECATED_WARNINGS) 16 | add_definitions(-DBENCHMARK) 17 | 18 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}) 19 | 20 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Qml) 21 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Qml) 22 | 23 | file(GLOB SRC_LIST 24 | "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 25 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" 26 | ) 27 | 28 | add_library(${PROJECT_NAME} SHARED ${SRC_LIST}) 29 | 30 | add_library(${PROJECT_NAME}_a STATIC ${SRC_LIST}) 31 | 32 | target_link_libraries(${PROJECT_NAME} 33 | PRIVATE 34 | Qt${QT_VERSION_MAJOR}::Core 35 | Qt${QT_VERSION_MAJOR}::Qml) 36 | 37 | target_link_libraries(${PROJECT_NAME}_a 38 | PRIVATE 39 | Qt${QT_VERSION_MAJOR}::Core 40 | Qt${QT_VERSION_MAJOR}::Qml) 41 | 42 | target_include_directories(${PROJECT_NAME} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 43 | target_include_directories(${PROJECT_NAME}_a INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) 44 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QCatGrayModel/QCatGrayListModel.h: -------------------------------------------------------------------------------- 1 | #ifndef QCATGRAYLISTMODEL_H 2 | #define QCATGRAYLISTMODEL_H 3 | 4 | #include 5 | 6 | template 7 | class QCatGrayListModel : public QAbstractListModel 8 | { 9 | 10 | public: 11 | // 声明父类 12 | using Parent = QAbstractListModel; 13 | 14 | explicit QCatGrayListModel(QObject* parent = nullptr); 15 | QCatGrayListModel(const QList& nodeList, QObject* parent = nullptr); 16 | 17 | const QList& nodeList() const 18 | { 19 | return m_nodeList; 20 | } 21 | 22 | // 设置节点链表 23 | void setNodeList(const QList& nodeList); 24 | 25 | int rowCount(const QModelIndex& parent) const override; 26 | 27 | QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const; 28 | bool setData(const QModelIndex& index, const QVariant& value, int role) override; 29 | 30 | bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) override; 31 | bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex()); 32 | 33 | Qt::ItemFlags flags(const QModelIndex& index)const override; 34 | Qt::DropActions supportedDropActions() const override; 35 | 36 | protected: 37 | QList m_nodeList; 38 | 39 | }; 40 | 41 | #endif 42 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlConfig.h: -------------------------------------------------------------------------------- 1 | #ifndef QMLCONFIG_H 2 | #define QMLCONFIG_H 3 | 4 | #include "TableViewModel.h" 5 | //#include "QCatGrayListModel.h" 6 | #include "QCatGrayTreeModel.h" 7 | #include "QCatGrayModelTools.h" 8 | #include "QCatGrayChatStruct.h" 9 | #include "QCatGrayQuickChatModel.h" 10 | #include 11 | #include 12 | #include 13 | 14 | 15 | namespace QmlConfig { 16 | 17 | static void moduleRegister() 18 | { 19 | qmlRegisterType("TableViewModel",1,0,"TableViewModel"); 20 | qmlRegisterType("CatTreeModel", 1, 0, "CatTreeModel"); 21 | qmlRegisterType("ModelTool", 1, 0, "ModelTool"); 22 | qmlRegisterType("QCatGrayChatStruct", 1, 0, "ChatStruct"); 23 | qmlRegisterType("QCatGrayQuickChatModel", 1, 0, "QCatGrayQuickChatModel"); 24 | } 25 | } 26 | 27 | #endif // QMLCONFIG_H 28 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/Common/CatTransArea.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | 3 | MouseArea { 4 | id: cattransarea 5 | anchors.fill: parent 6 | hoverEnabled: true 7 | 8 | property alias interval: timer.interval 9 | property bool isFirstClicked: false 10 | 11 | signal mouseDoubleClicked() 12 | 13 | onDoubleClicked: { mouse.accepted = false } 14 | onPositionChanged: { mouse.accepted = false } 15 | 16 | onPressed: { 17 | if(isFirstClicked) 18 | { 19 | mouseDoubleClicked() 20 | } else { 21 | isFirstClicked = true 22 | timer.start() 23 | } 24 | mouse.accepted = false 25 | } 26 | 27 | onPressAndHold: { mouse.accepted = false } 28 | 29 | onClicked: { 30 | mouse.accepted = false 31 | } 32 | 33 | onReleased: { 34 | mouse.accepted = false 35 | } 36 | 37 | onWheel: { wheel.accepted = false } 38 | 39 | Timer { 40 | id: timer 41 | interval: 200 42 | repeat: false 43 | triggeredOnStart: false 44 | running: false 45 | onTriggered: { 46 | isFirstClicked = false 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/CatTableViewCommon/QuickWidgetTableDataItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | import "../../" 4 | 5 | CatTableViewDelegateBase { 6 | id: root 7 | delegate: CatTableViewItemBase { 8 | datamodel: root.datamodel 9 | columnIndex: root.columnIndex 10 | rowIndex: index 11 | clip: true 12 | border.color: ProjectObject.lineColor 13 | border.width: 1 14 | color: ProjectObject.defaultRectangleColor 15 | Text { 16 | anchors.fill: parent 17 | verticalAlignment: Text.AlignVCenter 18 | horizontalAlignment: Text.AlignHCenter 19 | text: datamodel.getStruct(columnIndex).data[datamodel.headerTableData[rowIndex]] 20 | color: ProjectObject.defaultTextColor 21 | font.pixelSize: 16 22 | } 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/CatTableViewCommon/QuickWidgetTableHeaderItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import "../../" 3 | 4 | Rectangle { 5 | id: root 6 | readonly property var model: parent.parent.model 7 | readonly property int columnIndex: parent.parent.columnIndex 8 | readonly property int rowIndex: parent.parent.rowIndex 9 | readonly property var headerData: parent.parent.headerData 10 | Loader { 11 | id: itemLoader 12 | anchors.centerIn: parent 13 | sourceComponent: textstate 14 | } 15 | 16 | Component { 17 | id: textstate 18 | Text { 19 | id: tabletext 20 | anchors.fill: parent 21 | verticalAlignment: Text.AlignVCenter 22 | horizontalAlignment: Text.AlignHCenter 23 | text: headerData ? headerData[rowIndex] : "" 24 | color: ProjectObject.defaultTextColor 25 | 26 | font.pixelSize: 16 27 | } 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoImageFlicker.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageFlicker { 10 | anchors.centerIn: parent 11 | source: ProjectObject.resourcePath + "qt_logo.png" 12 | width: 250 13 | height: 250 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoImageFlickerGradient.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageFlickerGradient { 10 | anchors.centerIn: parent 11 | source: ProjectObject.resourcePath + "qt_logo.png" 12 | width: 250 13 | height: 250 14 | } 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoImageFlipable.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageFlipable { 10 | anchors.centerIn: parent 11 | fronturl: ProjectObject.resourcePath + "qt_logo.png" 12 | backurl: ProjectObject.resourcePath + "qt_logo.png" 13 | width: 250 14 | height: 250 15 | } 16 | 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoImageScale.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageScale { 10 | anchors.centerIn: parent 11 | source: ProjectObject.resourcePath + "qt_logo.png" 12 | width: 250 13 | height: 250 14 | animation_running: true 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoLottie.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Layouts 1.1 3 | import QCatGrayQuick 1.0 4 | import "../" 5 | import LottieCompat 1.0 as Lottie 6 | 7 | Rectangle { 8 | //id: demoimageflipable 9 | color: "transparent" 10 | 11 | Lottie.LottieAnimation { 12 | id: lottieAnim 13 | anchors.centerIn: parent 14 | width: implicitWidth 15 | height: implicitHeight 16 | source: "qrc:/Lottie/Lottie_404.json" 17 | running: true 18 | clearBeforeRendering: true 19 | speed: 1 20 | loops: Animation.Infinite 21 | fillMode: Image.Stretch 22 | reverse: false 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoQParentQrenCode.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | import QParentQrenCode 1.0 4 | import "../" 5 | 6 | Rectangle { 7 | id: root 8 | //id: demoimageflipable 9 | color: "transparent" 10 | 11 | property string textcode: "graycatya" 12 | 13 | signal setTextCode(string str) 14 | Rectangle { 15 | id : rectroot 16 | width: 250; 17 | height: 250; 18 | color: ProjectObject.controlRectangleColor 19 | radius: 5 20 | anchors.centerIn: parent 21 | ParentQrenCode { 22 | id: qrencode 23 | //anchors.centerIn: rectroot 24 | anchors.fill: parent 25 | //anchors.margins: 5 26 | qrmode: ParentQrenCode.MODE_8; 27 | qrlevel: ParentQrenCode.LEVEL_Q; 28 | backgroundColor: ProjectObject.defaultRectangleColor 29 | qrencodeColor: ProjectObject.controlNameColor 30 | casesen: true; 31 | text: root.textcode; 32 | } 33 | } 34 | 35 | onSetTextCode: { 36 | qrencode.text = str; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/ControlDemos/DemoTextOneByOneShow.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Layouts 1.12 3 | import QCatGrayQuick 1.0 4 | import "../" 5 | 6 | Item { 7 | TextOneByOneShow { 8 | anchors.centerIn: parent 9 | color: ProjectObject.controlNameColor 10 | text.font.pixelSize: 32 11 | text.font.family: ProjectObject.fontFamily 12 | text.font.bold: true 13 | textVar: ["H", "e", "l", "l", "o", " ", "Q", "t", "!"] 14 | width: 300 15 | height: 40 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/MoreFunctionViews/LicenceItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Controls 2.12 3 | //import QtWebEngine 1.8 4 | import "../" 5 | 6 | Item { 7 | id: licenceitem 8 | 9 | Loader { 10 | id: licenceLoader 11 | anchors.fill: licenceitem 12 | asynchronous: true 13 | visible: status == Loader.Ready 14 | onProgressChanged: { 15 | console.log("Licence Progress: " + progress) 16 | } 17 | } 18 | 19 | Component.onCompleted: { 20 | if(catconfig.qtWebEngine()) 21 | { 22 | licenceLoader.source = "./WebEngineLicence.qml"; 23 | } else { 24 | licenceLoader.source = "./WebKitLicence.qml"; 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/MoreFunctionViews/WebEngineLicence.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Controls 2.12 3 | import QtWebEngine 1.8 4 | 5 | Item { 6 | id: webengineLicence 7 | WebEngineView { 8 | id: licencetext 9 | anchors.fill: parent 10 | anchors.bottomMargin: 10 11 | url: "qrc:/Licence/Licence.html" 12 | backgroundColor: "transparent" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/MoreFunctionViews/WebKitLicence.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QtQuick.Controls 2.12 3 | import "../" 4 | 5 | Item { 6 | id: webkitLicence 7 | clip: true 8 | 9 | Text { 10 | anchors.fill: parent 11 | //textFormat: Text.RichText 12 | text: "CatLearnQt(GPL v3)" 13 | wrapMode: Text.WordWrap //换行 14 | font.pixelSize: 24 15 | font.family: ProjectObject.fontFamily 16 | color: ProjectObject.defaultTextColor 17 | clip: true 18 | verticalAlignment: Text.AlignVCenter 19 | horizontalAlignment: Text.AlignHCenter 20 | 21 | } 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt5Compat/qmldir: -------------------------------------------------------------------------------- 1 | singleton ProjectObject 1.0 ProjectObject.qml 2 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/Common/CatTransArea.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | 3 | MouseArea { 4 | id: cattransarea 5 | anchors.fill: parent 6 | hoverEnabled: true 7 | 8 | property alias interval: timer.interval 9 | property bool isFirstClicked: false 10 | 11 | signal mouseDoubleClicked() 12 | 13 | onDoubleClicked: { mouse.accepted = false } 14 | onPositionChanged: { mouse.accepted = false } 15 | 16 | onPressed: { 17 | if(isFirstClicked) 18 | { 19 | mouseDoubleClicked() 20 | } else { 21 | isFirstClicked = true 22 | timer.start() 23 | } 24 | mouse.accepted = false 25 | } 26 | 27 | onPressAndHold: { mouse.accepted = false } 28 | 29 | onClicked: { 30 | mouse.accepted = false 31 | } 32 | 33 | onReleased: { 34 | mouse.accepted = false 35 | } 36 | 37 | onWheel: { wheel.accepted = false } 38 | 39 | Timer { 40 | id: timer 41 | interval: 200 42 | repeat: false 43 | triggeredOnStart: false 44 | running: false 45 | onTriggered: { 46 | isFirstClicked = false 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/CatTableViewCommon/QuickWidgetTableDataItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QCatGrayQuick 3 | import "../../" 4 | 5 | CatTableViewDelegateBase { 6 | id: root 7 | delegate: CatTableViewItemBase { 8 | datamodel: root.datamodel 9 | columnIndex: root.columnIndex 10 | rowIndex: index 11 | clip: true 12 | border.color: ProjectObject.lineColor 13 | border.width: 1 14 | color: ProjectObject.defaultRectangleColor 15 | Text { 16 | anchors.fill: parent 17 | verticalAlignment: Text.AlignVCenter 18 | horizontalAlignment: Text.AlignHCenter 19 | text: datamodel.getStruct(columnIndex).data[datamodel.headerTableData[rowIndex]] 20 | color: ProjectObject.defaultTextColor 21 | font.pixelSize: 16 22 | } 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/CatTableViewCommon/QuickWidgetTableHeaderItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import "../../" 3 | 4 | Rectangle { 5 | id: root 6 | readonly property var model: parent.parent.model 7 | readonly property int columnIndex: parent.parent.columnIndex 8 | readonly property int rowIndex: parent.parent.rowIndex 9 | readonly property var headerData: parent.parent.headerData 10 | Loader { 11 | id: itemLoader 12 | anchors.centerIn: parent 13 | sourceComponent: textstate 14 | } 15 | 16 | Component { 17 | id: textstate 18 | Text { 19 | id: tabletext 20 | anchors.fill: parent 21 | verticalAlignment: Text.AlignVCenter 22 | horizontalAlignment: Text.AlignHCenter 23 | text: headerData ? headerData[rowIndex] : "" 24 | color: ProjectObject.defaultTextColor 25 | 26 | font.pixelSize: 16 27 | } 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoImageFlicker.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QCatGrayQuick 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageFlicker { 10 | anchors.centerIn: parent 11 | source: ProjectObject.resourcePath + "qt_logo.png" 12 | width: 250 13 | height: 250 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoImageFlickerGradient.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QCatGrayQuick 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageFlickerGradient { 10 | anchors.centerIn: parent 11 | source: ProjectObject.resourcePath + "qt_logo.png" 12 | width: 250 13 | height: 250 14 | } 15 | 16 | } 17 | 18 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoImageFlipable.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QCatGrayQuick 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageFlipable { 10 | anchors.centerIn: parent 11 | fronturl: ProjectObject.resourcePath + "qt_logo.png" 12 | backurl: ProjectObject.resourcePath + "qt_logo.png" 13 | width: 250 14 | height: 250 15 | } 16 | 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoImageScale.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QCatGrayQuick 3 | import "../" 4 | 5 | Rectangle { 6 | //id: demoimageflipable 7 | color: "transparent" 8 | 9 | ImageScale { 10 | anchors.centerIn: parent 11 | source: ProjectObject.resourcePath + "qt_logo.png" 12 | width: 250 13 | height: 250 14 | animation_running: true 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoLottie.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Layouts 3 | import QCatGrayQuick 4 | import "../" 5 | import LottieCompat as Lottie 6 | 7 | Rectangle { 8 | //id: demoimageflipable 9 | color: "transparent" 10 | 11 | Lottie.LottieAnimation { 12 | id: lottieAnim 13 | anchors.centerIn: parent 14 | width: implicitWidth 15 | height: implicitHeight 16 | source: "qrc:/Lottie/Lottie_404.json" 17 | running: true 18 | clearBeforeRendering: true 19 | speed: 1 20 | loops: Animation.Infinite 21 | fillMode: Image.Stretch 22 | reverse: false 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoQParentQrenCode.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QCatGrayQuick 3 | import QParentQrenCode 4 | import "../" 5 | 6 | Rectangle { 7 | id: root 8 | //id: demoimageflipable 9 | color: "transparent" 10 | 11 | property string textcode: "graycatya" 12 | 13 | signal setTextCode(string str) 14 | Rectangle { 15 | id : rectroot 16 | width: 250; 17 | height: 250; 18 | color: ProjectObject.controlRectangleColor 19 | radius: 5 20 | anchors.centerIn: parent 21 | ParentQrenCode { 22 | id: qrencode 23 | //anchors.centerIn: rectroot 24 | anchors.fill: parent 25 | //anchors.margins: 5 26 | qrmode: ParentQrenCode.MODE_8; 27 | qrlevel: ParentQrenCode.LEVEL_Q; 28 | backgroundColor: ProjectObject.defaultRectangleColor 29 | qrencodeColor: ProjectObject.controlNameColor 30 | casesen: true; 31 | text: root.textcode; 32 | } 33 | } 34 | 35 | onSetTextCode: { 36 | qrencode.text = str; 37 | } 38 | 39 | } 40 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/ControlDemos/DemoTextOneByOneShow.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Layouts 3 | import QCatGrayQuick 4 | import "../" 5 | 6 | Item { 7 | TextOneByOneShow { 8 | anchors.centerIn: parent 9 | color: ProjectObject.controlNameColor 10 | text.font.pixelSize: 32 11 | text.font.family: ProjectObject.fontFamily 12 | text.font.bold: true 13 | textVar: ["H", "e", "l", "l", "o", " ", "Q", "t", "!"] 14 | width: 300 15 | height: 40 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/MoreFunctionViews/LicenceItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Controls 3 | //import QtWebEngine 4 | import "../" 5 | 6 | Item { 7 | id: licenceitem 8 | 9 | Loader { 10 | id: licenceLoader 11 | anchors.fill: licenceitem 12 | asynchronous: true 13 | visible: status == Loader.Ready 14 | onProgressChanged: { 15 | console.log("Licence Progress: " + progress) 16 | } 17 | } 18 | 19 | Component.onCompleted: { 20 | if(catconfig.qtWebEngine()) 21 | { 22 | licenceLoader.source = "./WebEngineLicence.qml"; 23 | } else { 24 | licenceLoader.source = "./WebKitLicence.qml"; 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/MoreFunctionViews/WebEngineLicence.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Controls 3 | import QtWebEngine 4 | 5 | Item { 6 | id: webengineLicence 7 | WebEngineView { 8 | id: licencetext 9 | anchors.fill: parent 10 | anchors.bottomMargin: 10 11 | url: "qrc:/Licence/Licence.html" 12 | backgroundColor: "transparent" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/MoreFunctionViews/WebKitLicence.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2 | import QtQuick.Controls 3 | import "../" 4 | 5 | Item { 6 | id: webkitLicence 7 | clip: true 8 | 9 | Text { 10 | anchors.fill: parent 11 | //textFormat: Text.RichText 12 | text: "CatLearnQt(GPL v3)" 13 | wrapMode: Text.WordWrap //换行 14 | font.pixelSize: 24 15 | font.family: ProjectObject.fontFamily 16 | color: ProjectObject.defaultTextColor 17 | clip: true 18 | verticalAlignment: Text.AlignVCenter 19 | horizontalAlignment: Text.AlignHCenter 20 | 21 | } 22 | 23 | 24 | } 25 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/QmlSrc/Qt6Compat/qmldir: -------------------------------------------------------------------------------- 1 | singleton ProjectObject 1.0 ProjectObject.qml 2 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Etc/qt.conf: -------------------------------------------------------------------------------- 1 | # Generated by linuxdeployqt 2 | # https://github.com/probonopd/linuxdeployqt/ 3 | [Paths] 4 | Prefix = ..\\ 5 | Plugins = ..\\plugins 6 | Imports = ..\\qml 7 | Qml2Imports = ..\\qml 8 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/About_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/About_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/AddImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/AddImage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/BarChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/BarChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatCalendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatCalendar.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatECharts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatECharts.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatMessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatMessage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatQuickExamples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatQuickExamples.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatRectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatRectangle.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatSideColumn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatSideColumn.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatSorter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatSorter.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatTable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatTable.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatTreeView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CatTreeView.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Chat.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ClearImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ClearImage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CodeChina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/CodeChina.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Demonstrate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Demonstrate.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Demonstrate.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_0.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_1.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_2.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Function_3.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Gitee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Gitee.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Github.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/GridLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/GridLayout.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageFlicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageFlicker.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageFlickerGradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageFlickerGradient.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageFlipable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageFlipable.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageMove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageMove.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageScale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ImageScale.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/KChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/KChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LeftButton_default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LeftButton_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LeftLeftButton_default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LeftLeftButton_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Licence_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Licence_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LineChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LineChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ListLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ListLayout.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LottieQml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/LottieQml.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Marquee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Marquee.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/MoreClose_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/MoreClose_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/MoreClose_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/MoreClose_hover.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/More_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/More_blue.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/More_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/More_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/More_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/More_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Raspi-PGB001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Raspi-PGB001.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Return.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/RightButton_default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/RightButton_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ScatterChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/ScatterChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SearchInput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SearchInput.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Setting_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/Setting_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterNextButtonDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterNextButtonDefault.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterNextButtonHove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterNextButtonHove.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterNextButtonPressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterNextButtonPressed.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterPreviousButtonDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterPreviousButtonDefault.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterPreviousButtonHover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterPreviousButtonHover.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterPreviousButtonPressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterPreviousButtonPressed.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterSkitNextButtonDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SorterSkitNextButtonDefault.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SubtractImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/SubtractImage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TextOneByOneShow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TextOneByOneShow.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TreeButton_fold_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TreeButton_fold_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TreeButton_unfold_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TreeButton_unfold_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TreeLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/TreeLayout.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/about_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/about_blue.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/about_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/about_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/about_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/about_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/checkbox_false.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/checkbox_true.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/close_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/close_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/close_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/close_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/language_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/language_blue.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/language_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/language_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/language_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/language_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/last_triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/last_triangle.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/max_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/max_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/max_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/max_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_close.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_error.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_info.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_succeed.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/message_warning.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/minimal_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/minimal_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/minimal_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/minimal_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/next_triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/next_triangle.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/normal_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/normal_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/normal_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/normal_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/portrait.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/setting_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/setting_blue.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/setting_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/setting_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/setting_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/setting_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_blue.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_blue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/Black/style_white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/About_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/About_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/AddImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/AddImage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/BarChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/BarChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatCalendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatCalendar.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatECharts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatECharts.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatMessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatMessage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatQuickExamples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatQuickExamples.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatRectangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatRectangle.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatSideColumn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatSideColumn.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatSorter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatSorter.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatTable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatTable.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatTreeView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CatTreeView.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Chat.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ClearImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ClearImage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/CodeChina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/CodeChina.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Demonstrate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Demonstrate.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Demonstrate.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_0.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_1.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_2.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Function_3.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Gitee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Gitee.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Github.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/GridLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/GridLayout.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageFlicker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageFlicker.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageFlickerGradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageFlickerGradient.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageFlipable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageFlipable.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageMove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageMove.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageScale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ImageScale.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/KChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/KChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/LeftButton_default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/LeftButton_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/LeftLeftButton_default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/LeftLeftButton_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Licence_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Licence_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/LineChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/LineChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ListLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ListLayout.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/LottieQml.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/LottieQml.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Marquee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Marquee.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/MoreClose_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/MoreClose_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/MoreClose_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/MoreClose_hover.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/More_blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/More_blue.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/More_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/More_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/More_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/More_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Raspi-PGB001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Raspi-PGB001.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Return.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Return.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/RightButton_default.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/RightButton_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/ScatterChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/ScatterChart.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SearchInput.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SearchInput.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/Setting_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/Setting_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterNextButtonDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterNextButtonDefault.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterNextButtonHove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterNextButtonHove.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterNextButtonPressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterNextButtonPressed.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonDefault.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonHove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonHove.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonHover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonHover.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonPressed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterPreviousButtonPressed.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterSkitNextButtonDefault.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SorterSkitNextButtonDefault.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/SubtractImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/SubtractImage.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/TextOneByOneShow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/TextOneByOneShow.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/TreeButton_fold_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/TreeButton_fold_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/TreeButton_unfold_default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/TreeButton_unfold_default.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/TreeLayout.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/TreeLayout.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/checkbox_false.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/checkbox_true.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/close_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/close_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/close_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/close_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/last_triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/last_triangle.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/max_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/max_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/max_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/max_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_close.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_error.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_info.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_succeed.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/message_warning.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/minimal_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/minimal_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/minimal_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/minimal_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/next_triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/next_triangle.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/normal_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/normal_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/normal_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/normal_white.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/White/portrait.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/style_blue.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/style_gray.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/White/style_white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/applogo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/applogo.ico -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/cqlogo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/cqlogo.ico -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/Images/qt_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayQuickExamples/Project/Resource/Images/qt_logo.png -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Resource/app_win32.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | 3 | IDI_ICON1 ICON "Resource/Images/cqlogo.ico" 4 | IDI_ICON2 ICON "Resource/Images/cqlogo.ico" 5 | 6 | VS_VERSION_INFO VERSIONINFO 7 | FILEVERSION 1,2,0,0 8 | PRODUCTVERSION 1,2,0,0 9 | FILEFLAGS 0x0L 10 | FILEFLAGSMASK 0x3fL 11 | FILEOS VOS_NT_WINDOWS32 12 | FILETYPE VFT_APP 13 | FILESUBTYPE VFT2_UNKNOWN 14 | BEGIN 15 | BLOCK "StringFileInfo" 16 | BEGIN 17 | BLOCK "000004b0" 18 | BEGIN 19 | VALUE "CompanyName", "GrayCatYa" 20 | VALUE "FileDescription", "CatQuickExamples" 21 | VALUE "FileVersion", "1.2.0.0" 22 | VALUE "LegalCopyright", "Copyright (C) 2022 GrayCatYa" 23 | VALUE "InternalName", "CatQuickExamples" 24 | VALUE "OriginalFilename", "CatQuickExamples" 25 | VALUE "ProductName", "CatQuickExamples" 26 | VALUE "ProductVersion", "1.2.0.0" 27 | END 28 | END 29 | BLOCK "VarFileInfo" 30 | BEGIN 31 | VALUE "Translation", 0x0, 1200 32 | END 33 | END -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Src/TableFunction/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(TableFunction LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | 15 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core Gui Qml) 16 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Gui Qml) 17 | 18 | file(GLOB SRC_LIST 19 | "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 20 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" 21 | ) 22 | 23 | 24 | add_library(${PROJECT_NAME}_a STATIC ${SRC_LIST}) 25 | 26 | 27 | add_library(${PROJECT_NAME} SHARED ${SRC_LIST}) 28 | 29 | 30 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Qml) 31 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Core) 32 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Gui) 33 | 34 | 35 | target_link_libraries(${PROJECT_NAME}_a PRIVATE Qt${QT_VERSION_MAJOR}::Qml) 36 | target_link_libraries(${PROJECT_NAME}_a PRIVATE Qt${QT_VERSION_MAJOR}::Core) 37 | target_link_libraries(${PROJECT_NAME}_a PRIVATE Qt${QT_VERSION_MAJOR}::Gui) 38 | 39 | 40 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 41 | target_include_directories(${PROJECT_NAME}_a PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Src/WebChannelFunction/CatEchatswebChannel.cpp: -------------------------------------------------------------------------------- 1 | #include "CatEchatswebChannel.h" 2 | #include 3 | 4 | CatEchatswebChannel::CatEchatswebChannel() 5 | { 6 | 7 | } 8 | 9 | CatEchatswebChannel::~CatEchatswebChannel() 10 | { 11 | 12 | } 13 | 14 | void CatEchatswebChannel::sendMessage(const QJsonObject &message) 15 | { 16 | QJsonDocument doc(message); 17 | emit messageChanged(QString::fromUtf8(doc.toJson(QJsonDocument::Compact))); 18 | } 19 | 20 | void CatEchatswebChannel::textMessageReceive(const QString &messageData) 21 | { 22 | QJsonParseError error; 23 | QJsonDocument message = QJsonDocument::fromJson(messageData.toUtf8(), &error); 24 | if (error.error) 25 | { 26 | qWarning() << "Failed to parse text message as JSON object:" << messageData 27 | << "Error is:" << error.errorString(); 28 | return; 29 | } else if (!message.isObject()) 30 | { 31 | qWarning() << "Received JSON message that is not an object: " << messageData; 32 | return; 33 | } 34 | emit messageReceived(message.object(), this); 35 | } 36 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/Project/Src/WebChannelFunction/CatEchatswebChannel.h: -------------------------------------------------------------------------------- 1 | #ifndef CATECHATSWEBCHANNEL_H 2 | #define CATECHATSWEBCHANNEL_H 3 | 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | #include 10 | 11 | 12 | class CatEchatswebChannel : public QWebChannelAbstractTransport 13 | { 14 | Q_OBJECT 15 | public: 16 | CatEchatswebChannel(); 17 | ~CatEchatswebChannel(); 18 | 19 | Q_INVOKABLE void sendMessage(const QJsonObject &message) override; 20 | 21 | Q_INVOKABLE void textMessageReceive(const QString &messageData); 22 | 23 | signals: 24 | void messageChanged(const QString &message); 25 | 26 | }; 27 | 28 | #endif // CATECHATSWEBCHANNEL_H 29 | -------------------------------------------------------------------------------- /examples/QCatGrayQuickExamples/README.md: -------------------------------------------------------------------------------- 1 | # QCatGrayQuickExamples 2 | 3 | QCatGrayQuickExamples is a sample program based on QtQuick. 4 | 5 | ## Achieve content 6 | 7 | | Controls | Explanation | 8 | |:--:|:--:| 9 | | ImageFlipable | Flip picture | 10 | | ImageFlicker | Flash picture | 11 | | ImageFlickerGradient | Picture flashing progressive | 12 | | ImageMove | Move picture | 13 | | ImageScale | zoom picture | 14 | | Marquee | Text scroll, barrage | 15 | | TextOneByOneShow | Show text one by one | 16 | | CatRectangle | Custom rounded rectangle, single rounded corner | 17 | | QParentQrenCode | qml QR code | 18 | | CatCalendar | Calendar module | 19 | | Image3dRotation | Picture 3d rotation | 20 | | CatECharts | WebEngine demo ECharts chart | 21 | | CatSideColumn | Sliding sidebar | 22 | | CatSorter | Sorter | 23 | | TableView | Form control | 24 | | CatTreeView | Tree control | 25 | | LottieQml | Lottie Animation | 26 | | CatChat | Chat control | 27 | | CatTableView | Table control | 28 | | CatMessage | UI message control | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatAbout.h: -------------------------------------------------------------------------------- 1 | #ifndef CATABOUT_H 2 | #define CATABOUT_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class CatAbout; 8 | } 9 | 10 | class QTextBrowser; 11 | class QTextEdit; 12 | 13 | class CatAbout : public QWidget 14 | { 15 | Q_OBJECT 16 | 17 | public: 18 | explicit CatAbout(QWidget *parent = nullptr); 19 | ~CatAbout(); 20 | 21 | private: 22 | void InitUi(); 23 | void InitProperty(); 24 | void InitConnect(); 25 | 26 | void UpdateStyle(); 27 | 28 | void retranslateUi(); 29 | 30 | protected: 31 | void changeEvent(QEvent *event) override; 32 | 33 | private: 34 | Ui::CatAbout *ui; 35 | QTextEdit *LicenceTextEdit; 36 | //QTextBrowser *ThankTextBrowser; 37 | }; 38 | 39 | #endif // CATABOUT_H 40 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatConfig/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(CatConfig LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Gui Widgets REQUIRED) 15 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui Widgets REQUIRED) 16 | 17 | 18 | file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 19 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") 20 | 21 | add_library(${PROJECT_NAME} STATIC ${SRC_LIST}) 22 | 23 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Core 24 | Qt${QT_VERSION_MAJOR}::Gui 25 | Qt${QT_VERSION_MAJOR}::Widgets 26 | QCatGrayUniversal_a) 27 | 28 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 29 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatGrayQuickWidget.h: -------------------------------------------------------------------------------- 1 | #ifndef CATGRAYQUICKWIDGET_H 2 | #define CATGRAYQUICKWIDGET_H 3 | 4 | #include 5 | #include 6 | 7 | class QCatGrayListingOptions; 8 | class QPushButton; 9 | 10 | class CatGrayQuickWidgetTest; 11 | class CatGrayQuickWidgetTableTest; 12 | 13 | namespace Ui { 14 | class CatGrayQuickWidget; 15 | } 16 | 17 | class CatGrayQuickWidget : public QWidget 18 | { 19 | Q_OBJECT 20 | 21 | public: 22 | explicit CatGrayQuickWidget(QWidget *parent = nullptr); 23 | ~CatGrayQuickWidget(); 24 | 25 | private: 26 | void InitUi(); 27 | void InitProperty(); 28 | void InitConnect(); 29 | 30 | void InitToolButtons(); 31 | void InitToolWidgets(); 32 | 33 | void UpdateStyle(); 34 | 35 | private slots: 36 | void On_ToolButtons(int); 37 | 38 | private: 39 | Ui::CatGrayQuickWidget *ui; 40 | QCatGrayListingOptions *m_pToolListiongOptions; 41 | QHash m_pToolButtons; 42 | CatGrayQuickWidgetTest *m_pCatGrayQuickWidgetTest; 43 | CatGrayQuickWidgetTableTest *m_pCatGrayQuickWidgetTableTest; 44 | }; 45 | 46 | #endif // CATGRAYQUICKWIDGET_H 47 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatGrayQuickWidget.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CatGrayQuickWidget 4 | 5 | 6 | 7 | 0 8 | 0 9 | 710 10 | 475 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 0 19 | 20 | 21 | 0 22 | 23 | 24 | 0 25 | 26 | 27 | 0 28 | 29 | 30 | 0 31 | 32 | 33 | 34 | 35 | 36 | 60 37 | 0 38 | 39 | 40 | 41 | 42 | 60 43 | 16777215 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatGrayQuickWidgetTools/CatGrayQuickWidgetTableTest.h: -------------------------------------------------------------------------------- 1 | #ifndef CATGRAYQUICKWIDGETTABLETEST_H 2 | #define CATGRAYQUICKWIDGETTABLETEST_H 3 | 4 | #include 5 | 6 | class QCatGrayQuickWidget; 7 | 8 | class CatGrayQuickWidgetTableTest : public QWidget 9 | { 10 | Q_OBJECT 11 | 12 | public: 13 | explicit CatGrayQuickWidgetTableTest(QWidget *parent = nullptr); 14 | ~CatGrayQuickWidgetTableTest(); 15 | 16 | private: 17 | void InitUi(); 18 | void InitProperty(); 19 | void InitConnect(); 20 | 21 | void UpdateStyle(); 22 | 23 | signals: 24 | void updateStyleed(int); 25 | 26 | private: 27 | QCatGrayQuickWidget *m_pCatGrayQuickWidget; 28 | }; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatGrayQuickWidgetTools/CatGrayQuickWidgetTest.h: -------------------------------------------------------------------------------- 1 | #ifndef CATGRAYQUICKWIDGETTEST_H 2 | #define CATGRAYQUICKWIDGETTEST_H 3 | 4 | 5 | #include 6 | 7 | class QCatGrayQuickWidget; 8 | 9 | class CatGrayQuickWidgetTest : public QWidget 10 | { 11 | Q_OBJECT 12 | 13 | public: 14 | explicit CatGrayQuickWidgetTest(QWidget *parent = nullptr); 15 | ~CatGrayQuickWidgetTest(); 16 | 17 | private: 18 | void InitUi(); 19 | void InitProperty(); 20 | void InitConnect(); 21 | 22 | void UpdateStyle(); 23 | 24 | signals: 25 | void updateStyleed(int); 26 | 27 | private: 28 | QCatGrayQuickWidget *m_pCatGrayQuickWidget; 29 | }; 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatQuickWidget.h: -------------------------------------------------------------------------------- 1 | #ifndef CATQUICKWIDGET_H 2 | #define CATQUICKWIDGET_H 3 | 4 | #include 5 | #include 6 | 7 | class QCatGrayListingOptions; 8 | class QPushButton; 9 | 10 | class QuickSliders; 11 | class QuickQrenCode; 12 | 13 | namespace Ui { 14 | class CatQuickWidget; 15 | } 16 | 17 | class CatQuickWidget : public QWidget 18 | { 19 | Q_OBJECT 20 | 21 | public: 22 | explicit CatQuickWidget(QWidget *parent = nullptr); 23 | ~CatQuickWidget(); 24 | 25 | private: 26 | void InitUi(); 27 | void InitProperty(); 28 | void InitConnect(); 29 | 30 | void InitToolButtons(); 31 | void InitToolWidgets(); 32 | 33 | void UpdateStyle(); 34 | 35 | private slots: 36 | void On_ToolButtons(int); 37 | 38 | private: 39 | Ui::CatQuickWidget *ui; 40 | QCatGrayListingOptions *m_pToolListiongOptions; 41 | QHash m_pToolButtons; 42 | QuickSliders *m_pQuickSliders; 43 | QuickQrenCode *m_pQuickQrenCode; 44 | 45 | }; 46 | 47 | #endif // CATQUICKWIDGET_H 48 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatQuickWidget.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CatQuickWidget 4 | 5 | 6 | 7 | 0 8 | 0 9 | 600 10 | 462 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 2 19 | 20 | 21 | 2 22 | 23 | 24 | 2 25 | 26 | 27 | 2 28 | 29 | 30 | 2 31 | 32 | 33 | 34 | 35 | 36 | 60 37 | 0 38 | 39 | 40 | 41 | 42 | 60 43 | 16777215 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatSettings.h: -------------------------------------------------------------------------------- 1 | #ifndef CATSETTINGS_H 2 | #define CATSETTINGS_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class CatSettings; 8 | } 9 | 10 | class CatSettings : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit CatSettings(QWidget *parent = nullptr); 16 | ~CatSettings(); 17 | 18 | private: 19 | void InitUi(); 20 | void InitProperty(); 21 | void InitConnect(); 22 | void InitSettings(); 23 | 24 | void UpdateStyle(); 25 | 26 | void SetSaveFilePathLineEdit(QString str); 27 | 28 | protected: 29 | void showEvent(QShowEvent *event) override; 30 | void changeEvent(QEvent *event) override; 31 | void resizeEvent(QResizeEvent *event) override; 32 | bool eventFilter(QObject *object, QEvent *event) override; 33 | 34 | private slots: 35 | void on_ChangeButton_clicked(); 36 | 37 | private: 38 | Ui::CatSettings *ui; 39 | bool m_bShowWidget; 40 | }; 41 | 42 | #endif // CATSETTINGS_H 43 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatWidget.h: -------------------------------------------------------------------------------- 1 | #ifndef CATWIDGET_H 2 | #define CATWIDGET_H 3 | 4 | #include 5 | #include 6 | 7 | class QCatGrayListingOptions; 8 | class QPushButton; 9 | 10 | namespace Ui { 11 | class CatWidget; 12 | } 13 | 14 | class CatWidget : public QWidget 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | explicit CatWidget(QWidget *parent = nullptr); 20 | ~CatWidget(); 21 | 22 | private: 23 | void InitUi(); 24 | void InitProperty(); 25 | void InitConnect(); 26 | 27 | void InitToolButtons(); 28 | void InitToolWidgets(); 29 | 30 | void UpdateStyle(); 31 | 32 | private slots: 33 | void On_ToolButtons(int); 34 | 35 | protected: 36 | bool eventFilter(QObject *watched, QEvent *event) override; 37 | 38 | private: 39 | Ui::CatWidget *ui; 40 | QCatGrayListingOptions *m_pToolListiongOptions; 41 | QHash m_pToolButtons; 42 | 43 | }; 44 | 45 | #endif // CATWIDGET_H 46 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/CatWidget.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CatWidget 4 | 5 | 6 | 7 | 0 8 | 0 9 | 733 10 | 517 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 2 19 | 20 | 21 | 2 22 | 23 | 24 | 2 25 | 26 | 27 | 2 28 | 29 | 30 | 2 31 | 32 | 33 | 34 | 35 | 36 | 60 37 | 0 38 | 39 | 40 | 41 | 42 | 60 43 | 16777215 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/QuickWidgetTools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(QuickWidgetTools LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | 15 | find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Gui Widgets Quick QuickWidgets REQUIRED) 16 | find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Gui Widgets Quick QuickWidgets REQUIRED) 17 | 18 | file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 19 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" 20 | "${CMAKE_CURRENT_SOURCE_DIR}/*.ui") 21 | 22 | add_library(${PROJECT_NAME} STATIC ${SRC_LIST}) 23 | 24 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Core 25 | Qt${QT_VERSION_MAJOR}::Gui 26 | Qt${QT_VERSION_MAJOR}::Widgets 27 | Qt${QT_VERSION_MAJOR}::Quick 28 | Qt${QT_VERSION_MAJOR}::QuickWidgets 29 | QCatGrayQrenCode_a 30 | QCatGrayQuickQrenCodeQml_a 31 | QCatGrayUniversal_a) 32 | 33 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 34 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/QuickWidgetTools/QuickQrenCode.cpp: -------------------------------------------------------------------------------- 1 | #include "QuickQrenCode.h" 2 | #include "ui_QuickQrenCode.h" 3 | #include "QCatGrayQuickQrenCodeQml.h" 4 | 5 | 6 | QuickQrenCode::QuickQrenCode(QWidget *parent) : 7 | QWidget(parent), 8 | ui(new Ui::QuickQrenCode) 9 | { 10 | ui->setupUi(this); 11 | InitProperty(); 12 | InitConnect(); 13 | } 14 | 15 | QuickQrenCode::~QuickQrenCode() 16 | { 17 | delete ui; 18 | } 19 | 20 | void QuickQrenCode::InitProperty() 21 | { 22 | qmlRegisterType("QParentQrenCode", 1, 0, "ParentQrenCode"); 23 | QUrl source("qrc:/qml/CatQrenCode.qml"); 24 | //this->setWindowFlag(Qt::FramelessWindowHint); 25 | //setAttribute(Qt::WA_TranslucentBackground, true); 26 | // 如果此属性设置为SizeRootObjectToView,视图将自动将根项调整为视图的大小。 27 | //ui->QuickQrenCodeWidget->setResizeMode(QQuickWidget::SizeRootObjectToView); 28 | ui->QuickQrenCodeWidget->setSource(source); 29 | ui->QuickQrenCodeWidget->setClearColor(QColor(Qt::transparent)); 30 | 31 | } 32 | 33 | void QuickQrenCode::InitConnect() 34 | { 35 | QQuickItem *item = ui->QuickQrenCodeWidget->rootObject(); 36 | connect(ui->QrenCodeEdit, SIGNAL(textEdited(QString)), item, SIGNAL(setTextCode(QString))); 37 | ui->QrenCodeEdit->setText("www.graycatya.com"); 38 | } 39 | 40 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/QuickWidgetTools/QuickQrenCode.h: -------------------------------------------------------------------------------- 1 | #ifndef QUICKQRENCODE_H 2 | #define QUICKQRENCODE_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class QuickQrenCode; 8 | } 9 | 10 | class QuickQrenCode : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit QuickQrenCode(QWidget *parent = nullptr); 16 | ~QuickQrenCode(); 17 | 18 | private: 19 | void InitProperty(); 20 | void InitConnect(); 21 | 22 | 23 | private: 24 | Ui::QuickQrenCode *ui; 25 | }; 26 | 27 | #endif // QUICKQRENCODE_H 28 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/QuickWidgetTools/QuickSliders.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | QuickSliders 4 | 5 | 6 | 7 | 0 8 | 0 9 | 565 10 | 453 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 0 19 | 20 | 21 | 5 22 | 23 | 24 | 5 25 | 26 | 27 | 5 28 | 29 | 30 | 5 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | QQuickWidget::SizeRootObjectToView 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | QQuickWidget 47 | QWidget 48 |
QtQuickWidgets/QQuickWidget
49 |
50 |
51 | 52 | 53 |
54 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/README.md: -------------------------------------------------------------------------------- 1 | # QCatGrayWidgetExamples 2 | 3 | QCatGrayWidgetExamples is a sample program based on QWidget and QGraphicsView. 4 | 5 | ## Achieve content 6 | 7 | QCatGrayWidgetExamples provides the QWidget control and the QGraphicsView artboard, and provides the QQuickWidget control examples. QWidget nesting QQuickView implementation is also provided to improve QQuick's performance in QWidget. -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/BelowHover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/BelowHover.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/BelowNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/BelowNormal.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/AboutLeftArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/AboutLeftArrow.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/AboutRightArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/AboutRightArrow.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardBrushes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardBrushes.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardClear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardClear.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardErasure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardErasure.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardReset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardReset.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardSelect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardSelect.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardZoomIn.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/BoardZoomOut.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CATicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CATicon.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatLearnQt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatLearnQt.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatQcustomplot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatQcustomplot.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatSettings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatSettings.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatWidgetExamples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CatWidgetExamples.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CheckOff_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CheckOff_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CheckOff_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CheckOff_orange.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CheckOn_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CheckOn_orange.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Close.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CodeChina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/CodeChina.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Compass.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Gitee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Gitee.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Github.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Home.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/ImageTools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/ImageTools.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Inputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Inputs.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/MagnifyingGlassTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/MagnifyingGlassTool.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/MaximizeMax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/MaximizeMax.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/MaximizeMin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/MaximizeMin.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Minimize.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/PagingNavigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/PagingNavigation.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Protractor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Protractor.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/PullDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/PullDown.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/PullUp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/PullUp.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/QcustomplotBarGraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/QcustomplotBarGraph.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/QcustomplotLineChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/QcustomplotLineChart.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/QrenCode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/QrenCode.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/RimlessWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/RimlessWindow.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Ruler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Ruler.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/ScreenShotTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/ScreenShotTool.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideCloseButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideCloseButton.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideColumn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideColumn.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideOpenButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideOpenButton.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideTestButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SideTestButton.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SliderTools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SliderTools.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SpotLightTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/SpotLightTool.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/TableView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/TableView.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Test.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Trangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatGray/Trangle.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/AboutLeftArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/AboutLeftArrow.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/AboutRightArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/AboutRightArrow.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardBrushes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardBrushes.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardClear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardClear.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardErasure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardErasure.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardReset.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardReset.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardSelect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardSelect.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardZoomIn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardZoomIn.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardZoomOut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/BoardZoomOut.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CATicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CATicon.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatLearnQt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatLearnQt.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatQcustomplot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatQcustomplot.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatSettings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatSettings.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatWidgetExamples.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CatWidgetExamples.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CheckOff_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CheckOff_gray.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CheckOff_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CheckOff_orange.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CheckOn_orange.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CheckOn_orange.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Close.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Close_Gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Close_Gray.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CodeChina.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/CodeChina.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Compass.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Compass.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Gitee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Gitee.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Github.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Home.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/ImageTools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/ImageTools.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Inputs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Inputs.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/MagnifyingGlassTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/MagnifyingGlassTool.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/MaximizeMax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/MaximizeMax.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/MaximizeMin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/MaximizeMin.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Minimize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Minimize.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/PagingNavigation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/PagingNavigation.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Protractor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Protractor.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/PullDown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/PullDown.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/PullUp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/PullUp.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/QcustomplotBarGraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/QcustomplotBarGraph.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/QcustomplotLineChart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/QcustomplotLineChart.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/QrenCode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/QrenCode.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/RimlessWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/RimlessWindow.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Ruler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Ruler.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/ScreenShotTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/ScreenShotTool.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideCloseButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideCloseButton.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideColumn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideColumn.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideOpenButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideOpenButton.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideTestButton.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SideTestButton.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SliderTools.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SliderTools.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SpotLightTool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/SpotLightTool.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/TableView.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/TableView.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Test.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Trangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CatWhite/Trangle.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CheckOff_Hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CheckOff_Hover.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CheckOff_Normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CheckOff_Normal.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CheckOn_All.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CheckOn_All.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/CheckOn_Partially.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/CheckOn_Partially.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/UpHover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/UpHover.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/UpNormal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/UpNormal.png -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/applogo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/applogo.ico -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/Images/cwlogo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/graycatya/CatLearnQt/5cbb589871c106310a78c2932374d0f43773a638/examples/QCatGrayWidgetExamples/Resource/Images/cwlogo.ico -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/about/explain/explain_cn.md: -------------------------------------------------------------------------------- 1 | 本软件是用来学习Qt开发的. -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/about/explain/explain_en.md: -------------------------------------------------------------------------------- 1 | This software is used to learn Qt development. -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/app_win32.rc: -------------------------------------------------------------------------------- 1 | #include "winver.h" 2 | 3 | IDI_ICON1 ICON "Resource/Images/cwlogo.ico" 4 | IDI_ICON2 ICON "Resource/Images/cwlogo.ico" 5 | 6 | VS_VERSION_INFO VERSIONINFO 7 | FILEVERSION 1,2,0,0 8 | PRODUCTVERSION 1,2,0,0 9 | FILEFLAGS 0x0L 10 | FILEFLAGSMASK 0x3fL 11 | FILEOS VOS_NT_WINDOWS32 12 | FILETYPE VFT_APP 13 | FILESUBTYPE VFT2_UNKNOWN 14 | BEGIN 15 | BLOCK "StringFileInfo" 16 | BEGIN 17 | BLOCK "000004b0" 18 | BEGIN 19 | VALUE "CompanyName", "GrayCatYa" 20 | VALUE "FileDescription", "CatWidgetExamples" 21 | VALUE "FileVersion", "1.2.0.0" 22 | VALUE "LegalCopyright", "Copyright (C) 2022 GrayCatYa" 23 | VALUE "InternalName", "CatWidgetExamples" 24 | VALUE "OriginalFilename", "CatWidgetExamples" 25 | VALUE "ProductName", "CatWidgetExamples" 26 | VALUE "ProductVersion", "1.2.0.0" 27 | END 28 | END 29 | BLOCK "VarFileInfo" 30 | BEGIN 31 | VALUE "Translation", 0x0, 1200 32 | END 33 | END -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/etc/qt.conf: -------------------------------------------------------------------------------- 1 | # Generated by linuxdeployqt 2 | # https://github.com/probonopd/linuxdeployqt/ 3 | [Paths] 4 | Prefix = ..\\ 5 | Plugins = ..\\plugins 6 | Imports = ..\\qml 7 | Qml2Imports = ..\\qml 8 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qml/CatGrayQuickWidgetTest.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | 4 | Rectangle { 5 | id: root 6 | 7 | signal updateStyle(int index) 8 | 9 | color: StyleConfig.backColor 10 | 11 | Text { 12 | text: "test..." 13 | anchors.centerIn: parent 14 | font.pixelSize: 30 15 | font.bold: true 16 | color: StyleConfig.textColor 17 | } 18 | 19 | CatFps { 20 | id: catfps 21 | anchors.right: parent.right 22 | anchors.top: parent.top 23 | anchors.rightMargin: 5 24 | anchors.topMargin: 5 25 | gradient0Color: StyleConfig.fpsgradient0Color 26 | gradient1Color: StyleConfig.fpsgradient1Color 27 | //width: 120 28 | height: 32 29 | } 30 | 31 | onUpdateStyle: function(index) { 32 | console.log("onUpdateStyle: " + index) 33 | StyleConfig.currentTheme = index; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qml/CatQrenCode.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QParentQrenCode 1.0 3 | 4 | Item { 5 | id: root 6 | property string textcode: "graycatya" 7 | 8 | signal setTextCode(string str) 9 | Rectangle { 10 | id : rectroot 11 | width: parent.width; 12 | height: parent.height; 13 | color: "white"; 14 | anchors.centerIn: parent 15 | ParentQrenCode { 16 | id: qrencode 17 | //anchors.centerIn: rectroot 18 | width: root.width; 19 | height: root.height; 20 | qrmode: ParentQrenCode.MODE_8; 21 | qrlevel: ParentQrenCode.LEVEL_Q; 22 | casesen: true; 23 | text: root.textcode; 24 | } 25 | } 26 | 27 | 28 | onWidthChanged: { 29 | rectroot.width = root.width; 30 | rectroot.height = root.height; 31 | qrencode.x = 5; 32 | qrencode.y = 5; 33 | qrencode.width = root.width - 10; 34 | qrencode.height = root.height - 10; 35 | } 36 | 37 | onHeightChanged: { 38 | rectroot.width = root.width; 39 | rectroot.height = root.height; 40 | qrencode.x = 5; 41 | qrencode.y = 5; 42 | qrencode.width = root.width - 10; 43 | qrencode.height = root.height - 10; 44 | } 45 | 46 | onSetTextCode: { 47 | qrencode.text = str; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qml/QuickWidgetTableDataItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | import QCatGrayQuick 1.0 3 | 4 | CatTableViewDelegateBase { 5 | id: root 6 | delegate: CatTableViewItemBase { 7 | datamodel: root.datamodel 8 | columnIndex: root.columnIndex 9 | rowIndex: index 10 | clip: true 11 | border.color: StyleConfig.tableviewItem_borderColor 12 | border.width: 1 13 | color: StyleConfig.tableviewItem_backColor 14 | Text { 15 | anchors.fill: parent 16 | verticalAlignment: Text.AlignVCenter 17 | horizontalAlignment: Text.AlignHCenter 18 | text: datamodel.getStruct(columnIndex).data[datamodel.headerTableData[rowIndex]] 19 | color: StyleConfig.textColor 20 | font.pixelSize: 16 21 | } 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qml/QuickWidgetTableHeaderItem.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.12 2 | 3 | Rectangle { 4 | id: root 5 | readonly property var model: parent.parent.model 6 | readonly property int columnIndex: parent.parent.columnIndex 7 | readonly property int rowIndex: parent.parent.rowIndex 8 | readonly property var headerData: parent.parent.headerData 9 | Loader { 10 | id: itemLoader 11 | anchors.centerIn: parent 12 | sourceComponent: textstate 13 | } 14 | 15 | Component { 16 | id: textstate 17 | Text { 18 | id: tabletext 19 | anchors.fill: parent 20 | verticalAlignment: Text.AlignVCenter 21 | horizontalAlignment: Text.AlignHCenter 22 | text: headerData ? headerData[rowIndex] : "" 23 | color: StyleConfig.textColor 24 | 25 | font.pixelSize: 16 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qml/qmldir: -------------------------------------------------------------------------------- 1 | singleton StyleConfig 1.0 StyleConfig.qml 2 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/CatGrayQuickWidget.css: -------------------------------------------------------------------------------- 1 | QWidget#ToolWidget { 2 | border: none; 3 | background-color: #272626; 4 | } 5 | 6 | QStackedWidget#ToolStackedWidget { 7 | border-radius: 4px; 8 | background-color: #343434; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/CatQcustomplotTools.css: -------------------------------------------------------------------------------- 1 | QWidget#CatQcustomplotTools { 2 | background: transparent; 3 | } 4 | 5 | QWidget#QCustomplptToolWidget { 6 | background-color: transparent; 7 | min-height: 32px; 8 | max-height: 32px; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/CatQuickWidget.css: -------------------------------------------------------------------------------- 1 | QWidget#ToolWidget { 2 | border: none; 3 | background-color: #272626; 4 | } 5 | 6 | QStackedWidget#ToolStackedWidget { 7 | border-radius: 4px; 8 | background-color: #343434; 9 | } 10 | 11 | QLineEdit#QrenCodeEdit { 12 | color: white; 13 | font-family: "Ubuntu"; 14 | border: 1px solid #959595; 15 | border-radius: 3px; 16 | background-color: #757575; 17 | } 18 | 19 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/CatWidget.css: -------------------------------------------------------------------------------- 1 | QWidget#ToolWidget { 2 | border: none; 3 | background-color: #272626; 4 | } 5 | 6 | QStackedWidget#ToolStackedWidget { 7 | border-radius: 4px; 8 | background-color: #343434; 9 | } 10 | 11 | QLineEdit#QrenCodeEdit { 12 | color: white; 13 | font-family: "Ubuntu"; 14 | font-size: 15px; 15 | border: 1px solid #959595; 16 | border-radius: 3px; 17 | background-color: #757575; 18 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/ImageTools.css: -------------------------------------------------------------------------------- 1 | QPushButton { 2 | min-width: 60px; 3 | max-width: 60px; 4 | min-height: 60px; 5 | max-height: 60px; 6 | border-radius: 5px; 7 | border: 1px solid gray; 8 | background-color: #343434; 9 | } 10 | 11 | QPushButton:hover { 12 | border: none; 13 | background-color: #656565; 14 | border: 1px solid gray; 15 | } 16 | 17 | QPushButton:pressed { 18 | border: none; 19 | background-color: #757575; 20 | /*background-color: rgba(223,74,22,100%);*/ 21 | border: 1px solid gray; 22 | } 23 | 24 | QPushButton:checked { 25 | border: none; 26 | background-color: #757575; 27 | border: 1px solid rgba(223,74,22,100%); 28 | } 29 | 30 | QPushButton#ScreenShotButton { 31 | qproperty-icon: url(:/Images/CatGray/ScreenShotTool.png); 32 | qproperty-iconSize: 48px 48px; 33 | } 34 | 35 | QPushButton#SpotLightButton { 36 | qproperty-icon: url(:/Images/CatGray/SpotLightTool.png); 37 | qproperty-iconSize: 48px 48px; 38 | } 39 | 40 | QPushButton#MagnifyingClassButton { 41 | qproperty-icon: url(:/Images/CatGray/MagnifyingGlassTool.png); 42 | qproperty-iconSize: 48px 48px; 43 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/QuickSliders.css: -------------------------------------------------------------------------------- 1 | QuickSliders { 2 | qproperty-rootBackgroundColor: #343434; 3 | qproperty-sliderBackgroundColor: #303030; 4 | qproperty-sliderColor: #773f72; 5 | qproperty-slidingBlockColor: #585858; 6 | qproperty-slidingBlockPressColor: #db4a15; 7 | qproperty-slidingBorderColor: transparent; 8 | qproperty-textColor: white; 9 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/RimlessWindowTool.css: -------------------------------------------------------------------------------- 1 | RimlessWindow#CatRimlessWindow { 2 | background-color: transparent; 3 | } 4 | 5 | QWidget#Zoom { 6 | border: none; 7 | background-color: green; 8 | min-width: 9x; 9 | max-width: 9px; 10 | min-height: 9px; 11 | max-height: 9px; 12 | width: 9px; 13 | height: 9px; 14 | } 15 | 16 | QWidget#Zoom:hover { 17 | border: none; 18 | background-color: greenyellow; 19 | min-width: 9x; 20 | max-width: 9px; 21 | min-height: 9px; 22 | max-height: 9px; 23 | width: 9px; 24 | height: 9px; 25 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/SideBoxButton.css: -------------------------------------------------------------------------------- 1 | QWidget#BackWeidget[State="NotHover"] { 2 | background-color: transparent; 3 | } 4 | 5 | QWidget#BackWeidget[State="Hover"] { 6 | background-color: rgba(223,74,22,100%); 7 | } 8 | 9 | QLabel#ImageLabel { 10 | background-image: url(:/Images/CatGray/SideTestButton.png); 11 | background-position: center; 12 | background-repeat: no-repeat; 13 | } 14 | 15 | QLabel#TextLabel { 16 | font-family: "Ubuntu"; 17 | font-size: 18px; 18 | color: #FFFFFF; 19 | } 20 | 21 | QWidget#RigthWidget { 22 | min-width: 4; 23 | max-width: 4; 24 | border-top-left-radius: 2px; 25 | border-top-right-radius: 0px; 26 | border-bottom-left-radius: 2px; 27 | border-bottom-right-radius: 0px; 28 | } 29 | 30 | QWidget#RigthWidget[State="NotCheck"] { 31 | background-color: transparent; 32 | } 33 | 34 | QWidget#RigthWidget[State="Check"] { 35 | background-color: #FFFFFF; 36 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatGray/SideColumnTool.css: -------------------------------------------------------------------------------- 1 | QWidget#SideWidget { 2 | background-color: #757575; 3 | } 4 | 5 | QPushButton#SideButton[State="Open"] { 6 | border-image: url(:/Images/CatGray/SideOpenButton.png); 7 | } 8 | 9 | QPushButton#SideButton[State="Close"] { 10 | border-image: url(:/Images/CatGray/SideCloseButton.png); 11 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/CatGrayQuickWidget.css: -------------------------------------------------------------------------------- 1 | QWidget#ToolWidget { 2 | border: none; 3 | background-color: #f3f3f3; 4 | } 5 | 6 | QStackedWidget#ToolStackedWidget { 7 | border-radius: 4px; 8 | border: 2px solid #dddddd; 9 | background-color: #fbfbfb; 10 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/CatQcustomplotTools.css: -------------------------------------------------------------------------------- 1 | QWidget#CatQcustomplotTools { 2 | background: transparent; 3 | } 4 | 5 | QWidget#QCustomplptToolWidget { 6 | background-color: transparent; 7 | min-height: 32px; 8 | max-height: 32px; 9 | } 10 | 11 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/CatQuickWidget.css: -------------------------------------------------------------------------------- 1 | QWidget#ToolWidget { 2 | border: none; 3 | background-color: #f3f3f3; 4 | } 5 | 6 | QStackedWidget#ToolStackedWidget { 7 | border-radius: 4px; 8 | border: 2px solid #dddddd; 9 | background-color: #fbfbfb; 10 | } 11 | 12 | QLineEdit#QrenCodeEdit { 13 | color: black; 14 | font-family: "Ubuntu"; 15 | border: 1px solid #959595; 16 | border-radius: 3px; 17 | background-color: #f1f1f1; 18 | } 19 | 20 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/CatWidget.css: -------------------------------------------------------------------------------- 1 | QWidget#ToolWidget { 2 | border: none; 3 | background-color: #f3f3f3; 4 | } 5 | 6 | QStackedWidget#ToolStackedWidget { 7 | border-radius: 4px; 8 | border: 2px solid #dddddd; 9 | background-color: #fbfbfb; 10 | } 11 | 12 | QLineEdit#QrenCodeEdit { 13 | color: black; 14 | border: 1px solid #959595; 15 | border-radius: 3px; 16 | background-color: #f1f1f1; 17 | font-family: "Ubuntu"; 18 | font-size: 15px; 19 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/ImageTools.css: -------------------------------------------------------------------------------- 1 | QPushButton { 2 | min-width: 60px; 3 | max-width: 60px; 4 | min-height: 60px; 5 | max-height: 60px; 6 | border-radius: 5px; 7 | border: 1px solid #e4e4e4; 8 | background-color: #fcfcfc; 9 | } 10 | 11 | QPushButton:hover { 12 | border: none; 13 | background-color: #dedede; 14 | border: 1px solid #424242; 15 | } 16 | 17 | QPushButton:pressed { 18 | border: none; 19 | background-color: #dedede; 20 | /*background-color: rgba(223,74,22,100%);*/ 21 | border: 1px solid rgba(223,74,22,100%); 22 | } 23 | 24 | QPushButton:checked { 25 | border: none; 26 | background-color: #dedede; 27 | border: 1px solid rgba(223,74,22,100%); 28 | } 29 | 30 | QPushButton#ScreenShotButton { 31 | qproperty-icon: url(:/Images/CatWhite/ScreenShotTool.png); 32 | qproperty-iconSize: 48px 48px; 33 | } 34 | 35 | QPushButton#SpotLightButton { 36 | qproperty-icon: url(:/Images/CatWhite/SpotLightTool.png); 37 | qproperty-iconSize: 48px 48px; 38 | } 39 | 40 | QPushButton#MagnifyingClassButton { 41 | qproperty-icon: url(:/Images/CatWhite/MagnifyingGlassTool.png); 42 | qproperty-iconSize: 48px 48px; 43 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/QuickSliders.css: -------------------------------------------------------------------------------- 1 | QuickSliders { 2 | qproperty-rootBackgroundColor: #fbfbfb; 3 | qproperty-sliderBackgroundColor: #dedede; 4 | qproperty-sliderColor: #773f72; 5 | qproperty-slidingBlockColor: #ebebeb; 6 | qproperty-slidingBlockPressColor: #db4a15; 7 | qproperty-slidingBorderColor: transparent; 8 | qproperty-textColor: #424242; 9 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/RimlessWindowTool.css: -------------------------------------------------------------------------------- 1 | RimlessWindow#CatRimlessWindow { 2 | background-color: transparent; 3 | } 4 | 5 | QWidget#Zoom { 6 | border: none; 7 | background-color: greenyellow; 8 | min-width: 9px; 9 | max-width: 9px; 10 | min-height: 9px; 11 | max-height: 9px; 12 | width: 9px; 13 | height: 9px; 14 | } 15 | 16 | QWidget#Zoom:hover { 17 | border: none; 18 | background-color: green; 19 | min-width: 9x; 20 | max-width: 9px; 21 | min-height: 9px; 22 | max-height: 9px; 23 | width: 9px; 24 | height: 9px; 25 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/SideBoxButton.css: -------------------------------------------------------------------------------- 1 | QWidget#BackWeidget[State="NotHover"] { 2 | background-color: transparent; 3 | } 4 | 5 | QWidget#BackWeidget[State="Hover"] { 6 | background-color: rgba(223,74,22,100%); 7 | } 8 | 9 | QLabel#ImageLabel { 10 | background-image: url(:/Images/CatWhite/SideTestButton.png); 11 | background-position: center; 12 | background-repeat: no-repeat; 13 | } 14 | 15 | QLabel#TextLabel { 16 | font-family: "Ubuntu"; 17 | font-size: 18px; 18 | color: #4b4642; 19 | } 20 | 21 | QWidget#RigthWidget { 22 | min-width: 4; 23 | max-width: 4; 24 | border-top-left-radius: 2px; 25 | border-top-right-radius: 0px; 26 | border-bottom-left-radius: 2px; 27 | border-bottom-right-radius: 0px; 28 | } 29 | 30 | QWidget#RigthWidget[State="NotCheck"] { 31 | background-color: transparent; 32 | } 33 | 34 | QWidget#RigthWidget[State="Check"] { 35 | background-color: #FFFFFF; 36 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/Resource/qss/CatWhite/SideColumnTool.css: -------------------------------------------------------------------------------- 1 | QWidget#SideWidget { 2 | background-color: #f3f3f3; 3 | } 4 | 5 | QPushButton#SideButton[State="Open"] { 6 | border-image: url(:/Images/CatWhite/SideOpenButton.png); 7 | } 8 | 9 | QPushButton#SideButton[State="Close"] { 10 | border-image: url(:/Images/CatWhite/SideCloseButton.png); 11 | } -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/CatQcustomplotTools.h: -------------------------------------------------------------------------------- 1 | #ifndef CATQCUSTOMPLOTTOOLS_H 2 | #define CATQCUSTOMPLOTTOOLS_H 3 | 4 | #include 5 | #include 6 | 7 | class QPushButton; 8 | class QCatGrayListingOptions; 9 | 10 | namespace Ui { 11 | class CatQcustomplotTools; 12 | } 13 | 14 | class CatQcustomplotTools : public QWidget 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | explicit CatQcustomplotTools(QWidget *parent = nullptr); 20 | ~CatQcustomplotTools(); 21 | 22 | private: 23 | void InitUi(); 24 | void InitProperty(); 25 | void InitConnect(); 26 | 27 | void UpdateStyle(); 28 | 29 | void InitChartsTool(); 30 | void InitChartWidgets(); 31 | 32 | private slots: 33 | void On_ToolButtons(int); 34 | 35 | private: 36 | Ui::CatQcustomplotTools *ui; 37 | QCatGrayListingOptions *m_pToolListiongOptions; 38 | QHash m_pToolButtons; 39 | }; 40 | 41 | #endif // CATQCUSTOMPLOTTOOLS_H 42 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/CatQcustomplotTools.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CatQcustomplotTools 4 | 5 | 6 | 7 | 0 8 | 0 9 | 618 10 | 457 11 | 12 | 13 | 14 | Form 15 | 16 | 17 | 18 | 5 19 | 20 | 21 | 5 22 | 23 | 24 | 5 25 | 26 | 27 | 5 28 | 29 | 30 | 5 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/CatTableViewTools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(CatTableViewTools LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) 15 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) 16 | 17 | file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 18 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp") 19 | 20 | 21 | 22 | add_library(${PROJECT_NAME} STATIC ${SRC_LIST}) 23 | 24 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Widgets 25 | QCatGrayWidgetControls_a 26 | CatConfig 27 | QCatGrayUniversal_a) 28 | 29 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 30 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/CatTableViewTools/CatTableModel.h: -------------------------------------------------------------------------------- 1 | #ifndef CATTABLEMODEL_H 2 | #define CATTABLEMODEL_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | struct Model_Structure 9 | { 10 | int check; 11 | int id; 12 | bool state; 13 | QString time; 14 | }; 15 | 16 | class CatTableModel : public QStandardItemModel 17 | { 18 | Q_OBJECT 19 | public: 20 | explicit CatTableModel(QObject *parent = nullptr); 21 | ~CatTableModel(); 22 | 23 | void AddData(Model_Structure data); 24 | void AddData(QList datas); 25 | void Clear(); 26 | 27 | void SetCatTableViewTool(QTableView *view); 28 | 29 | protected: 30 | void sort(int column, Qt::SortOrder order = Qt::AscendingOrder); 31 | 32 | private: 33 | QList m_yTableDatas; 34 | QTableView *m_pCatTableViewTool = nullptr; 35 | }; 36 | 37 | #endif // CATTABLEMODEL_H 38 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/CatTableViewTools/CatTableViewTool.h: -------------------------------------------------------------------------------- 1 | #ifndef CATTABLEVIEWTOOL_H 2 | #define CATTABLEVIEWTOOL_H 3 | 4 | #include "QCatGrayTableViewBasics.h" 5 | #include "CatTableItemDelegate.h" 6 | #include "CatTableModel.h" 7 | 8 | class CatTableViewTool : public QCatGrayTableViewBasics 9 | { 10 | Q_OBJECT 11 | public: 12 | explicit CatTableViewTool(QWidget *parent = nullptr); 13 | ~CatTableViewTool(); 14 | 15 | CatTableModel *GetModel() { return dataModel; } 16 | 17 | void AddData(bool state = false, QString times = ""); 18 | 19 | void ClearTable(); 20 | 21 | private: 22 | void InitUi(); 23 | void InitProperty(); 24 | void InitConnect(); 25 | void InitTableHead(); 26 | 27 | protected: 28 | bool eventFilter(QObject *object, QEvent *event); 29 | void resizeEvent(QResizeEvent *event); 30 | 31 | signals: 32 | void checkRect(QRect rect); 33 | void hoverIndexChanged(const QModelIndex &index); 34 | 35 | private: 36 | CatTableModel* dataModel = nullptr; 37 | CatTableItemDelegate *delegate = nullptr; 38 | int m_TotalSelectDataNums = 0; // 当前表格选中的数据 39 | int m_TotalDataNums = 0; // 当前表格总数据 40 | }; 41 | 42 | #endif // CATTABLEVIEWTOOL_H 43 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/InputTools.h: -------------------------------------------------------------------------------- 1 | #ifndef INPUTTOOLS_H 2 | #define INPUTTOOLS_H 3 | 4 | #include 5 | #include "QCatGrayFlowLayout.h" 6 | 7 | namespace Ui { 8 | class InputTools; 9 | } 10 | 11 | class InputTools : public QWidget 12 | { 13 | Q_OBJECT 14 | 15 | public: 16 | explicit InputTools(QWidget *parent = nullptr); 17 | ~InputTools(); 18 | 19 | private: 20 | void InitUi(); 21 | void InitProperty(); 22 | void InitConnect(); 23 | 24 | void UpdateStyle(); 25 | 26 | void InitDefauleSlider(); 27 | 28 | private: 29 | Ui::InputTools *ui; 30 | QCatGrayFlowLayout *m_pCatFlowLayout = nullptr; 31 | }; 32 | 33 | #endif // INPUTTOOLS_H 34 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/InputTools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(InputTools LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) 15 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) 16 | 17 | file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 18 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" 19 | "${CMAKE_CURRENT_SOURCE_DIR}/*.ui") 20 | 21 | 22 | add_library(${PROJECT_NAME} STATIC ${SRC_LIST}) 23 | 24 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Widgets) 25 | 26 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/PagingNavigationTools.h: -------------------------------------------------------------------------------- 1 | #ifndef PAGINGNAVIGATIONTOOLS_H 2 | #define PAGINGNAVIGATIONTOOLS_H 3 | 4 | #include 5 | 6 | class QCatGrayIntValidator; 7 | 8 | namespace Ui { 9 | class PagingNavigationTools; 10 | } 11 | 12 | class PagingNavigationTools : public QWidget 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit PagingNavigationTools(QWidget *parent = nullptr); 18 | ~PagingNavigationTools(); 19 | 20 | private slots: 21 | void on_InitPagingNavigationButton_clicked(); 22 | 23 | void on_UpdatePagingNavigationButton_clicked(); 24 | 25 | void on_SetCurrentPageButton_clicked(); 26 | 27 | protected: 28 | void changeEvent(QEvent *event); 29 | 30 | private: 31 | void InitUi(); 32 | void InitProperty(); 33 | void InitConnect(); 34 | 35 | void UpdateStyle(); 36 | 37 | private: 38 | Ui::PagingNavigationTools *ui; 39 | QCatGrayIntValidator *currentpageval; 40 | }; 41 | 42 | #endif // PAGINGNAVIGATIONTOOLS_H 43 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/QcustomplotCharts/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(QcustomplotCharts LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) 15 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) 16 | 17 | file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 18 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" 19 | "${CMAKE_CURRENT_SOURCE_DIR}/*.ui") 20 | 21 | 22 | add_library(${PROJECT_NAME} STATIC ${SRC_LIST}) 23 | 24 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Widgets 25 | CatConfig 26 | QCatGrayQcustomplot_a 27 | QCatGrayUniversal_a 28 | QCatGrayWidgetControls_a) 29 | 30 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 31 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/QcustomplotCharts/CatBarChart.h: -------------------------------------------------------------------------------- 1 | #ifndef CATBARCHART_H 2 | #define CATBARCHART_H 3 | 4 | #include 5 | #include 6 | 7 | class QCPBars; 8 | class QCPAxisRect; 9 | class QCatGrayQcustomplotCustomChart; 10 | class QCatGrayListingOptions; 11 | 12 | namespace Ui { 13 | class CatBarChart; 14 | } 15 | 16 | class CatBarChart : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit CatBarChart(QWidget *parent = nullptr); 22 | ~CatBarChart(); 23 | 24 | private: 25 | void InitUi(); 26 | void InitProperty(); 27 | void InitConnect(); 28 | 29 | void UpdateStyle(); 30 | 31 | //图表设置 32 | void InitCharts(); 33 | void InitChartConnect(); 34 | 35 | private slots: 36 | void StartTimer(bool); 37 | void On_MousePress(); 38 | void On_UpdateWidthType(int id); 39 | void On_BarCheck(int bar, bool state); 40 | 41 | protected: 42 | void hideEvent(QHideEvent *event) override; 43 | void showEvent(QShowEvent *event) override; 44 | void mouseMoveEvent(QMouseEvent *event) override; 45 | 46 | 47 | private: 48 | Ui::CatBarChart *ui; 49 | QVector m_pCatCustomCharts; 50 | QVector m_pBars; 51 | QCatGrayListingOptions *m_pListiongOptions; 52 | QTimer *m_pDataTimer; 53 | }; 54 | 55 | #endif // CATBARCHART_H 56 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/QcustomplotCharts/CatLineChart.h: -------------------------------------------------------------------------------- 1 | #ifndef CATLINECHART_H 2 | #define CATLINECHART_H 3 | 4 | #include 5 | #include 6 | #include 7 | 8 | class QCPGraph; 9 | class QComboBox; 10 | class QCPLayoutElement; 11 | 12 | namespace Ui { 13 | class CatLineChart; 14 | } 15 | 16 | class CatLineChart : public QWidget 17 | { 18 | Q_OBJECT 19 | 20 | public: 21 | explicit CatLineChart(QWidget *parent = nullptr); 22 | ~CatLineChart(); 23 | 24 | private: 25 | void InitUi(); 26 | void InitProperty(); 27 | void InitConnect(); 28 | 29 | void UpdateStyle(); 30 | 31 | //图表设置 32 | void InitCharts(); 33 | void InitChartConnect(); 34 | 35 | private slots: 36 | void StartTimer(bool); 37 | void UpdateGraphScatterStyle(int id); 38 | void UpdateGraphLineStyle(int id); 39 | void UpdateTracerStyle(int id); 40 | void UpdatePositionType(int id); 41 | void On_UpdateDxva(QString dxva); 42 | void On_MousePress(); 43 | void On_LineCheck(int line, bool state); 44 | 45 | void on_SaveButton_clicked(); 46 | 47 | protected: 48 | void hideEvent(QHideEvent *event) override; 49 | void showEvent(QShowEvent *event) override; 50 | 51 | private: 52 | Ui::CatLineChart *ui; 53 | QVector m_pGraphs; 54 | QTimer *m_pDataTimer; 55 | QComboBox *m_pDxvaBox; 56 | QDateTime m_pStartTime; 57 | QDateTime m_pStopTime; 58 | bool m_bFirstStart; 59 | 60 | double m_nDataSize; 61 | }; 62 | 63 | #endif // CATLINECHART_H 64 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/QrenCodeTool.cpp: -------------------------------------------------------------------------------- 1 | #include "QrenCodeTool.h" 2 | #include "ui_QrenCodeTool.h" 3 | #include "QCatGrayQrenCode.h" 4 | #include "CatConfig.h" 5 | 6 | QrenCodeTool::QrenCodeTool(QWidget *parent) : 7 | QWidget(parent), 8 | ui(new Ui::QrenCodeTool) 9 | { 10 | ui->setupUi(this); 11 | InitProperty(); 12 | InitConnect(); 13 | } 14 | 15 | QrenCodeTool::~QrenCodeTool() 16 | { 17 | delete ui; 18 | } 19 | 20 | void QrenCodeTool::InitProperty() 21 | { 22 | ui->QrenCodeEdit->setText(CatConfig::GetValue("HomePage").toString()); 23 | } 24 | 25 | void QrenCodeTool::InitConnect() 26 | { 27 | connect(ui->QrenCodeEdit, &QLineEdit::textEdited, this, [=](QString){ 28 | UpdateQrenCode(); 29 | }); 30 | } 31 | 32 | void QrenCodeTool::UpdateQrenCode() 33 | { 34 | QPixmap qrPixmap; 35 | int width = ui->QrenCodeLabel->width(); 36 | int height = ui->QrenCodeLabel->height(); 37 | QRCODE qrproperty; 38 | qrproperty.text = ui->QrenCodeEdit->text(); 39 | qrproperty.size = QSize(width, height); 40 | qrproperty.qrpercent = 0; 41 | qrproperty.backgroundColor = "#FFFFFF"; 42 | qrproperty.qrencodeColor = "#000000"; 43 | GernerateQRCode(qrproperty, qrPixmap); 44 | 45 | ui->QrenCodeLabel->setPixmap(qrPixmap); 46 | } 47 | 48 | void QrenCodeTool::resizeEvent(QResizeEvent *event) 49 | { 50 | Q_UNUSED(event) 51 | UpdateQrenCode(); 52 | } 53 | 54 | void QrenCodeTool::showEvent(QShowEvent *event) 55 | { 56 | Q_UNUSED(event) 57 | //QPixmap qrPixmap; 58 | UpdateQrenCode(); 59 | } 60 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/QrenCodeTool.h: -------------------------------------------------------------------------------- 1 | #ifndef QRENCODETOOL_H 2 | #define QRENCODETOOL_H 3 | 4 | #include 5 | 6 | class GernerateQRCode; 7 | 8 | namespace Ui { 9 | class QrenCodeTool; 10 | } 11 | 12 | class QrenCodeTool : public QWidget 13 | { 14 | Q_OBJECT 15 | 16 | public: 17 | explicit QrenCodeTool(QWidget *parent = nullptr); 18 | ~QrenCodeTool(); 19 | 20 | private: 21 | void InitProperty(); 22 | void InitConnect(); 23 | 24 | void UpdateQrenCode(); 25 | 26 | protected: 27 | void resizeEvent(QResizeEvent *event) override; 28 | void showEvent(QShowEvent *event) override; 29 | 30 | private: 31 | Ui::QrenCodeTool *ui; 32 | GernerateQRCode *m_pGernerateQRCode; 33 | }; 34 | 35 | #endif // QRENCODETOOL_H 36 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/SideColumnTool.h: -------------------------------------------------------------------------------- 1 | #ifndef SIDECOLUMNTOOL_H 2 | #define SIDECOLUMNTOOL_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | #include "SideWidgetTools/SideBoxButton.h" 9 | 10 | namespace Ui { 11 | class SideColumnTool; 12 | } 13 | 14 | class SideColumnTool : public QWidget 15 | { 16 | Q_OBJECT 17 | 18 | public: 19 | explicit SideColumnTool(QWidget *parent = nullptr); 20 | ~SideColumnTool(); 21 | 22 | private: 23 | void InitUi(); 24 | void InitProperty(); 25 | void InitConnect(); 26 | 27 | void UpdateStyle(); 28 | 29 | void InitDefauleSlider(); 30 | 31 | void SetUnfold(bool unfold); 32 | void SetSideButtonState(QString state); 33 | 34 | protected: 35 | void resizeEvent(QResizeEvent *event); 36 | void showEvent(QShowEvent *event); 37 | bool eventFilter(QObject *watched, QEvent *event); 38 | 39 | private: 40 | Ui::SideColumnTool *ui; 41 | QPushButton *m_pSideButton; 42 | bool m_bUnfold; 43 | 44 | QButtonGroup *m_pSideButtonGroup; 45 | QVector m_pSideButtons; 46 | //QPropertyAnimation *m_pSideAnimation; 47 | }; 48 | 49 | #endif // SIDECOLUMNTOOL_H 50 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/SideWidgetTools/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10) 2 | 3 | project(SideWidgetTools LANGUAGES CXX) 4 | 5 | set(CMAKE_INCLUDE_CURRENT_DIR ON) 6 | 7 | set(CMAKE_AUTOUIC ON) 8 | set(CMAKE_AUTOMOC ON) 9 | set(CMAKE_AUTORCC ON) 10 | 11 | set(CMAKE_CXX_STANDARD 11) 12 | set(CMAKE_CXX_STANDARD_REQUIRED ON) 13 | 14 | find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets) 15 | find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Widgets) 16 | 17 | file(GLOB SRC_LIST "${CMAKE_CURRENT_SOURCE_DIR}/*.h" 18 | "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" 19 | "${CMAKE_CURRENT_SOURCE_DIR}/*.ui") 20 | 21 | add_library(${PROJECT_NAME} STATIC ${SRC_LIST}) 22 | 23 | target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Widgets 24 | CatConfig 25 | QCatGrayUniversal_a) 26 | 27 | target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) 28 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/SideWidgetTools/SideBoxButton.h: -------------------------------------------------------------------------------- 1 | #ifndef SIDEBOXBUTTON_H 2 | #define SIDEBOXBUTTON_H 3 | 4 | #include 5 | #include 6 | #include 7 | #include 8 | 9 | class SideBoxButton : public QPushButton 10 | { 11 | Q_OBJECT 12 | public: 13 | explicit SideBoxButton(QWidget *parent = nullptr); 14 | ~SideBoxButton(); 15 | 16 | void setButtonText(QString text); 17 | 18 | void UpdateButtonState(); 19 | 20 | void UpdateButtonSideState(bool state); 21 | 22 | 23 | private: 24 | void InitUi(); 25 | void InitProperty(); 26 | void InitConnect(); 27 | 28 | void UpdateStyle(); 29 | 30 | void SetButtonBackState(QString state); 31 | void SetButtonRightWidgetState(QString state); 32 | 33 | protected: 34 | void paintEvent(QPaintEvent *event); 35 | bool eventFilter(QObject *watched, QEvent *event); 36 | 37 | private: 38 | QWidget *m_pBackWeidget; 39 | QHBoxLayout *m_pBackLayout; 40 | QLabel *m_pImageLabel; 41 | QLabel *m_pTextLabel; 42 | QWidget *m_pRigthWidget; 43 | }; 44 | 45 | #endif // SIDEBOXBUTTON_H 46 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/SliderTools.h: -------------------------------------------------------------------------------- 1 | #ifndef SLIDERTOOLS_H 2 | #define SLIDERTOOLS_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class SliderTools; 8 | } 9 | 10 | class SliderTools : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | explicit SliderTools(QWidget *parent = nullptr); 16 | ~SliderTools(); 17 | 18 | private: 19 | void InitUi(); 20 | void InitProperty(); 21 | void InitConnect(); 22 | 23 | void UpdateStyle(); 24 | 25 | void InitDefauleSlider(); 26 | 27 | private: 28 | Ui::SliderTools *ui; 29 | }; 30 | 31 | #endif // SLIDERTOOLS_H 32 | -------------------------------------------------------------------------------- /examples/QCatGrayWidgetExamples/WidgetTools/TableViewTool.h: -------------------------------------------------------------------------------- 1 | #ifndef TABLEVIEWTOOL_H 2 | #define TABLEVIEWTOOL_H 3 | 4 | #include 5 | 6 | namespace Ui { 7 | class TableViewTool; 8 | } 9 | 10 | class TableViewTool : public QWidget 11 | { 12 | Q_OBJECT 13 | 14 | public: 15 | struct TableData { 16 | bool state = false; 17 | QString time = ""; 18 | }; 19 | explicit TableViewTool(QWidget *parent = nullptr); 20 | ~TableViewTool(); 21 | 22 | 23 | private: 24 | void InitUi(); 25 | void InitProperty(); 26 | void InitConnect(); 27 | 28 | void UpdateStyle(); 29 | 30 | void onCurrentPage(int page); 31 | 32 | private: 33 | Ui::TableViewTool *ui; 34 | QList TableDatas; 35 | }; 36 | 37 | #endif // TABLEVIEWTOOL_H 38 | --------------------------------------------------------------------------------