├── AllControls ├── Progressbar │ └── DashBoard │ │ ├── DashBoard.cpp │ │ ├── DashBoard.h │ │ ├── DashBoard.ui │ │ ├── DashBoard.vcxproj │ │ ├── DashBoard.vcxproj.filters │ │ ├── DashBoard.vcxproj.user │ │ ├── GeneratedFiles │ │ ├── Release │ │ │ └── moc_DashBoard.cpp │ │ └── ui_DashBoard.h │ │ ├── dashboard_global.h │ │ └── x64 │ │ └── Release │ │ ├── DashBoard.Build.CppClean.log │ │ ├── DashBoard.log │ │ ├── DashBoard.obj │ │ ├── DashBoard.tlog │ │ ├── CL.command.1.tlog │ │ ├── CL.read.1.tlog │ │ ├── CL.write.1.tlog │ │ ├── DashBoard.lastbuildstate │ │ ├── DashBoard.write.1u.tlog │ │ ├── link.command.1.tlog │ │ ├── link.read.1.tlog │ │ ├── link.write.1.tlog │ │ ├── moc.read.1u.tlog │ │ ├── moc.write.1u.tlog │ │ ├── uic.read.1u.tlog │ │ └── uic.write.1u.tlog │ │ ├── moc_DashBoard.obj │ │ ├── qt_work.log │ │ ├── vc140.idb │ │ └── vc140.pdb └── Sliderbar │ └── CustomSlider │ ├── CustomSlider.cpp │ ├── CustomSlider.h │ ├── CustomSlider.ui │ ├── CustomSlider.vcxproj │ ├── CustomSlider.vcxproj.filters │ ├── CustomSlider.vcxproj.user │ ├── GeneratedFiles │ ├── Debug │ │ └── moc_CustomSlider.cpp │ ├── Release │ │ └── moc_CustomSlider.cpp │ └── ui_CustomSlider.h │ ├── customslider_global.h │ └── x64 │ ├── Debug │ ├── CustomSlider.log │ ├── CustomSlider.tlog │ │ ├── CL.command.1.tlog │ │ ├── CustomSlider.lastbuildstate │ │ ├── CustomSlider.write.1u.tlog │ │ ├── moc.read.1u.tlog │ │ ├── moc.write.1u.tlog │ │ ├── uic.read.1u.tlog │ │ ├── uic.write.1u.tlog │ │ └── unsuccessfulbuild │ ├── qt_work.log │ └── vc140.pdb │ └── Release │ ├── CustomSlider.Build.CppClean.log │ ├── CustomSlider.log │ ├── CustomSlider.obj │ ├── CustomSlider.tlog │ ├── CL.command.1.tlog │ ├── CL.read.1.tlog │ ├── CL.write.1.tlog │ ├── CustomSlider.lastbuildstate │ ├── CustomSlider.write.1u.tlog │ ├── link.command.1.tlog │ ├── link.read.1.tlog │ ├── link.write.1.tlog │ ├── moc.read.1u.tlog │ ├── moc.write.1u.tlog │ ├── uic.read.1u.tlog │ └── uic.write.1u.tlog │ ├── moc_CustomSlider.obj │ ├── qt_work.log │ ├── vc140.idb │ └── vc140.pdb ├── Animation ├── Animation.cpp ├── Animation.h ├── Animation.vcxproj ├── Animation.vcxproj.filters ├── Animation.vcxproj.user ├── RXTurnPan.cpp ├── RXTurnPan.h ├── RXTurnPan.ui └── animation_global.h ├── BtnControls ├── BtnControls.cpp ├── BtnControls.h ├── BtnControls.vcxproj ├── BtnControls.vcxproj.filters ├── BtnControls.vcxproj.user ├── DropDownMenu.cpp ├── DropDownMenu.h ├── DropDownMenu.ui ├── RXDateSelectPage.cpp ├── RXDateSelectPage.h ├── RXDateSelectPage.ui └── btncontrols_global.h ├── CommonCharts ├── CommonCharts.cpp ├── CommonCharts.h ├── CommonCharts.vcxproj ├── CommonCharts.vcxproj.filters ├── CommonCharts.vcxproj.user ├── HandleBarChart.cpp ├── HandleBarChart.h ├── HandleBarChart.ui ├── HandleLineChart.cpp ├── HandleLineChart.h ├── HandleLineChart.ui ├── HandlePieChart.cpp ├── HandlePieChart.h ├── HandlePieChart.ui ├── HandleScatterChart.cpp ├── HandleScatterChart.h ├── HandleScatterChart.ui └── commoncharts_global.h ├── CustomControls.VC.VC.opendb ├── CustomControls.VC.db ├── CustomControls.sln ├── CustomControls ├── CustomControls.aps ├── CustomControls.cpp ├── CustomControls.h ├── CustomControls.qrc ├── CustomControls.rc ├── CustomControls.ui ├── CustomControls.vcxproj ├── CustomControls.vcxproj.filters ├── CustomControls.vcxproj.user ├── TriangleLabWidget.cpp ├── TriangleLabWidget.h ├── TriangleLabWidget.ui ├── all_controls_header.h ├── icon │ └── controls_image.ico ├── main.cpp ├── picture │ ├── background.png │ ├── btns_pic │ │ ├── left_check.png │ │ ├── mid_check.png │ │ └── right_check.png │ └── hander.png ├── resource.h └── test.h ├── CustomWin ├── CustomWin.aps ├── CustomWin.cpp ├── CustomWin.h ├── CustomWin.vcxproj ├── CustomWin.vcxproj.filters ├── CustomWin.vcxproj.user ├── LoginWin │ ├── LoginAvatarWid.cpp │ ├── LoginAvatarWid.h │ ├── LoginAvatarWid.ui │ ├── LoginStateWid.cpp │ ├── LoginStateWid.h │ ├── LoginStateWid.ui │ ├── LoginWin.cpp │ ├── LoginWin.h │ ├── LoginWin.ui │ ├── Panda.h │ ├── icon │ │ └── Win_Login │ │ │ ├── Login_Avatar.png │ │ │ ├── check_account_ logo.png │ │ │ ├── check_checkbtn.png │ │ │ ├── check_code_logo.png │ │ │ ├── close.png │ │ │ ├── logo.png │ │ │ ├── logo_text.png │ │ │ ├── setting.png │ │ │ ├── state_ban.png │ │ │ ├── state_busy.png │ │ │ ├── state_leave.png │ │ │ ├── state_online.png │ │ │ ├── state_yinshen.png │ │ │ ├── uncheck_account_ logo.png │ │ │ ├── uncheck_checkbtn.png │ │ │ ├── uncheck_code_logo.png │ │ │ └── win_min.png │ └── panda_chat.qrc ├── ToolsWin │ ├── RXToolModeWid.cpp │ ├── RXToolModeWid.h │ ├── RXToolModeWid.ui │ ├── RXTools.cpp │ ├── RXTools.h │ ├── RXTools.ui │ ├── icon │ │ ├── batch_handle_pic.png │ │ ├── close.png │ │ ├── company_logo.png │ │ ├── dicom_modify_pic.png │ │ ├── divider.png │ │ ├── head_pic.png │ │ ├── hide_btn.png │ │ ├── icon5.png │ │ ├── inifile_pic.png │ │ ├── logo-2.png │ │ ├── pushstation_pic.png │ │ ├── reset_setting_pic.png │ │ ├── rxtool_icon.ico │ │ └── zoom_btn.png │ └── tools_win_resource.qrc ├── customwin_global.h └── resource.h ├── Panel ├── CustomPanel.cpp ├── CustomPanel.h ├── CustomPanel.ui ├── NetSpeedPanel.cpp ├── NetSpeedPanel.h ├── NetSpeedPanel.ui ├── Panel.cpp ├── Panel.h ├── Panel.vcxproj ├── Panel.vcxproj.filters ├── Panel.vcxproj.user ├── SemiCirclePanel.cpp ├── SemiCirclePanel.h ├── SemiCirclePanel.ui └── panel_global.h ├── ProgressBar ├── DashBoard.cpp ├── DashBoard.h ├── DashBoard.ui ├── LinearProgressBar.cpp ├── LinearProgressBar.h ├── LinearProgressBar.ui ├── ProgressBar.cpp ├── ProgressBar.h ├── ProgressBar.vcxproj ├── ProgressBar.vcxproj.filters ├── ProgressBar.vcxproj.user ├── RectProgressBar.cpp ├── RectProgressBar.h ├── RectProgressBar.ui ├── RectWaveProgressBar.cpp ├── RectWaveProgressBar.h ├── RectWaveProgressBar.ui ├── RingProgressBar.cpp ├── RingProgressBar.h ├── RingProgressBar.ui ├── WaveProgressBar.cpp ├── WaveProgressBar.h ├── WaveProgressBar.ui └── progressbar_global.h ├── README.md ├── SliderBar ├── CustomSlider.cpp ├── CustomSlider.h ├── CustomSlider.ui ├── CustomSliderStyleOne.cpp ├── CustomSliderStyleOne.h ├── CustomSliderStyleOne.ui ├── CustomSliderStyleTwo.cpp ├── CustomSliderStyleTwo.h ├── CustomSliderStyleTwo.ui ├── DoubleHandleSlider.cpp ├── DoubleHandleSlider.h ├── DoubleHandleSlider.ui ├── SliderBar.cpp ├── SliderBar.h ├── SliderBar.vcxproj ├── SliderBar.vcxproj.filters ├── SliderBar.vcxproj.user ├── StripSlider.cpp ├── StripSlider.h ├── StripSlider.ui ├── StripSliderStyleOne.cpp ├── StripSliderStyleOne.h ├── StripSliderStyleOne.ui ├── StripSliderStyleTwo.cpp ├── StripSliderStyleTwo.h ├── StripSliderStyleTwo.ui ├── TipSlider.cpp ├── TipSlider.h ├── TipSlider.ui └── sliderbar_global.h ├── include ├── Animation │ ├── Animation.h │ ├── RXTurnPan.h │ └── animation_global.h ├── BtnControls │ ├── BtnControls.h │ ├── DropDownMenu.h │ ├── RXDateSelectPage.h │ └── btncontrols_global.h ├── CommonCharts │ ├── CommonCharts.h │ ├── HandleBarChart.h │ ├── HandlePieChart.h │ ├── HandleScatterChart.h │ ├── commoncharts_global.h │ └── handlelinechart.h ├── CustomWin │ ├── CustomWin.h │ ├── LoginWin.h │ ├── Panda.h │ ├── RXTools.h │ └── customwin_global.h ├── Panel │ ├── CustomPanel.h │ ├── NetSpeedPanel.h │ ├── Panel.h │ ├── SemiCirclePanel.h │ └── panel_global.h ├── Progressbar │ ├── DashBoard.h │ ├── LinearProgressBar.h │ ├── ProgressBar.h │ ├── RectProgressBar.h │ ├── RectWaveProgressBar.h │ ├── RingProgressBar.h │ ├── WaveProgressBar.h │ └── progressbar_global.h └── Sliderbar │ ├── CustomSliderStyleTwo.h │ ├── DoubleHandleSlider.h │ ├── SliderBar.h │ ├── StripSlider.h │ ├── StripSliderStyleOne.h │ ├── StripSliderStyleTwo.h │ ├── customslider.h │ ├── customslider_global.h │ ├── customsliderstyleone.h │ ├── sliderbar_global.h │ └── tipslider.h └── project-image ├── image ├── panel.png ├── progress.png └── sliderbar.png /AllControls/Progressbar/DashBoard/DashBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/DashBoard.cpp -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/DashBoard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/DashBoard.h -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/DashBoard.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | DashBoard 4 | 5 | 6 | 7 | 0 8 | 0 9 | 474 10 | 431 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | DashBoard 21 | 22 | 23 | 24 | 0 25 | 26 | 27 | 0 28 | 29 | 30 | 0 31 | 32 | 33 | 0 34 | 35 | 36 | 0 37 | 38 | 39 | 40 | 41 | Qt::Vertical 42 | 43 | 44 | 45 | 20 46 | 141 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | Qt::Horizontal 55 | 56 | 57 | 58 | 155 59 | 20 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | Qt::AlignCenter 71 | 72 | 73 | 74 | 75 | 76 | 77 | Qt::Horizontal 78 | 79 | 80 | 81 | 155 82 | 20 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | Qt::Vertical 91 | 92 | 93 | 94 | 20 95 | 141 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/DashBoard.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 24 | moc;h;cpp 25 | False 26 | 27 | 28 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 29 | ui 30 | true 31 | 32 | 33 | 34 | 35 | Header Files 36 | 37 | 38 | 39 | 40 | Header Files 41 | 42 | 43 | 44 | 45 | Source Files 46 | 47 | 48 | 49 | 50 | Form Files 51 | 52 | 53 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/DashBoard.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | C:\Qt\Qt5.8.0\5.8\msvc2015_64 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | C:\Qt\Qt5.8.0\5.8\msvc2015_64 10 | D:\RXRunPath 11 | WindowsLocalDebugger 12 | C:\Users\DELL\Desktop\Workspace\CustomSlider\x64\Release\TestSlider.exe 13 | PATH=$(QTDIR)\bin%3b$(PATH) 14 | 15 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/GeneratedFiles/Release/moc_DashBoard.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'DashBoard.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../DashBoard.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'DashBoard.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.8.0. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_DashBoard_t { 24 | QByteArrayData data[1]; 25 | char stringdata0[10]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_DashBoard_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_DashBoard_t qt_meta_stringdata_DashBoard = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 9) // "DashBoard" 35 | 36 | }, 37 | "DashBoard" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_DashBoard[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 0, 0, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | 0 // eod 55 | }; 56 | 57 | void DashBoard::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 58 | { 59 | Q_UNUSED(_o); 60 | Q_UNUSED(_id); 61 | Q_UNUSED(_c); 62 | Q_UNUSED(_a); 63 | } 64 | 65 | const QMetaObject DashBoard::staticMetaObject = { 66 | { &QWidget::staticMetaObject, qt_meta_stringdata_DashBoard.data, 67 | qt_meta_data_DashBoard, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 68 | }; 69 | 70 | 71 | const QMetaObject *DashBoard::metaObject() const 72 | { 73 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 74 | } 75 | 76 | void *DashBoard::qt_metacast(const char *_clname) 77 | { 78 | if (!_clname) return Q_NULLPTR; 79 | if (!strcmp(_clname, qt_meta_stringdata_DashBoard.stringdata0)) 80 | return static_cast(const_cast< DashBoard*>(this)); 81 | return QWidget::qt_metacast(_clname); 82 | } 83 | 84 | int DashBoard::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 85 | { 86 | _id = QWidget::qt_metacall(_c, _id, _a); 87 | if (_id < 0) 88 | return _id; 89 | return _id; 90 | } 91 | QT_WARNING_POP 92 | QT_END_MOC_NAMESPACE 93 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/GeneratedFiles/ui_DashBoard.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'DashBoard.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.8.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_DASHBOARD_H 10 | #define UI_DASHBOARD_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | 22 | QT_BEGIN_NAMESPACE 23 | 24 | class Ui_DashBoard 25 | { 26 | public: 27 | QGridLayout *gridLayout; 28 | QSpacerItem *verticalSpacer; 29 | QSpacerItem *horizontalSpacer; 30 | QLabel *text_lab; 31 | QSpacerItem *horizontalSpacer_2; 32 | QSpacerItem *verticalSpacer_2; 33 | 34 | void setupUi(QWidget *DashBoard) 35 | { 36 | if (DashBoard->objectName().isEmpty()) 37 | DashBoard->setObjectName(QStringLiteral("DashBoard")); 38 | DashBoard->resize(474, 431); 39 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); 40 | sizePolicy.setHorizontalStretch(0); 41 | sizePolicy.setVerticalStretch(0); 42 | sizePolicy.setHeightForWidth(DashBoard->sizePolicy().hasHeightForWidth()); 43 | DashBoard->setSizePolicy(sizePolicy); 44 | gridLayout = new QGridLayout(DashBoard); 45 | gridLayout->setSpacing(0); 46 | gridLayout->setContentsMargins(11, 11, 11, 11); 47 | gridLayout->setObjectName(QStringLiteral("gridLayout")); 48 | gridLayout->setContentsMargins(0, 0, 0, 0); 49 | verticalSpacer = new QSpacerItem(20, 141, QSizePolicy::Minimum, QSizePolicy::Expanding); 50 | 51 | gridLayout->addItem(verticalSpacer, 0, 1, 1, 1); 52 | 53 | horizontalSpacer = new QSpacerItem(155, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 54 | 55 | gridLayout->addItem(horizontalSpacer, 1, 0, 1, 1); 56 | 57 | text_lab = new QLabel(DashBoard); 58 | text_lab->setObjectName(QStringLiteral("text_lab")); 59 | text_lab->setAlignment(Qt::AlignCenter); 60 | 61 | gridLayout->addWidget(text_lab, 1, 1, 1, 1); 62 | 63 | horizontalSpacer_2 = new QSpacerItem(155, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 64 | 65 | gridLayout->addItem(horizontalSpacer_2, 1, 2, 1, 1); 66 | 67 | verticalSpacer_2 = new QSpacerItem(20, 141, QSizePolicy::Minimum, QSizePolicy::Expanding); 68 | 69 | gridLayout->addItem(verticalSpacer_2, 2, 1, 1, 1); 70 | 71 | gridLayout->setRowStretch(0, 1); 72 | gridLayout->setRowStretch(1, 2); 73 | gridLayout->setRowStretch(2, 1); 74 | gridLayout->setColumnStretch(0, 1); 75 | gridLayout->setColumnStretch(1, 2); 76 | gridLayout->setColumnStretch(2, 1); 77 | 78 | retranslateUi(DashBoard); 79 | 80 | QMetaObject::connectSlotsByName(DashBoard); 81 | } // setupUi 82 | 83 | void retranslateUi(QWidget *DashBoard) 84 | { 85 | DashBoard->setWindowTitle(QApplication::translate("DashBoard", "DashBoard", Q_NULLPTR)); 86 | text_lab->setText(QString()); 87 | } // retranslateUi 88 | 89 | }; 90 | 91 | namespace Ui { 92 | class DashBoard: public Ui_DashBoard {}; 93 | } // namespace Ui 94 | 95 | QT_END_NAMESPACE 96 | 97 | #endif // UI_DASHBOARD_H 98 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/dashboard_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(DASHBOARD_LIB) 7 | # define DASHBOARD_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define DASHBOARD_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define DASHBOARD_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.Build.CppClean.log: -------------------------------------------------------------------------------- 1 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\moc_dashboard.obj 2 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.obj 3 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\vc140.pdb 4 | c:\users\dell\desktop\workspace\customslider\dashboard\generatedfiles\ui_dashboard.h 5 | c:\users\dell\desktop\workspace\customslider\dashboard\generatedfiles\release\moc_dashboard.cpp 6 | c:\users\dell\desktop\workspace\customslider\x64\release\dashboard.lib 7 | c:\users\dell\desktop\workspace\customslider\x64\release\dashboard.exp 8 | c:\users\dell\desktop\workspace\customslider\x64\release\dashboard.ilk 9 | c:\users\dell\desktop\workspace\customslider\x64\release\dashboard.dll 10 | c:\users\dell\desktop\workspace\customslider\x64\release\dashboard.pdb 11 | c:\users\dell\desktop\workspace\customslider\dashboard\.\generatedfiles\release\moc_dashboard.cpp 12 | c:\users\dell\desktop\workspace\customslider\dashboard\.\generatedfiles\ui_dashboard.h 13 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\vc140.idb 14 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\cl.command.1.tlog 15 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\cl.read.1.tlog 16 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\cl.write.1.tlog 17 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\dashboard.write.1u.tlog 18 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\link.command.1.tlog 19 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\link.read.1.tlog 20 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\link.write.1.tlog 21 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\moc.read.1u.tlog 22 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\moc.write.1u.tlog 23 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\uic.read.1u.tlog 24 | c:\users\dell\desktop\workspace\customslider\dashboard\x64\release\dashboard.tlog\uic.write.1u.tlog 25 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.log: -------------------------------------------------------------------------------- 1 |  DashBoard.cpp 2 | moc_DashBoard.cpp 3 | 正在创建库 C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\DashBoard.lib 和对象 C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\DashBoard.exp 4 | DashBoard.vcxproj -> C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\DashBoard.dll 5 | DashBoard.vcxproj -> C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\DashBoard.pdb (Partial PDB) 6 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.obj -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/DashBoard.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1 2 | Release|x64|C:\Users\DELL\Desktop\Workspace\CustomControls\| 3 | -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/DashBoard.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/DashBoard.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/moc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/moc.read.1u.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/moc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/moc.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/uic.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/uic.read.1u.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/uic.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/DashBoard.tlog/uic.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/moc_DashBoard.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/moc_DashBoard.obj -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/qt_work.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/qt_work.log -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/vc140.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/vc140.idb -------------------------------------------------------------------------------- /AllControls/Progressbar/DashBoard/x64/Release/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Progressbar/DashBoard/x64/Release/vc140.pdb -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/CustomSlider.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/CustomSlider.cpp -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/CustomSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/CustomSlider.h -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/CustomSlider.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CustomSlider 4 | 5 | 6 | 7 | 0 8 | 0 9 | 213 10 | 479 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | CustomSlider 21 | 22 | 23 | 24 | 25 | 60 26 | 40 27 | 71 28 | 71 29 | 30 | 31 | 32 | 33 | 0 34 | 0 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 0 43 | 44 | 45 | 0 46 | 47 | 48 | 0 49 | 50 | 51 | 0 52 | 53 | 54 | 0 55 | 56 | 57 | 58 | 59 | 60 | 0 61 | 0 62 | 63 | 64 | 65 | 66 | 67 | 68 | Qt::AlignCenter 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/CustomSlider.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 24 | moc;h;cpp 25 | False 26 | 27 | 28 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 29 | ui 30 | true 31 | 32 | 33 | 34 | 35 | Header Files 36 | 37 | 38 | 39 | 40 | Header Files 41 | 42 | 43 | 44 | 45 | Source Files 46 | 47 | 48 | 49 | 50 | Form Files 51 | 52 | 53 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/CustomSlider.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | C:\Qt\Qt5.8.0\5.8\msvc2015_64 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | 9 | C:\Qt\Qt5.8.0\5.8\msvc2015_64 10 | D:\RXRunPath 11 | WindowsLocalDebugger 12 | C:\Users\DELL\Desktop\Workspace\CustomSlider\x64\Release\TestSlider.exe 13 | PATH=$(QTDIR)\bin%3b$(PATH) 14 | 15 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/GeneratedFiles/Debug/moc_CustomSlider.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'CustomSlider.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../CustomSlider.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'CustomSlider.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.8.0. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_CustomSlider_t { 24 | QByteArrayData data[1]; 25 | char stringdata0[13]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_CustomSlider_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_CustomSlider_t qt_meta_stringdata_CustomSlider = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 12) // "CustomSlider" 35 | 36 | }, 37 | "CustomSlider" 38 | }; 39 | #undef QT_MOC_LITERAL 40 | 41 | static const uint qt_meta_data_CustomSlider[] = { 42 | 43 | // content: 44 | 7, // revision 45 | 0, // classname 46 | 0, 0, // classinfo 47 | 0, 0, // methods 48 | 0, 0, // properties 49 | 0, 0, // enums/sets 50 | 0, 0, // constructors 51 | 0, // flags 52 | 0, // signalCount 53 | 54 | 0 // eod 55 | }; 56 | 57 | void CustomSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 58 | { 59 | Q_UNUSED(_o); 60 | Q_UNUSED(_id); 61 | Q_UNUSED(_c); 62 | Q_UNUSED(_a); 63 | } 64 | 65 | const QMetaObject CustomSlider::staticMetaObject = { 66 | { &QWidget::staticMetaObject, qt_meta_stringdata_CustomSlider.data, 67 | qt_meta_data_CustomSlider, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 68 | }; 69 | 70 | 71 | const QMetaObject *CustomSlider::metaObject() const 72 | { 73 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 74 | } 75 | 76 | void *CustomSlider::qt_metacast(const char *_clname) 77 | { 78 | if (!_clname) return Q_NULLPTR; 79 | if (!strcmp(_clname, qt_meta_stringdata_CustomSlider.stringdata0)) 80 | return static_cast(const_cast< CustomSlider*>(this)); 81 | return QWidget::qt_metacast(_clname); 82 | } 83 | 84 | int CustomSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 85 | { 86 | _id = QWidget::qt_metacall(_c, _id, _a); 87 | if (_id < 0) 88 | return _id; 89 | return _id; 90 | } 91 | QT_WARNING_POP 92 | QT_END_MOC_NAMESPACE 93 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/GeneratedFiles/Release/moc_CustomSlider.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** Meta object code from reading C++ file 'CustomSlider.h' 3 | ** 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0) 5 | ** 6 | ** WARNING! All changes made in this file will be lost! 7 | *****************************************************************************/ 8 | 9 | #include "../../CustomSlider.h" 10 | #include 11 | #include 12 | #if !defined(Q_MOC_OUTPUT_REVISION) 13 | #error "The header file 'CustomSlider.h' doesn't include ." 14 | #elif Q_MOC_OUTPUT_REVISION != 67 15 | #error "This file was generated using the moc from 5.8.0. It" 16 | #error "cannot be used with the include files from this version of Qt." 17 | #error "(The moc has changed too much.)" 18 | #endif 19 | 20 | QT_BEGIN_MOC_NAMESPACE 21 | QT_WARNING_PUSH 22 | QT_WARNING_DISABLE_DEPRECATED 23 | struct qt_meta_stringdata_CustomSlider_t { 24 | QByteArrayData data[4]; 25 | char stringdata0[36]; 26 | }; 27 | #define QT_MOC_LITERAL(idx, ofs, len) \ 28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 | qptrdiff(offsetof(qt_meta_stringdata_CustomSlider_t, stringdata0) + ofs \ 30 | - idx * sizeof(QByteArrayData)) \ 31 | ) 32 | static const qt_meta_stringdata_CustomSlider_t qt_meta_stringdata_CustomSlider = { 33 | { 34 | QT_MOC_LITERAL(0, 0, 12), // "CustomSlider" 35 | QT_MOC_LITERAL(1, 13, 11), // "ValueChange" 36 | QT_MOC_LITERAL(2, 25, 0), // "" 37 | QT_MOC_LITERAL(3, 26, 9) // "cur_value" 38 | 39 | }, 40 | "CustomSlider\0ValueChange\0\0cur_value" 41 | }; 42 | #undef QT_MOC_LITERAL 43 | 44 | static const uint qt_meta_data_CustomSlider[] = { 45 | 46 | // content: 47 | 7, // revision 48 | 0, // classname 49 | 0, 0, // classinfo 50 | 1, 14, // methods 51 | 0, 0, // properties 52 | 0, 0, // enums/sets 53 | 0, 0, // constructors 54 | 0, // flags 55 | 1, // signalCount 56 | 57 | // signals: name, argc, parameters, tag, flags 58 | 1, 1, 19, 2, 0x06 /* Public */, 59 | 60 | // signals: parameters 61 | QMetaType::Void, QMetaType::Int, 3, 62 | 63 | 0 // eod 64 | }; 65 | 66 | void CustomSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 67 | { 68 | if (_c == QMetaObject::InvokeMetaMethod) { 69 | CustomSlider *_t = static_cast(_o); 70 | Q_UNUSED(_t) 71 | switch (_id) { 72 | case 0: _t->ValueChange((*reinterpret_cast< int(*)>(_a[1]))); break; 73 | default: ; 74 | } 75 | } else if (_c == QMetaObject::IndexOfMethod) { 76 | int *result = reinterpret_cast(_a[0]); 77 | void **func = reinterpret_cast(_a[1]); 78 | { 79 | typedef void (CustomSlider::*_t)(int ); 80 | if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CustomSlider::ValueChange)) { 81 | *result = 0; 82 | return; 83 | } 84 | } 85 | } 86 | } 87 | 88 | const QMetaObject CustomSlider::staticMetaObject = { 89 | { &QWidget::staticMetaObject, qt_meta_stringdata_CustomSlider.data, 90 | qt_meta_data_CustomSlider, qt_static_metacall, Q_NULLPTR, Q_NULLPTR} 91 | }; 92 | 93 | 94 | const QMetaObject *CustomSlider::metaObject() const 95 | { 96 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; 97 | } 98 | 99 | void *CustomSlider::qt_metacast(const char *_clname) 100 | { 101 | if (!_clname) return Q_NULLPTR; 102 | if (!strcmp(_clname, qt_meta_stringdata_CustomSlider.stringdata0)) 103 | return static_cast(const_cast< CustomSlider*>(this)); 104 | return QWidget::qt_metacast(_clname); 105 | } 106 | 107 | int CustomSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 108 | { 109 | _id = QWidget::qt_metacall(_c, _id, _a); 110 | if (_id < 0) 111 | return _id; 112 | if (_c == QMetaObject::InvokeMetaMethod) { 113 | if (_id < 1) 114 | qt_static_metacall(this, _c, _id, _a); 115 | _id -= 1; 116 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { 117 | if (_id < 1) 118 | *reinterpret_cast(_a[0]) = -1; 119 | _id -= 1; 120 | } 121 | return _id; 122 | } 123 | 124 | // SIGNAL 0 125 | void CustomSlider::ValueChange(int _t1) 126 | { 127 | void *_a[] = { Q_NULLPTR, const_cast(reinterpret_cast(&_t1)) }; 128 | QMetaObject::activate(this, &staticMetaObject, 0, _a); 129 | } 130 | QT_WARNING_POP 131 | QT_END_MOC_NAMESPACE 132 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/GeneratedFiles/ui_CustomSlider.h: -------------------------------------------------------------------------------- 1 | /******************************************************************************** 2 | ** Form generated from reading UI file 'CustomSlider.ui' 3 | ** 4 | ** Created by: Qt User Interface Compiler version 5.8.0 5 | ** 6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 | ********************************************************************************/ 8 | 9 | #ifndef UI_CUSTOMSLIDER_H 10 | #define UI_CUSTOMSLIDER_H 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | QT_BEGIN_NAMESPACE 22 | 23 | class Ui_CustomSlider 24 | { 25 | public: 26 | QWidget *slider_wid; 27 | QGridLayout *gridLayout; 28 | QLabel *hander_lab; 29 | 30 | void setupUi(QWidget *CustomSlider) 31 | { 32 | if (CustomSlider->objectName().isEmpty()) 33 | CustomSlider->setObjectName(QStringLiteral("CustomSlider")); 34 | CustomSlider->resize(213, 479); 35 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); 36 | sizePolicy.setHorizontalStretch(0); 37 | sizePolicy.setVerticalStretch(0); 38 | sizePolicy.setHeightForWidth(CustomSlider->sizePolicy().hasHeightForWidth()); 39 | CustomSlider->setSizePolicy(sizePolicy); 40 | slider_wid = new QWidget(CustomSlider); 41 | slider_wid->setObjectName(QStringLiteral("slider_wid")); 42 | slider_wid->setGeometry(QRect(60, 40, 71, 71)); 43 | sizePolicy.setHeightForWidth(slider_wid->sizePolicy().hasHeightForWidth()); 44 | slider_wid->setSizePolicy(sizePolicy); 45 | slider_wid->setStyleSheet(QStringLiteral("")); 46 | gridLayout = new QGridLayout(slider_wid); 47 | gridLayout->setSpacing(0); 48 | gridLayout->setContentsMargins(11, 11, 11, 11); 49 | gridLayout->setObjectName(QStringLiteral("gridLayout")); 50 | gridLayout->setContentsMargins(0, 0, 0, 0); 51 | hander_lab = new QLabel(slider_wid); 52 | hander_lab->setObjectName(QStringLiteral("hander_lab")); 53 | sizePolicy.setHeightForWidth(hander_lab->sizePolicy().hasHeightForWidth()); 54 | hander_lab->setSizePolicy(sizePolicy); 55 | hander_lab->setAlignment(Qt::AlignCenter); 56 | 57 | gridLayout->addWidget(hander_lab, 0, 0, 1, 1); 58 | 59 | 60 | retranslateUi(CustomSlider); 61 | 62 | QMetaObject::connectSlotsByName(CustomSlider); 63 | } // setupUi 64 | 65 | void retranslateUi(QWidget *CustomSlider) 66 | { 67 | CustomSlider->setWindowTitle(QApplication::translate("CustomSlider", "CustomSlider", Q_NULLPTR)); 68 | hander_lab->setText(QString()); 69 | } // retranslateUi 70 | 71 | }; 72 | 73 | namespace Ui { 74 | class CustomSlider: public Ui_CustomSlider {}; 75 | } // namespace Ui 76 | 77 | QT_END_NAMESPACE 78 | 79 | #endif // UI_CUSTOMSLIDER_H 80 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/customslider_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(CUSTOMSLIDER_LIB) 7 | # define CUSTOMSLIDER_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define CUSTOMSLIDER_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define CUSTOMSLIDER_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.log: -------------------------------------------------------------------------------- 1 |  Uic'ing CustomSlider.ui... 2 | Moc'ing CustomSlider.h... 3 | CustomSlider.cpp 4 | moc_CustomSlider.cpp 5 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(6): error C2079: “CustomSlider”使用未定义的 class“CUSTOMSLIDER_EXPORT” (编译源文件 CustomSlider.cpp) 6 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\debug\../../CustomSlider.h(6): error C2079: “CustomSlider”使用未定义的 class“CUSTOMSLIDER_EXPORT” (编译源文件 GeneratedFiles\Debug\moc_CustomSlider.cpp) 7 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(6): error C2143: 语法错误: 缺少“;”(在“:”的前面) (编译源文件 CustomSlider.cpp) 8 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\debug\../../CustomSlider.h(6): error C2143: 语法错误: 缺少“;”(在“:”的前面) (编译源文件 GeneratedFiles\Debug\moc_CustomSlider.cpp) 9 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(6): error C2059: 语法错误:“:” (编译源文件 CustomSlider.cpp) 10 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\debug\../../CustomSlider.h(6): error C2059: 语法错误:“:” (编译源文件 GeneratedFiles\Debug\moc_CustomSlider.cpp) 11 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(6): error C2059: 语法错误:“public” (编译源文件 CustomSlider.cpp) 12 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\debug\../../CustomSlider.h(6): error C2059: 语法错误:“public” (编译源文件 GeneratedFiles\Debug\moc_CustomSlider.cpp) 13 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(7): error C2143: 语法错误: 缺少“;”(在“{”的前面) (编译源文件 CustomSlider.cpp) 14 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\debug\../../CustomSlider.h(7): error C2143: 语法错误: 缺少“;”(在“{”的前面) (编译源文件 GeneratedFiles\Debug\moc_CustomSlider.cpp) 15 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(7): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) (编译源文件 CustomSlider.cpp) 16 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\debug\../../CustomSlider.h(7): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) (编译源文件 GeneratedFiles\Debug\moc_CustomSlider.cpp) 17 | CustomSlider.cpp(3): error C2825: 'CustomSlider': 当后面跟“::”时必须为类或命名空间 18 | CustomSlider.cpp(3): error C2510: “CustomSlider”:“::”的左边必须是类/结构/联合 19 | GeneratedFiles\Debug\moc_CustomSlider.cpp(57): error C2825: 'CustomSlider': 当后面跟“::”时必须为类或命名空间 20 | CustomSlider.cpp(4): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int 21 | GeneratedFiles\Debug\moc_CustomSlider.cpp(57): error C2510: “CustomSlider”:“::”的左边必须是类/结构/联合 22 | GeneratedFiles\Debug\moc_CustomSlider.cpp(65): error C2825: 'CustomSlider': 当后面跟“::”时必须为类或命名空间 23 | CustomSlider.cpp(4): error C2365: “CustomSlider”: 重定义;以前的定义是“数据变量” 24 | GeneratedFiles\Debug\moc_CustomSlider.cpp(65): error C2510: “CustomSlider”:“::”的左边必须是类/结构/联合 25 | c:\users\dell\desktop\workspace\customslider\customslider\CustomSlider.h(6): note: 参见“CustomSlider”的声明 26 | CustomSlider.cpp(5): error C2550: “CustomSlider”: 构造函数初始值设定项列表只能在构造函数定义中使用 27 | CustomSlider.cpp(6): error C2065: “ui”: 未声明的标识符 28 | CustomSlider.cpp(6): error C2228: “.setupUi”的左边必须有类/结构/联合 29 | CustomSlider.cpp(6): note: 类型是“unknown-type” 30 | CustomSlider.cpp(6): error C2355: “this”: 只能在非静态成员函数或非静态数据成员初始值设定项的内部引用 31 | GeneratedFiles\Debug\moc_CustomSlider.cpp(71): error C2825: 'CustomSlider': 当后面跟“::”时必须为类或命名空间 32 | GeneratedFiles\Debug\moc_CustomSlider.cpp(71): error C2510: “CustomSlider”:“::”的左边必须是类/结构/联合 33 | CustomSlider.cpp(9): error C2143: 语法错误: 缺少“;”(在“::”的前面) 34 | GeneratedFiles\Debug\moc_CustomSlider.cpp(72): error C2270: “metaObject”: 非成员函数上不允许修饰符 35 | CustomSlider.cpp(9): error C2059: 语法错误:“::” 36 | GeneratedFiles\Debug\moc_CustomSlider.cpp(73): error C2227: “->metaObject”的左边必须指向类/结构/联合/泛型类型 37 | CustomSlider.cpp(10): error C2143: 语法错误: 缺少“;”(在“{”的前面) 38 | GeneratedFiles\Debug\moc_CustomSlider.cpp(73): error C2227: “->dynamicMetaObject”的左边必须指向类/结构/联合/泛型类型 39 | CustomSlider.cpp(10): error C2447: “{”: 缺少函数标题(是否是老式的形式表?) 40 | GeneratedFiles\Debug\moc_CustomSlider.cpp(76): error C2825: 'CustomSlider': 当后面跟“::”时必须为类或命名空间 41 | GeneratedFiles\Debug\moc_CustomSlider.cpp(76): error C2510: “CustomSlider”:“::”的左边必须是类/结构/联合 42 | GeneratedFiles\Debug\moc_CustomSlider.cpp(80): error C2061: 语法错误: 标识符“CustomSlider” 43 | GeneratedFiles\Debug\moc_CustomSlider.cpp(80): error C2146: 语法错误: 缺少“(”(在标识符“CustomSlider”的前面) 44 | GeneratedFiles\Debug\moc_CustomSlider.cpp(81): error C2352: “QWidget::qt_metacast”: 非静态成员函数的非法调用 45 | c:\qt\qt5.8.0\5.8\msvc2015_64\include\qtwidgets\qwidget.h(130): note: 参见“QWidget::qt_metacast”的声明 46 | GeneratedFiles\Debug\moc_CustomSlider.cpp(84): error C2825: 'CustomSlider': 当后面跟“::”时必须为类或命名空间 47 | GeneratedFiles\Debug\moc_CustomSlider.cpp(84): error C2510: “CustomSlider”:“::”的左边必须是类/结构/联合 48 | GeneratedFiles\Debug\moc_CustomSlider.cpp(86): error C2352: “QWidget::qt_metacall”: 非静态成员函数的非法调用 49 | c:\qt\qt5.8.0\5.8\msvc2015_64\include\qtwidgets\qwidget.h(130): note: 参见“QWidget::qt_metacall”的声明 50 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/CustomSlider.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1 2 | Debug|x64|C:\Users\DELL\Desktop\Workspace\CustomSlider\| 3 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/CustomSlider.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/CustomSlider.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/moc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/moc.read.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/moc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/moc.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/uic.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/uic.read.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/uic.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/uic.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/unsuccessfulbuild: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/CustomSlider.tlog/unsuccessfulbuild -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/qt_work.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/qt_work.log -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Debug/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Debug/vc140.pdb -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.Build.CppClean.log: -------------------------------------------------------------------------------- 1 | c:\users\dell\desktop\workspace\customslider\customslider\x64\release\customslider.obj 2 | c:\users\dell\desktop\workspace\customslider\customslider\x64\release\moc_customslider.obj 3 | c:\users\dell\desktop\workspace\customslider\customslider\x64\release\vc140.pdb 4 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\ui_customslider.h 5 | c:\users\dell\desktop\workspace\customslider\customslider\generatedfiles\release\moc_customslider.cpp 6 | c:\users\dell\desktop\workspace\customslider\x64\release\customslider.lib 7 | c:\users\dell\desktop\workspace\customslider\x64\release\customslider.exp 8 | c:\users\dell\desktop\workspace\customslider\x64\release\customslider.ilk 9 | c:\users\dell\desktop\workspace\customslider\x64\release\customslider.dll 10 | c:\users\dell\desktop\workspace\customslider\x64\release\customslider.pdb 11 | c:\users\dell\desktop\workspace\customslider\customslider\.\generatedfiles\release\moc_customslider.cpp 12 | c:\users\dell\desktop\workspace\customslider\customslider\.\generatedfiles\ui_customslider.h 13 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.obj 14 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\moc_customslider.obj 15 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\vc140.idb 16 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\vc140.pdb 17 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\cl.command.1.tlog 18 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\cl.read.1.tlog 19 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\cl.write.1.tlog 20 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\customslider.write.1u.tlog 21 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\link.command.1.tlog 22 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\link.read.1.tlog 23 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\link.write.1.tlog 24 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\moc.read.1u.tlog 25 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\moc.write.1u.tlog 26 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\uic.read.1u.tlog 27 | c:\users\dell\desktop\workspace\customcontrols\allcontrols\sliderbar\customslider\x64\release\customslider.tlog\uic.write.1u.tlog 28 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.log: -------------------------------------------------------------------------------- 1 |  Uic'ing CustomSlider.ui... 2 | Moc'ing CustomSlider.h... 3 | CustomSlider.cpp 4 | moc_CustomSlider.cpp 5 | 正在创建库 C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\CustomSlider.lib 和对象 C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\CustomSlider.exp 6 | CustomSlider.vcxproj -> C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\CustomSlider.dll 7 | CustomSlider.vcxproj -> C:\Users\DELL\Desktop\Workspace\CustomControls\x64\Release\CustomSlider.pdb (Partial PDB) 8 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.obj -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CL.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CL.command.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CL.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CL.read.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CL.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CL.write.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CustomSlider.lastbuildstate: -------------------------------------------------------------------------------- 1 | #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1 2 | Release|x64|C:\Users\DELL\Desktop\Workspace\CustomControls\| 3 | -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CustomSlider.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/CustomSlider.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/link.command.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/link.command.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/link.read.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/link.read.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/link.write.1.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/link.write.1.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/moc.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/moc.read.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/moc.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/moc.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/uic.read.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/uic.read.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/uic.write.1u.tlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/CustomSlider.tlog/uic.write.1u.tlog -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/moc_CustomSlider.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/moc_CustomSlider.obj -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/qt_work.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/qt_work.log -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/vc140.idb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/vc140.idb -------------------------------------------------------------------------------- /AllControls/Sliderbar/CustomSlider/x64/Release/vc140.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/AllControls/Sliderbar/CustomSlider/x64/Release/vc140.pdb -------------------------------------------------------------------------------- /Animation/Animation.cpp: -------------------------------------------------------------------------------- 1 | #include "Animation.h" 2 | 3 | Animation::Animation() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /Animation/Animation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "animation_global.h" 4 | 5 | class ANIMATION_EXPORT Animation 6 | { 7 | public: 8 | Animation(); 9 | }; 10 | -------------------------------------------------------------------------------- /Animation/Animation.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 24 | moc;h;cpp 25 | False 26 | 27 | 28 | {5bcb0473-bc12-4232-924b-3b35bc3cd40b} 29 | 30 | 31 | 32 | 33 | Source Files 34 | 35 | 36 | TurnPan 37 | 38 | 39 | 40 | 41 | Header Files 42 | 43 | 44 | 45 | 46 | Header Files 47 | 48 | 49 | 50 | 51 | TurnPan 52 | 53 | 54 | 55 | 56 | TurnPan 57 | 58 | 59 | -------------------------------------------------------------------------------- /Animation/Animation.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | true 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 13 | WindowsLocalDebugger 14 | 15 | 16 | -------------------------------------------------------------------------------- /Animation/RXTurnPan.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/Animation/RXTurnPan.cpp -------------------------------------------------------------------------------- /Animation/RXTurnPan.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/Animation/RXTurnPan.h -------------------------------------------------------------------------------- /Animation/RXTurnPan.ui: -------------------------------------------------------------------------------- 1 | 2 | RXTurnPan 3 | 4 | 5 | RXTurnPan 6 | 7 | 8 | 9 | 0 10 | 0 11 | 400 12 | 300 13 | 14 | 15 | 16 | RXTurnPan 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Animation/animation_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(ANIMATION_LIB) 7 | # define ANIMATION_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define ANIMATION_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define ANIMATION_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /BtnControls/BtnControls.cpp: -------------------------------------------------------------------------------- 1 | #include "BtnControls.h" 2 | 3 | BtnControls::BtnControls() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /BtnControls/BtnControls.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "btncontrols_global.h" 4 | 5 | class BTNCONTROLS_EXPORT BtnControls 6 | { 7 | public: 8 | BtnControls(); 9 | }; 10 | -------------------------------------------------------------------------------- /BtnControls/BtnControls.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | x64 7 | 8 | 9 | Release 10 | x64 11 | 12 | 13 | 14 | {8671BA6F-84AD-4A71-AECE-640B1207BDD7} 15 | QtVS_v304 16 | $(MSBuildProjectDirectory)\QtMsBuild 17 | 18 | 19 | 20 | DynamicLibrary 21 | v142 22 | 23 | 24 | DynamicLibrary 25 | v142 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | msvc2015_64 47 | core;gui;widgets 48 | 49 | 50 | msvc2019_64 51 | core;gui;widgets 52 | 53 | 54 | 55 | 56 | 57 | 58 | true 59 | Disabled 60 | ProgramDatabase 61 | MultiThreadedDebugDLL 62 | true 63 | BTNCONTROLS_LIB;%(PreprocessorDefinitions) 64 | true 65 | 66 | 67 | Windows 68 | $(OutDir)\$(ProjectName).dll 69 | true 70 | 71 | 72 | 73 | 74 | true 75 | EditAndContinue 76 | MultiThreadedDLL 77 | true 78 | BTNCONTROLS_LIB;%(PreprocessorDefinitions) 79 | true 80 | 81 | 82 | Windows 83 | $(OutDir)\$(ProjectName).dll 84 | DebugFastLink 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /BtnControls/BtnControls.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {2e7f4927-db0b-4c67-8ce8-2e8d86876328} 24 | 25 | 26 | {47007807-7578-4390-9a12-aa2107ba8908} 27 | 28 | 29 | 30 | 31 | Source Files 32 | 33 | 34 | DropDownMenu 35 | 36 | 37 | RXDateSelectPage 38 | 39 | 40 | 41 | 42 | Header Files 43 | 44 | 45 | 46 | 47 | Header Files 48 | 49 | 50 | 51 | 52 | DropDownMenu 53 | 54 | 55 | RXDateSelectPage 56 | 57 | 58 | 59 | 60 | DropDownMenu 61 | 62 | 63 | RXDateSelectPage 64 | 65 | 66 | -------------------------------------------------------------------------------- /BtnControls/BtnControls.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 5 | WindowsLocalDebugger 6 | 7 | -------------------------------------------------------------------------------- /BtnControls/DropDownMenu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/BtnControls/DropDownMenu.cpp -------------------------------------------------------------------------------- /BtnControls/DropDownMenu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/BtnControls/DropDownMenu.h -------------------------------------------------------------------------------- /BtnControls/DropDownMenu.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | DropDownMenu 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | DropDownMenu 15 | 16 | 17 | background-color: rgb(26, 26, 26); 18 | 19 | 20 | 21 | 0 22 | 23 | 24 | 0 25 | 26 | 27 | 0 28 | 29 | 30 | 0 31 | 32 | 33 | 0 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /BtnControls/RXDateSelectPage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/BtnControls/RXDateSelectPage.cpp -------------------------------------------------------------------------------- /BtnControls/RXDateSelectPage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/BtnControls/RXDateSelectPage.h -------------------------------------------------------------------------------- /BtnControls/btncontrols_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(BTNCONTROLS_LIB) 7 | # define BTNCONTROLS_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define BTNCONTROLS_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define BTNCONTROLS_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /CommonCharts/CommonCharts.cpp: -------------------------------------------------------------------------------- 1 | #include "CommonCharts.h" 2 | 3 | CommonCharts::CommonCharts() 4 | { 5 | 6 | 7 | } 8 | -------------------------------------------------------------------------------- /CommonCharts/CommonCharts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/CommonCharts.h -------------------------------------------------------------------------------- /CommonCharts/CommonCharts.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 24 | moc;h;cpp 25 | False 26 | 27 | 28 | {183f920a-ca8e-4668-9d26-fedbf0827357} 29 | 30 | 31 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 32 | ui 33 | true 34 | 35 | 36 | {dcc3bd43-7f52-4980-92d9-e4c4ab6c61e7} 37 | 38 | 39 | {3e9e21d1-4e8b-43fa-9663-444df36f420a} 40 | 41 | 42 | {b2db10e8-6af6-4076-93fb-3fce9280c6b4} 43 | 44 | 45 | 46 | 47 | Source Files 48 | 49 | 50 | HandleLineChart 51 | 52 | 53 | HandlePieChart 54 | 55 | 56 | HandleScatterChart 57 | 58 | 59 | HandleBarChart 60 | 61 | 62 | 63 | 64 | Header Files 65 | 66 | 67 | 68 | 69 | Header Files 70 | 71 | 72 | 73 | 74 | HandleLineChart 75 | 76 | 77 | HandlePieChart 78 | 79 | 80 | HandleScatterChart 81 | 82 | 83 | HandleBarChart 84 | 85 | 86 | 87 | 88 | HandleLineChart 89 | 90 | 91 | HandlePieChart 92 | 93 | 94 | HandleScatterChart 95 | 96 | 97 | HandleBarChart 98 | 99 | 100 | -------------------------------------------------------------------------------- /CommonCharts/CommonCharts.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 11 | WindowsLocalDebugger 12 | 13 | 14 | -------------------------------------------------------------------------------- /CommonCharts/HandleBarChart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandleBarChart.cpp -------------------------------------------------------------------------------- /CommonCharts/HandleBarChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandleBarChart.h -------------------------------------------------------------------------------- /CommonCharts/HandleBarChart.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | HandleBarChart 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | HandleBarChart 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 | 37 | 38 | 39 | 40 | QChartView 41 | QWidget 42 |
QChartView.h
43 | 1 44 |
45 |
46 | 47 | 48 |
49 | -------------------------------------------------------------------------------- /CommonCharts/HandleLineChart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandleLineChart.cpp -------------------------------------------------------------------------------- /CommonCharts/HandleLineChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandleLineChart.h -------------------------------------------------------------------------------- /CommonCharts/HandleLineChart.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | HandleLineChart 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | HandleLineChart 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 | 37 | 38 | 39 | 40 | QChartView 41 | QWidget 42 |
QChartView.h
43 | 1 44 |
45 |
46 | 47 | 48 |
49 | -------------------------------------------------------------------------------- /CommonCharts/HandlePieChart.cpp: -------------------------------------------------------------------------------- 1 | #include "HandlePieChart.h" 2 | #include 3 | #include 4 | #include "ui_HandlePieChart.h" 5 | #pragma execution_character_set("utf-8") 6 | HandlePieChart::HandlePieChart(QWidget *parent) 7 | : QWidget(parent) 8 | { 9 | ui = new Ui::HandlePieChart; 10 | ui->setupUi(this); 11 | qchart_view = ui->qchart_view; 12 | qchart = new QChart; 13 | legend = qchart->legend(); 14 | 15 | pie_series = new QPieSeries(this); 16 | this->SetDefaultProperty(); 17 | } 18 | 19 | HandlePieChart::~HandlePieChart() 20 | { 21 | delete ui; 22 | } 23 | 24 | void HandlePieChart::SetXAxisRange(double min_value, double max_value) 25 | { 26 | qchart->axisX()->setRange(min_value, max_value); 27 | } 28 | 29 | void HandlePieChart::SetYAxisRange(double min_value, double max_value) 30 | { 31 | qchart->axisY()->setRange(min_value, max_value); 32 | } 33 | 34 | void HandlePieChart::UpdateCurve(QListvalue_list) 35 | { 36 | pie_series->append(QString::fromUtf8("顾逸凡 10%"), 1); 37 | pie_series->append(QString::fromUtf8("波尔 56.4%"), 3); 38 | pie_series->append(QString::fromUtf8("来须苍真 23.8%"), 6); 39 | 40 | //用QPieSlice改变对用块的颜色 41 | QPieSlice *slice_red = pie_series->slices().at(0); 42 | QPieSlice *slice_green = pie_series->slices().at(1); 43 | QPieSlice *slice_blue = pie_series->slices().at(2); 44 | slice_red->setColor(QColor(151, 176, 69, 255)); 45 | slice_green->setColor(QColor(218, 240, 146, 255)); 46 | slice_blue->setColor(QColor(55, 64, 25, 255)); 47 | } 48 | 49 | void HandlePieChart::SetDefaultProperty() 50 | { 51 | qchart->addSeries(pie_series); 52 | pie_series->setHoleSize(0.35);//设置空心 53 | 54 | qchart_view->setChart(qchart); 55 | qchart_view->setRubberBand(QChartView::NoRubberBand); 56 | qchart_view->setRenderHint(QPainter::Antialiasing);//抗锯齿渲染 57 | qchart_view->chart()->setTheme(QChart::ChartThemeBlueCerulean); 58 | 59 | pie_series->setUseOpenGL(true);//openGl 加速 60 | pie_series->setVisible(true); 61 | 62 | legend = qchart->legend(); 63 | legend->setAlignment(Qt::AlignBottom); 64 | legend->setFont(QFont("Arial", 8)); 65 | 66 | qchart->setMargins(QMargins(0, 0, 0, 0)); 67 | 68 | //曲线颜色 69 | //line_series_up->setPen(QPen(QColor(220, 220, 200), 1, Qt::SolidLine));//设置画笔 70 | 71 | //画布颜色 设置风格后不需要设置 72 | //qchart->setBackgroundBrush(QColor(0, 0, 0, 150)); 73 | 74 | //画布颜色 75 | //坐标轴字体以及颜色 76 | 77 | //标题 78 | qchart->setMargins(QMargins(20, 20, 20, 20)); 79 | qchart->setTitle(QString::fromUtf8("饼图")); 80 | } 81 | -------------------------------------------------------------------------------- /CommonCharts/HandlePieChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandlePieChart.h -------------------------------------------------------------------------------- /CommonCharts/HandlePieChart.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | HandlePieChart 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | HandlePieChart 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 | 37 | 38 | 39 | 40 | QChartView 41 | QWidget 42 |
QChartView.h
43 | 1 44 |
45 |
46 | 47 | 48 |
49 | -------------------------------------------------------------------------------- /CommonCharts/HandleScatterChart.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandleScatterChart.cpp -------------------------------------------------------------------------------- /CommonCharts/HandleScatterChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CommonCharts/HandleScatterChart.h -------------------------------------------------------------------------------- /CommonCharts/HandleScatterChart.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | HandleScatterChart 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | HandleScatterChart 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 | 37 | 38 | 39 | 40 | QChartView 41 | QWidget 42 |
QChartView.h
43 | 1 44 |
45 |
46 | 47 | 48 |
49 | -------------------------------------------------------------------------------- /CommonCharts/commoncharts_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(COMMONCHARTS_LIB) 7 | # define COMMONCHARTS_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define COMMONCHARTS_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define COMMONCHARTS_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /CustomControls.VC.VC.opendb: -------------------------------------------------------------------------------- 1 | DELLDESKTOP-6B5D8GA -------------------------------------------------------------------------------- /CustomControls.VC.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls.VC.db -------------------------------------------------------------------------------- /CustomControls.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 14 4 | VisualStudioVersion = 14.0.25420.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CustomControls", "CustomControls\CustomControls.vcxproj", "{B12702AD-ABFB-343A-A199-8E24837244A3}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ProgressBar", "ProgressBar\ProgressBar.vcxproj", "{3079FEEA-A139-47EF-A6B9-CF31B21F83F9}" 9 | EndProject 10 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SliderBar", "SliderBar\SliderBar.vcxproj", "{5AE37151-4EDA-4E5E-920D-EC3B31716442}" 11 | EndProject 12 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Animation", "Animation\Animation.vcxproj", "{8B7EEBC6-6497-4148-B7AE-071B9F8F6F70}" 13 | EndProject 14 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonCharts", "CommonCharts\CommonCharts.vcxproj", "{21770D88-729E-44E4-A33B-FC785D2F1C0A}" 15 | EndProject 16 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Panel", "Panel\Panel.vcxproj", "{B3D720A6-DC8D-4EB7-854C-BD3B648A0FE8}" 17 | EndProject 18 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "BtnControls", "BtnControls\BtnControls.vcxproj", "{8671BA6F-84AD-4A71-AECE-640B1207BDD7}" 19 | EndProject 20 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CustomWin", "CustomWin\CustomWin.vcxproj", "{7D1F420C-E290-4AFF-AA84-B0C5712BC298}" 21 | EndProject 22 | Global 23 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 24 | Debug|x64 = Debug|x64 25 | Release|x64 = Release|x64 26 | EndGlobalSection 27 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 28 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.ActiveCfg = Debug|x64 29 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Debug|x64.Build.0 = Debug|x64 30 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.ActiveCfg = Release|x64 31 | {B12702AD-ABFB-343A-A199-8E24837244A3}.Release|x64.Build.0 = Release|x64 32 | {3079FEEA-A139-47EF-A6B9-CF31B21F83F9}.Debug|x64.ActiveCfg = Debug|x64 33 | {3079FEEA-A139-47EF-A6B9-CF31B21F83F9}.Debug|x64.Build.0 = Debug|x64 34 | {3079FEEA-A139-47EF-A6B9-CF31B21F83F9}.Release|x64.ActiveCfg = Release|x64 35 | {3079FEEA-A139-47EF-A6B9-CF31B21F83F9}.Release|x64.Build.0 = Release|x64 36 | {5AE37151-4EDA-4E5E-920D-EC3B31716442}.Debug|x64.ActiveCfg = Debug|x64 37 | {5AE37151-4EDA-4E5E-920D-EC3B31716442}.Debug|x64.Build.0 = Debug|x64 38 | {5AE37151-4EDA-4E5E-920D-EC3B31716442}.Release|x64.ActiveCfg = Release|x64 39 | {5AE37151-4EDA-4E5E-920D-EC3B31716442}.Release|x64.Build.0 = Release|x64 40 | {8B7EEBC6-6497-4148-B7AE-071B9F8F6F70}.Debug|x64.ActiveCfg = Debug|x64 41 | {8B7EEBC6-6497-4148-B7AE-071B9F8F6F70}.Debug|x64.Build.0 = Debug|x64 42 | {8B7EEBC6-6497-4148-B7AE-071B9F8F6F70}.Release|x64.ActiveCfg = Release|x64 43 | {8B7EEBC6-6497-4148-B7AE-071B9F8F6F70}.Release|x64.Build.0 = Release|x64 44 | {21770D88-729E-44E4-A33B-FC785D2F1C0A}.Debug|x64.ActiveCfg = Debug|x64 45 | {21770D88-729E-44E4-A33B-FC785D2F1C0A}.Debug|x64.Build.0 = Debug|x64 46 | {21770D88-729E-44E4-A33B-FC785D2F1C0A}.Release|x64.ActiveCfg = Release|x64 47 | {21770D88-729E-44E4-A33B-FC785D2F1C0A}.Release|x64.Build.0 = Release|x64 48 | {B3D720A6-DC8D-4EB7-854C-BD3B648A0FE8}.Debug|x64.ActiveCfg = Debug|x64 49 | {B3D720A6-DC8D-4EB7-854C-BD3B648A0FE8}.Debug|x64.Build.0 = Debug|x64 50 | {B3D720A6-DC8D-4EB7-854C-BD3B648A0FE8}.Release|x64.ActiveCfg = Release|x64 51 | {B3D720A6-DC8D-4EB7-854C-BD3B648A0FE8}.Release|x64.Build.0 = Release|x64 52 | {8671BA6F-84AD-4A71-AECE-640B1207BDD7}.Debug|x64.ActiveCfg = Debug|x64 53 | {8671BA6F-84AD-4A71-AECE-640B1207BDD7}.Debug|x64.Build.0 = Debug|x64 54 | {8671BA6F-84AD-4A71-AECE-640B1207BDD7}.Release|x64.ActiveCfg = Release|x64 55 | {8671BA6F-84AD-4A71-AECE-640B1207BDD7}.Release|x64.Build.0 = Release|x64 56 | {7D1F420C-E290-4AFF-AA84-B0C5712BC298}.Debug|x64.ActiveCfg = Debug|x64 57 | {7D1F420C-E290-4AFF-AA84-B0C5712BC298}.Debug|x64.Build.0 = Debug|x64 58 | {7D1F420C-E290-4AFF-AA84-B0C5712BC298}.Release|x64.ActiveCfg = Release|x64 59 | {7D1F420C-E290-4AFF-AA84-B0C5712BC298}.Release|x64.Build.0 = Release|x64 60 | EndGlobalSection 61 | GlobalSection(SolutionProperties) = preSolution 62 | HideSolutionNode = FALSE 63 | EndGlobalSection 64 | EndGlobal 65 | -------------------------------------------------------------------------------- /CustomControls/CustomControls.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/CustomControls.aps -------------------------------------------------------------------------------- /CustomControls/CustomControls.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/CustomControls.cpp -------------------------------------------------------------------------------- /CustomControls/CustomControls.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/CustomControls.h -------------------------------------------------------------------------------- /CustomControls/CustomControls.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | picture/btns_pic/left_check.png 4 | picture/btns_pic/mid_check.png 5 | picture/btns_pic/right_check.png 6 | picture/background.png 7 | picture/btns_pic/left_check.png 8 | picture/btns_pic/mid_check.png 9 | picture/hander.png 10 | 11 | 12 | -------------------------------------------------------------------------------- /CustomControls/CustomControls.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/CustomControls.rc -------------------------------------------------------------------------------- /CustomControls/CustomControls.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 19 | ui 20 | 21 | 22 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 23 | qrc;* 24 | false 25 | 26 | 27 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 28 | moc;h;cpp 29 | False 30 | 31 | 32 | 33 | 34 | Source Files 35 | 36 | 37 | Source Files 38 | 39 | 40 | Source Files 41 | 42 | 43 | 44 | 45 | Header Files 46 | 47 | 48 | Header Files 49 | 50 | 51 | 52 | 53 | Form Files 54 | 55 | 56 | Form Files 57 | 58 | 59 | 60 | 61 | Resource Files 62 | 63 | 64 | 65 | 66 | Header Files 67 | 68 | 69 | Header Files 70 | 71 | 72 | Header Files 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | -------------------------------------------------------------------------------- /CustomControls/CustomControls.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | WindowsLocalDebugger 11 | 12 | 13 | -------------------------------------------------------------------------------- /CustomControls/TriangleLabWidget.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/TriangleLabWidget.cpp -------------------------------------------------------------------------------- /CustomControls/TriangleLabWidget.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/TriangleLabWidget.h -------------------------------------------------------------------------------- /CustomControls/TriangleLabWidget.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | TriangleLabWidget 4 | 5 | 6 | 7 | 0 8 | 0 9 | 94 10 | 380 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | 21 | 1 22 | 1 23 | 24 | 25 | 26 | TriangleLabWidget 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /CustomControls/all_controls_header.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/all_controls_header.h -------------------------------------------------------------------------------- /CustomControls/icon/controls_image.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/icon/controls_image.ico -------------------------------------------------------------------------------- /CustomControls/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/main.cpp -------------------------------------------------------------------------------- /CustomControls/picture/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/picture/background.png -------------------------------------------------------------------------------- /CustomControls/picture/btns_pic/left_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/picture/btns_pic/left_check.png -------------------------------------------------------------------------------- /CustomControls/picture/btns_pic/mid_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/picture/btns_pic/mid_check.png -------------------------------------------------------------------------------- /CustomControls/picture/btns_pic/right_check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/picture/btns_pic/right_check.png -------------------------------------------------------------------------------- /CustomControls/picture/hander.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/picture/hander.png -------------------------------------------------------------------------------- /CustomControls/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/resource.h -------------------------------------------------------------------------------- /CustomControls/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomControls/test.h -------------------------------------------------------------------------------- /CustomWin/CustomWin.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/CustomWin.aps -------------------------------------------------------------------------------- /CustomWin/CustomWin.cpp: -------------------------------------------------------------------------------- 1 | #include "CustomWin.h" 2 | 3 | CustomWin::CustomWin() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /CustomWin/CustomWin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "customwin_global.h" 4 | 5 | class CUSTOMWIN_EXPORT CustomWin 6 | { 7 | public: 8 | CustomWin(); 9 | }; 10 | -------------------------------------------------------------------------------- /CustomWin/CustomWin.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | x64 7 | 8 | 9 | Release 10 | x64 11 | 12 | 13 | 14 | {7D1F420C-E290-4AFF-AA84-B0C5712BC298} 15 | QtVS_v304 16 | $(MSBuildProjectDirectory)\QtMsBuild 17 | 10.0 18 | 19 | 20 | 21 | DynamicLibrary 22 | 23 | 24 | 25 | 26 | DynamicLibrary 27 | v142 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | msvc2015_64 49 | core 50 | debug 51 | 52 | 53 | msvc2019_64 54 | core;widgets;gui 55 | release 56 | 57 | 58 | 59 | 60 | 61 | 62 | true 63 | true 64 | ProgramDatabase 65 | Disabled 66 | MultiThreadedDebugDLL 67 | CUSTOMWIN_LIB;%(PreprocessorDefinitions) 68 | true 69 | 70 | 71 | Windows 72 | true 73 | 74 | 75 | 76 | 77 | true 78 | true 79 | EditAndContinue 80 | MaxSpeed 81 | MultiThreadedDLL 82 | CUSTOMWIN_LIB;%(PreprocessorDefinitions) 83 | true 84 | 85 | 86 | Windows 87 | DebugFastLink 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /CustomWin/CustomWin.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms 15 | 16 | 17 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 18 | qrc;* 19 | false 20 | 21 | 22 | {535b9ec5-53fe-4479-9153-418bfd377c17} 23 | 24 | 25 | {3428f170-75b7-4cfe-aca0-cefe734dd3a9} 26 | 27 | 28 | {73b579a7-1ee8-4aa2-946b-abeeb6d21c28} 29 | 30 | 31 | 32 | 33 | Header Files 34 | 35 | 36 | Source Files 37 | 38 | 39 | Header Files 40 | 41 | 42 | LoginWin 43 | 44 | 45 | Header Files 46 | 47 | 48 | 49 | 50 | ToolsWin 51 | 52 | 53 | ToolsWin 54 | 55 | 56 | LoginWin 57 | 58 | 59 | LoginWin 60 | 61 | 62 | LoginWin 63 | 64 | 65 | 66 | 67 | ToolsWin 68 | 69 | 70 | ToolsWin 71 | 72 | 73 | LoginWin 74 | 75 | 76 | LoginWin 77 | 78 | 79 | LoginWin 80 | 81 | 82 | 83 | 84 | ToolsWin 85 | 86 | 87 | ToolsWin 88 | 89 | 90 | LoginWin 91 | 92 | 93 | LoginWin 94 | 95 | 96 | LoginWin 97 | 98 | 99 | 100 | 101 | ToolsWin 102 | 103 | 104 | LoginWin 105 | 106 | 107 | -------------------------------------------------------------------------------- /CustomWin/CustomWin.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 5 | WindowsLocalDebugger 6 | 7 | -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginAvatarWid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/LoginAvatarWid.cpp -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginAvatarWid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/LoginAvatarWid.h -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginAvatarWid.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | LoginAvatarWid 4 | 5 | 6 | Qt::NonModal 7 | 8 | 9 | 10 | 0 11 | 0 12 | 94 13 | 70 14 | 15 | 16 | 17 | 18 | 0 19 | 0 20 | 21 | 22 | 23 | 24 | 70 25 | 70 26 | 27 | 28 | 29 | 30 | 94 31 | 70 32 | 33 | 34 | 35 | LoginAvatarWid 36 | 37 | 38 | 39 | 40 | 240 41 | 220 42 | 16 43 | 16 44 | 45 | 46 | 47 | 48 | 16 49 | 16 50 | 51 | 52 | 53 | 54 | 16 55 | 16 56 | 57 | 58 | 59 | border:0px; 60 | border-image: url(:/icon/Win_Login/state_online.png); 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginStateWid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/LoginStateWid.cpp -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginStateWid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/LoginStateWid.h -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginWin.cpp: -------------------------------------------------------------------------------- 1 | #include "LoginWin.h" 2 | #include "ui_LoginWin.h" 3 | #include 4 | #include"LoginAvatarWid.h" 5 | #include"LoginStateWid.h" 6 | #include 7 | #include 8 | #include 9 | #include 10 | #include 11 | LoginWin::LoginWin(QWidget *parent) 12 | : QWidget(parent) 13 | { 14 | ui = new Ui::LoginWin(); 15 | ui->setupUi(this); 16 | 17 | //注册类型 18 | qRegisterMetaType("USER_STATE"); 19 | 20 | this->InitUi(); 21 | this->InitFont(); 22 | } 23 | 24 | void LoginWin::Init() 25 | { 26 | 27 | 28 | 29 | } 30 | 31 | void LoginWin::Show() 32 | { 33 | //移到桌面中间 34 | QDesktopWidget* desktop = QApplication::desktop(); // =qApp->desktop();也可以 35 | this->move((desktop->width()-this->width())/2,(desktop->height() - this->height())/2); 36 | this->show(); 37 | } 38 | 39 | LoginWin::~LoginWin() 40 | { 41 | delete ui; 42 | } 43 | 44 | bool LoginWin::eventFilter(QObject *obj, QEvent *e) 45 | { 46 | if (obj == ui->edit_account&&e->type() == QEvent::FocusIn) 47 | { 48 | ui->wid_account->setStyleSheet 49 | ( 50 | "#wid_account" 51 | "{" 52 | "border:1px solid;" 53 | "border-color:rgb(80,90,196);" 54 | "}" 55 | ); 56 | 57 | ui->lab_account_logo->setStyleSheet 58 | ( 59 | "border-image: url(:/icon/Win_Login/check_account_ logo.png);" 60 | ); 61 | } 62 | 63 | if (obj == ui->edit_account&&e->type() == QEvent::FocusOut) 64 | { 65 | ui->wid_account->setStyleSheet 66 | ( 67 | "#wid_account" 68 | "{" 69 | "border:1px solid;" 70 | "border-top:0px;" 71 | "border-left:0px;" 72 | "border-right:0px;" 73 | "border-color:rgb(229, 229, 229);" 74 | "}" 75 | ); 76 | 77 | 78 | ui->lab_account_logo->setStyleSheet 79 | ( 80 | "border-image: url(:/icon/Win_Login/uncheck_account_ logo.png);" 81 | ); 82 | } 83 | 84 | if (obj == ui->edit_password&&e->type() == QEvent::FocusIn) 85 | { 86 | ui->wid_password->setStyleSheet 87 | ( 88 | "#wid_password" 89 | "{" 90 | "border:1px solid;" 91 | "border-color:rgb(80,90,196);" 92 | "}" 93 | ); 94 | 95 | ui->lab_password_logo->setStyleSheet 96 | ( 97 | "border-image:url(:/icon/Win_Login/check_code_logo.png);" 98 | ); 99 | } 100 | 101 | if (obj == ui->edit_password&&e->type() == QEvent::FocusOut) 102 | { 103 | ui->wid_password->setStyleSheet 104 | ( 105 | "#wid_password" 106 | "{" 107 | "border:1px solid;" 108 | "border-top:0 px;" 109 | "border-left:0px;" 110 | "border-right:0px;" 111 | "border-color:rgb(229, 229, 229);" 112 | "}" 113 | ); 114 | 115 | ui->lab_password_logo->setStyleSheet 116 | ( 117 | "border-image:url(:/icon/Win_Login/uncheck_code_logo.png);" 118 | ); 119 | } 120 | return QWidget::eventFilter(obj, e); 121 | } 122 | 123 | void LoginWin::paintEvent(QPaintEvent *event) 124 | { 125 | //窗口黑边 126 | //相当于依次画10个a值递减德矩形 127 | QPainterPath path; 128 | path.setFillRule(Qt::WindingFill); 129 | path.addRect(10, 10, this->width() - 20, this->height() - 20); 130 | 131 | QPainter painter(this); 132 | painter.setRenderHint(QPainter::Antialiasing, true); 133 | painter.fillPath(path, QBrush(Qt::white)); 134 | 135 | QColor color(0, 0, 0, 50); 136 | for (int i = 0; i < 10; i++) 137 | { 138 | QPainterPath path; 139 | path.setFillRule(Qt::WindingFill); 140 | path.addRect(10 - i, 10 - i, this->width() - (10 - i) * 2, this->height() - (10 - i) * 2); 141 | color.setAlpha(150 - qSqrt(i) * 50); 142 | /*if (i > 8) 143 | { 144 | color.setAlpha(0); 145 | }*/ 146 | 147 | painter.setPen(color); 148 | painter.drawPath(path); 149 | } 150 | } 151 | 152 | void LoginWin::mouseMoveEvent(QMouseEvent *e) 153 | { 154 | if (e->buttons()&Qt::LeftButton&&ui->wid_top->rect().contains(e->pos())) 155 | { 156 | if (-100 == start_move_point.x()) 157 | { 158 | 159 | return; 160 | } 161 | move(e->pos() + pos() - start_move_point); 162 | } 163 | } 164 | 165 | void LoginWin::mousePressEvent(QMouseEvent *e) 166 | { 167 | QMouseEvent *mouse_event; 168 | mouse_event = static_cast(e); 169 | if (mouse_event->button() == Qt::LeftButton) 170 | { 171 | QPoint temp_point = mouse_event->pos(); 172 | if (ui->wid_top->rect().contains(temp_point)) 173 | { 174 | start_move_point = temp_point; 175 | } 176 | else 177 | { 178 | //没点到拖动栏上的点统一标记为(-100,-100);用这个判断move事件 179 | start_move_point.setX(-100); 180 | start_move_point.setY(-100); 181 | } 182 | return QWidget::mousePressEvent(e); 183 | } 184 | } 185 | 186 | void LoginWin::showEvent(QShowEvent*) 187 | { 188 | //展示用 移动到父窗口中央 189 | QWidget*parent_wid = this->parentWidget(); 190 | if (parent_wid == NULL) 191 | { 192 | return; 193 | } 194 | this->move((parent_wid->width()-this->width())/2, (parent_wid->height()-this->height())/2); 195 | } 196 | 197 | void LoginWin::InitUi() 198 | { 199 | //无边框 200 | this->setWindowFlags(Qt::FramelessWindowHint);//去掉标题栏 201 | this->setAttribute(Qt::WA_TranslucentBackground); 202 | this->setStyleSheet("background:rgba(0,255,255,0.0);"); 203 | 204 | //安装事件过滤器 205 | //ui->wid_top->installEventFilter(this); 206 | ui->edit_account->installEventFilter(this); 207 | ui->edit_password->installEventFilter(this); 208 | 209 | //头像窗口 210 | avatar_wid = new LoginAvatarWid(this); 211 | connect(avatar_wid, SIGNAL(OpenLoginStateWinSig()), this, SLOT(OpenStateMenuSlot())); 212 | avatar_wid->resize(70, 70); 213 | //获取登陆配置文件头像 214 | QPixmap pix(":/icon/Win_Login/Login_Avatar.png"); 215 | avatar_wid->SetAvatarPic(pix); 216 | 217 | //移动到中间位置 218 | int avatar_wid_pos_x =(this->width()-avatar_wid->width())/2; 219 | int avatar_wid_pos_y = ui->wid_top->height() - avatar_wid->width() / 2 + 5;//5是外层margin 220 | avatar_wid->move(avatar_wid_pos_x, avatar_wid_pos_y); 221 | 222 | //状态窗口 223 | state_wid = new LoginStateWid(this); 224 | connect(state_wid, SIGNAL(ChooseState(USER_STATE)), this, SLOT(ChooseStateSlot(USER_STATE))); 225 | state_wid->hide(); 226 | //移动到avatar_wid右下角 227 | state_wid->move(QPoint(avatar_wid->pos().x() + avatar_wid->width()-5, avatar_wid->pos().y() + avatar_wid->height()-5)); 228 | } 229 | 230 | void LoginWin::InitFont() 231 | { 232 | QFont font_chinese_2; 233 | font_chinese_2.setPixelSize(14); 234 | font_chinese_2.setFamily(QString::fromUtf8("黑体")); 235 | 236 | QFont font_chinese_3; 237 | font_chinese_3.setPixelSize(10); 238 | font_chinese_3.setFamily(QString::fromUtf8("黑体")); 239 | 240 | 241 | //账号输入 242 | ui->edit_account->setFont(font_chinese_2); 243 | //密码输入 244 | ui->edit_password->setFont(font_chinese_2); 245 | 246 | //自动登陆 247 | ui->checkbtn_auto_login->setFont(font_chinese_3); 248 | //记住密码 249 | ui->checkbtn_remb_password->setFont(font_chinese_3); 250 | //找回密码 251 | ui->btn_search_password->setFont(font_chinese_3); 252 | //注册账号 253 | ui->btn_register->setFont(font_chinese_3); 254 | //登陆 255 | ui->pushButton->setFont(font_chinese_2); 256 | } 257 | 258 | void LoginWin::on_btn_close_clicked() 259 | { 260 | qApp->quit(); 261 | } 262 | 263 | void LoginWin::on_btn_min_clicked() 264 | { 265 | this->showMinimized(); 266 | } 267 | 268 | void LoginWin::OpenStateMenuSlot() 269 | { 270 | state_wid->show(); 271 | } 272 | 273 | void LoginWin::ChooseStateSlot(USER_STATE state) 274 | { 275 | avatar_wid->SetUserCurState(state); 276 | } 277 | -------------------------------------------------------------------------------- /CustomWin/LoginWin/LoginWin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/LoginWin.h -------------------------------------------------------------------------------- /CustomWin/LoginWin/Panda.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/Panda.h -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/Login_Avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/Login_Avatar.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/check_account_ logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/check_account_ logo.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/check_checkbtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/check_checkbtn.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/check_code_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/check_code_logo.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/close.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/logo.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/logo_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/logo_text.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/setting.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/state_ban.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/state_ban.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/state_busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/state_busy.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/state_leave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/state_leave.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/state_online.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/state_online.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/state_yinshen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/state_yinshen.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/uncheck_account_ logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/uncheck_account_ logo.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/uncheck_checkbtn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/uncheck_checkbtn.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/uncheck_code_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/uncheck_code_logo.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/icon/Win_Login/win_min.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/LoginWin/icon/Win_Login/win_min.png -------------------------------------------------------------------------------- /CustomWin/LoginWin/panda_chat.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icon/Win_Login/Login_Avatar.png 4 | icon/Win_Login/check_account_ logo.png 5 | icon/Win_Login/check_checkbtn.png 6 | icon/Win_Login/check_code_logo.png 7 | icon/Win_Login/close.png 8 | icon/Win_Login/logo.png 9 | icon/Win_Login/logo_text.png 10 | icon/Win_Login/setting.png 11 | icon/Win_Login/state_ban.png 12 | icon/Win_Login/state_busy.png 13 | icon/Win_Login/state_leave.png 14 | icon/Win_Login/state_online.png 15 | icon/Win_Login/state_yinshen.png 16 | icon/Win_Login/uncheck_account_ logo.png 17 | icon/Win_Login/uncheck_checkbtn.png 18 | icon/Win_Login/uncheck_code_logo.png 19 | icon/Win_Login/win_min.png 20 | 21 | 22 | -------------------------------------------------------------------------------- /CustomWin/ToolsWin/RXToolModeWid.cpp: -------------------------------------------------------------------------------- 1 | #include "RXToolModeWid.h" 2 | #include "ui_RXToolModeWid.h" 3 | RXToolModeWid::RXToolModeWid(QWidget *parent):QWidget(parent) 4 | { 5 | ui = new Ui::RXToolModeWid(); 6 | ui->setupUi(this); 7 | 8 | mode = IniFileModifyMode; 9 | } 10 | 11 | RXToolModeWid::~RXToolModeWid() 12 | { 13 | delete ui; 14 | } 15 | 16 | void RXToolModeWid::SetTopLabText(QString str) 17 | { 18 | ui->top_lab->setText(str); 19 | } 20 | 21 | void RXToolModeWid::SetBottomLabText(QString str) 22 | { 23 | ui->bottom_lab->setText(str); 24 | } 25 | 26 | void RXToolModeWid::SetIcon(QString pic_path) 27 | { 28 | QString new_str = "border-image: url(" + pic_path +");"; 29 | ui->pic_lab->setStyleSheet(new_str); 30 | } 31 | 32 | void RXToolModeWid::SetButtonMdoe(ButtonMode mode) 33 | { 34 | this->mode = mode; 35 | } 36 | 37 | void RXToolModeWid::showEvent(QShowEvent *e) 38 | { 39 | 40 | 41 | } 42 | 43 | void RXToolModeWid::leaveEvent(QEvent* event) 44 | { 45 | ui->main_wid->setStyleSheet("#main_wid{border:1px solid;border-color:rgb(216, 216, 216);background-color:rgb(241,241,241);}"); 46 | ui->widget->setStyleSheet("background-color: rgb(241, 241, 241);"); 47 | ui->widget_2->setStyleSheet("background-color: rgb(241, 241, 241);"); 48 | } 49 | 50 | void RXToolModeWid::enterEvent(QEvent *event) 51 | { 52 | ui->main_wid->setStyleSheet("#main_wid{border:1px solid;border-color:rgb(79, 182, 254);background-color:rgb(236, 247, 255);}"); 53 | ui->widget->setStyleSheet("background-color: rgb(236, 247, 255);"); 54 | ui->widget_2->setStyleSheet("background-color: rgb(236, 247, 255);"); 55 | } 56 | -------------------------------------------------------------------------------- /CustomWin/ToolsWin/RXToolModeWid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/RXToolModeWid.h -------------------------------------------------------------------------------- /CustomWin/ToolsWin/RXTools.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/RXTools.cpp -------------------------------------------------------------------------------- /CustomWin/ToolsWin/RXTools.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/RXTools.h -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/batch_handle_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/batch_handle_pic.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/close.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/company_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/company_logo.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/dicom_modify_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/dicom_modify_pic.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/divider.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/head_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/head_pic.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/hide_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/hide_btn.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/icon5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/icon5.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/inifile_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/inifile_pic.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/logo-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/logo-2.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/pushstation_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/pushstation_pic.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/reset_setting_pic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/reset_setting_pic.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/rxtool_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/rxtool_icon.ico -------------------------------------------------------------------------------- /CustomWin/ToolsWin/icon/zoom_btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/ToolsWin/icon/zoom_btn.png -------------------------------------------------------------------------------- /CustomWin/ToolsWin/tools_win_resource.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | icon/batch_handle_pic.png 4 | icon/close.png 5 | icon/company_logo.png 6 | icon/dicom_modify_pic.png 7 | icon/divider.png 8 | icon/head_pic.png 9 | icon/hide_btn.png 10 | icon/icon5.png 11 | icon/inifile_pic.png 12 | icon/logo-2.png 13 | icon/pushstation_pic.png 14 | icon/reset_setting_pic.png 15 | icon/rxtool_icon.ico 16 | icon/zoom_btn.png 17 | 18 | 19 | -------------------------------------------------------------------------------- /CustomWin/customwin_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(CUSTOMWIN_LIB) 7 | # define CUSTOMWIN_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define CUSTOMWIN_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define CUSTOMWIN_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /CustomWin/resource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/CustomWin/resource.h -------------------------------------------------------------------------------- /Panel/CustomPanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/Panel/CustomPanel.h -------------------------------------------------------------------------------- /Panel/CustomPanel.ui: -------------------------------------------------------------------------------- 1 | 2 | CustomPanel 3 | 4 | 5 | CustomPanel 6 | 7 | 8 | 9 | 0 10 | 0 11 | 400 12 | 300 13 | 14 | 15 | 16 | CustomPanel 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Panel/NetSpeedPanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/Panel/NetSpeedPanel.h -------------------------------------------------------------------------------- /Panel/NetSpeedPanel.ui: -------------------------------------------------------------------------------- 1 | 2 | NetSpeedPanel 3 | 4 | 5 | NetSpeedPanel 6 | 7 | 8 | 9 | 0 10 | 0 11 | 400 12 | 300 13 | 14 | 15 | 16 | NetSpeedPanel 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Panel/Panel.cpp: -------------------------------------------------------------------------------- 1 | #include "Panel.h" 2 | 3 | Panel::Panel() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /Panel/Panel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "panel_global.h" 4 | 5 | class PANEL_EXPORT Panel 6 | { 7 | public: 8 | Panel(); 9 | }; 10 | -------------------------------------------------------------------------------- /Panel/Panel.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | x64 7 | 8 | 9 | Release 10 | x64 11 | 12 | 13 | 14 | {B3D720A6-DC8D-4EB7-854C-BD3B648A0FE8} 15 | QtVS_v304 16 | $(MSBuildProjectDirectory)\QtMsBuild 17 | 18 | 19 | 20 | DynamicLibrary 21 | v142 22 | 23 | 24 | DynamicLibrary 25 | v142 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | $(SolutionDir)$(Platform)\$(Configuration)\ 45 | 46 | 47 | $(SolutionDir)$(Platform)\$(Configuration)\ 48 | 49 | 50 | msvc2015_64 51 | core;gui;widgets 52 | 53 | 54 | msvc2019_64 55 | core;gui;widgets 56 | 57 | 58 | 59 | 60 | 61 | 62 | true 63 | Disabled 64 | ProgramDatabase 65 | MultiThreadedDebugDLL 66 | true 67 | PANEL_LIB;%(PreprocessorDefinitions) 68 | true 69 | 70 | 71 | Windows 72 | $(OutDir)\$(ProjectName).dll 73 | true 74 | 75 | 76 | 77 | 78 | true 79 | EditAndContinue 80 | MultiThreadedDLL 81 | true 82 | PANEL_LIB;QT_CHARTS_LIB;%(PreprocessorDefinitions) 83 | .\GeneratedFiles\$(ConfigurationName);.\GeneratedFiles;.;$(QTDIR)\include;$(QTDIR)\include\QtCore;$(QTDIR)\include\QtGui;$(QTDIR)\include\QtANGLE;$(QTDIR)\include\QtWidgets;%(AdditionalIncludeDirectories) 84 | true 85 | 86 | 87 | Windows 88 | $(OutDir)\$(ProjectName).dll 89 | DebugFastLink 90 | $(QTDIR)\lib 91 | qtmain.lib;Qt5Core.lib;Qt5Gui.lib;Qt5Widgets.lib;%(AdditionalDependencies) 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | -------------------------------------------------------------------------------- /Panel/Panel.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {16323ecb-84a9-4264-a8a2-ebc05f4a4971} 24 | 25 | 26 | {015e65fc-00f8-41d0-8f75-25e23e753c8a} 27 | 28 | 29 | {43b5e3b0-f9c4-485e-a8f2-ca646dab872a} 30 | 31 | 32 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 33 | ui 34 | true 35 | 36 | 37 | 38 | 39 | Source Files 40 | 41 | 42 | CustomPanel 43 | 44 | 45 | NetSpeedPanel 46 | 47 | 48 | SemiCirclePanel 49 | 50 | 51 | 52 | 53 | Header Files 54 | 55 | 56 | 57 | 58 | Header Files 59 | 60 | 61 | 62 | 63 | CustomPanel 64 | 65 | 66 | NetSpeedPanel 67 | 68 | 69 | SemiCirclePanel 70 | 71 | 72 | 73 | 74 | CustomPanel 75 | 76 | 77 | NetSpeedPanel 78 | 79 | 80 | SemiCirclePanel 81 | 82 | 83 | -------------------------------------------------------------------------------- /Panel/Panel.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 5 | WindowsLocalDebugger 6 | PATH=$(QTDIR)\bin%3b$(PATH) 7 | 8 | -------------------------------------------------------------------------------- /Panel/SemiCirclePanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/Panel/SemiCirclePanel.h -------------------------------------------------------------------------------- /Panel/SemiCirclePanel.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | SemiCirclePanel 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | SemiCirclePanel 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /Panel/panel_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(PANEL_LIB) 7 | # define PANEL_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define PANEL_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define PANEL_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /ProgressBar/DashBoard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/DashBoard.cpp -------------------------------------------------------------------------------- /ProgressBar/DashBoard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/DashBoard.h -------------------------------------------------------------------------------- /ProgressBar/DashBoard.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | DashBoard 4 | 5 | 6 | 7 | 0 8 | 0 9 | 474 10 | 431 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | DashBoard 21 | 22 | 23 | 24 | 25 | 119 26 | 108 27 | 211 28 | 141 29 | 30 | 31 | 32 | 33 | 34 | 35 | Qt::AlignCenter 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /ProgressBar/LinearProgressBar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/LinearProgressBar.cpp -------------------------------------------------------------------------------- /ProgressBar/LinearProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/LinearProgressBar.h -------------------------------------------------------------------------------- /ProgressBar/LinearProgressBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | LinearProgressBar 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | LinearProgressBar 15 | 16 | 17 | 18 | 19 | 80 20 | 70 21 | 211 22 | 141 23 | 24 | 25 | 26 | 27 | 28 | 29 | Qt::AlignCenter 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ProgressBar/ProgressBar.cpp: -------------------------------------------------------------------------------- 1 | #include "ProgressBar.h" 2 | 3 | ProgressBar::ProgressBar() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /ProgressBar/ProgressBar.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "progressbar_global.h" 4 | class PROGRESSBAR_EXPORT ProgressBar 5 | { 6 | public: 7 | ProgressBar(); 8 | }; 9 | -------------------------------------------------------------------------------- /ProgressBar/ProgressBar.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 24 | moc;h;cpp 25 | False 26 | 27 | 28 | {e0728837-62a2-47e1-b3b4-6f20e3952e09} 29 | 30 | 31 | {85666fd5-2d5d-408d-b942-88e2489d573c} 32 | 33 | 34 | {634cd092-1ad9-4326-a966-8d1bb007c9ee} 35 | 36 | 37 | {5119f9b0-8c86-4233-8412-396d31d74450} 38 | 39 | 40 | {5cfb6b19-ed8d-4086-9a53-a9a4316584db} 41 | 42 | 43 | {a64c11d6-4645-4399-9a3d-0d7275853736} 44 | 45 | 46 | 47 | 48 | Source Files 49 | 50 | 51 | DashBoard 52 | 53 | 54 | LinearProgressBar 55 | 56 | 57 | RingProgressBar 58 | 59 | 60 | WaveProgressBar 61 | 62 | 63 | RectProgressBar 64 | 65 | 66 | RectWaveProgressBar 67 | 68 | 69 | 70 | 71 | Header Files 72 | 73 | 74 | 75 | 76 | Header Files 77 | 78 | 79 | 80 | 81 | DashBoard 82 | 83 | 84 | LinearProgressBar 85 | 86 | 87 | RingProgressBar 88 | 89 | 90 | WaveProgressBar 91 | 92 | 93 | RectProgressBar 94 | 95 | 96 | RectWaveProgressBar 97 | 98 | 99 | 100 | 101 | DashBoard 102 | 103 | 104 | LinearProgressBar 105 | 106 | 107 | RingProgressBar 108 | 109 | 110 | WaveProgressBar 111 | 112 | 113 | RectProgressBar 114 | 115 | 116 | RectWaveProgressBar 117 | 118 | 119 | -------------------------------------------------------------------------------- /ProgressBar/ProgressBar.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 11 | WindowsLocalDebugger 12 | 13 | 14 | -------------------------------------------------------------------------------- /ProgressBar/RectProgressBar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/RectProgressBar.cpp -------------------------------------------------------------------------------- /ProgressBar/RectProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/RectProgressBar.h -------------------------------------------------------------------------------- /ProgressBar/RectProgressBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | RectProgressBar 4 | 5 | 6 | 7 | 0 8 | 0 9 | 202 10 | 562 11 | 12 | 13 | 14 | RectProgressBar 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 | 0 37 | 0 38 | 39 | 40 | 41 | 42 | 1 43 | 1 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /ProgressBar/RectWaveProgressBar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/RectWaveProgressBar.cpp -------------------------------------------------------------------------------- /ProgressBar/RectWaveProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/RectWaveProgressBar.h -------------------------------------------------------------------------------- /ProgressBar/RectWaveProgressBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | RectWaveProgressBar 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | RectWaveProgressBar 15 | 16 | 17 | 18 | 19 | 100 20 | 70 21 | 211 22 | 141 23 | 24 | 25 | 26 | 27 | 28 | 29 | Qt::AlignCenter 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ProgressBar/RingProgressBar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/RingProgressBar.cpp -------------------------------------------------------------------------------- /ProgressBar/RingProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/RingProgressBar.h -------------------------------------------------------------------------------- /ProgressBar/RingProgressBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | RingProgressBar 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | RingProgressBar 15 | 16 | 17 | 18 | 19 | 120 20 | 80 21 | 211 22 | 141 23 | 24 | 25 | 26 | 27 | 28 | 29 | Qt::AlignCenter 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ProgressBar/WaveProgressBar.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/WaveProgressBar.cpp -------------------------------------------------------------------------------- /ProgressBar/WaveProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/ProgressBar/WaveProgressBar.h -------------------------------------------------------------------------------- /ProgressBar/WaveProgressBar.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | WaveProgressBar 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | WaveProgressBar 15 | 16 | 17 | 18 | 19 | 70 20 | 80 21 | 211 22 | 141 23 | 24 | 25 | 26 | 27 | 28 | 29 | Qt::AlignCenter 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /ProgressBar/progressbar_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(PROGRESSBAR_LIB) 7 | # define PROGRESSBAR_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define PROGRESSBAR_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define PROGRESSBAR_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Qt-CustomControls 2 | -个人用Qt封装了一些控件。 3 | --全部是Qt painter自绘,无任何第三方库。 4 | --设置的接口完备,有一些可能需要微调。 5 | --基本上一个控件一个头文件加一个实现文件。 6 | --分了一些类,现在有进度条,滑动条,仪表盘,统计图,动画,按钮,还有一些还不错的软件页面。 7 | ![image](https://github.com/ArmstrongOne/Qt-CustomControls/blob/master/project-image/sliderbar.png) 8 | 9 | 10 | ![image](https://github.com/ArmstrongOne/Qt-CustomControls/blob/master/project-image/progress.png) 11 | 12 | 13 | ![image](https://github.com/ArmstrongOne/Qt-CustomControls/blob/master/project-image/panel.png)) 14 | -------------------------------------------------------------------------------- /SliderBar/CustomSlider.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/CustomSlider.cpp -------------------------------------------------------------------------------- /SliderBar/CustomSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/CustomSlider.h -------------------------------------------------------------------------------- /SliderBar/CustomSlider.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CustomSlider 4 | 5 | 6 | 7 | 0 8 | 0 9 | 213 10 | 479 11 | 12 | 13 | 14 | 15 | 0 16 | 0 17 | 18 | 19 | 20 | CustomSlider 21 | 22 | 23 | 24 | 25 | 50 26 | 140 27 | 81 28 | 71 29 | 30 | 31 | 32 | 33 | 0 34 | 0 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | Qt::AlignCenter 45 | 46 | 47 | 48 | 49 | 50 | 51 | QRoundedLabel 52 | QLabel 53 |
SliderBar.h
54 |
55 |
56 | 57 | 58 |
59 | -------------------------------------------------------------------------------- /SliderBar/CustomSliderStyleOne.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/CustomSliderStyleOne.cpp -------------------------------------------------------------------------------- /SliderBar/CustomSliderStyleOne.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/CustomSliderStyleOne.h -------------------------------------------------------------------------------- /SliderBar/CustomSliderStyleOne.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CustomSliderStyleOne 4 | 5 | 6 | 7 | 0 8 | 0 9 | 304 10 | 300 11 | 12 | 13 | 14 | CustomSliderStyleOne 15 | 16 | 17 | 18 | 19 | 140 20 | 120 21 | 81 22 | 71 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | Qt::AlignCenter 39 | 40 | 41 | 42 | 43 | 44 | 45 | QRoundedLabelStyleOne 46 | QLabel 47 |
CustomSliderStyleOne.h
48 |
49 |
50 | 51 | 52 |
53 | -------------------------------------------------------------------------------- /SliderBar/CustomSliderStyleTwo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/CustomSliderStyleTwo.cpp -------------------------------------------------------------------------------- /SliderBar/CustomSliderStyleTwo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/CustomSliderStyleTwo.h -------------------------------------------------------------------------------- /SliderBar/CustomSliderStyleTwo.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | CustomSliderStyleTwo 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | CustomSliderStyleTwo 15 | 16 | 17 | 18 | 19 | 110 20 | 90 21 | 151 22 | 131 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | Qt::AlignCenter 39 | 40 | 41 | 42 | 43 | 44 | 45 | QRoundedLabelStyleTwo 46 | QLabel 47 |
CustomSliderStyleTwo.h
48 |
49 |
50 | 51 | 52 |
53 | -------------------------------------------------------------------------------- /SliderBar/DoubleHandleSlider.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/DoubleHandleSlider.cpp -------------------------------------------------------------------------------- /SliderBar/DoubleHandleSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/DoubleHandleSlider.h -------------------------------------------------------------------------------- /SliderBar/DoubleHandleSlider.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | DoubleHandleSlider 4 | 5 | 6 | 7 | 0 8 | 0 9 | 241 10 | 485 11 | 12 | 13 | 14 | DoubleHandleSlider 15 | 16 | 17 | 18 | 19 | 60 20 | 60 21 | 81 22 | 71 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | Qt::AlignCenter 39 | 40 | 41 | 42 | 43 | 44 | 60 45 | 230 46 | 81 47 | 71 48 | 49 | 50 | 51 | 52 | 0 53 | 0 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | Qt::AlignCenter 64 | 65 | 66 | 67 | 68 | 69 | 70 | QRoundedLabel 71 | QLabel 72 |
SliderBar.h
73 |
74 |
75 | 76 | 77 |
78 | -------------------------------------------------------------------------------- /SliderBar/SliderBar.cpp: -------------------------------------------------------------------------------- 1 | #include "SliderBar.h" 2 | 3 | SliderBar::SliderBar() 4 | { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /SliderBar/SliderBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/SliderBar.h -------------------------------------------------------------------------------- /SliderBar/SliderBar.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hh;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 14 | qrc;* 15 | false 16 | 17 | 18 | {D9D6E242-F8AF-46E4-B9FD-80ECBC20BA3E} 19 | qrc;* 20 | false 21 | 22 | 23 | {71ED8ED8-ACB9-4CE9-BBE1-E00B30144E11} 24 | moc;h;cpp 25 | False 26 | 27 | 28 | {16a4ec9e-f48c-4d8a-9727-c7a15e2461e1} 29 | 30 | 31 | {888a0ca6-10d1-45db-8f85-72959db7d703} 32 | 33 | 34 | {f2f08ac0-f21f-4288-8608-26766274ffd5} 35 | 36 | 37 | {6924ffdc-662b-47d6-a401-4f3aa4b67031} 38 | 39 | 40 | {80107434-db2a-4bac-b590-b1a41d8cbd4d} 41 | 42 | 43 | {99349809-55BA-4b9d-BF79-8FDBB0286EB3} 44 | ui 45 | true 46 | 47 | 48 | {e80524c2-db99-45d7-9e78-254589903e75} 49 | 50 | 51 | {94d00244-3dd3-4ec9-9073-e564b459d9b1} 52 | 53 | 54 | {5c775af1-9b22-4d84-8141-bad4556b6409} 55 | 56 | 57 | 58 | 59 | Source Files 60 | 61 | 62 | CustomSlider 63 | 64 | 65 | DoubleHandleSlider 66 | 67 | 68 | TipSlider 69 | 70 | 71 | StripSlider 72 | 73 | 74 | CustomSliderStlyeOne 75 | 76 | 77 | CustomSliderStyleTwo 78 | 79 | 80 | StripSliderStyleOne 81 | 82 | 83 | StripSliderStyleTwo 84 | 85 | 86 | 87 | 88 | Header Files 89 | 90 | 91 | 92 | 93 | CustomSlider 94 | 95 | 96 | DoubleHandleSlider 97 | 98 | 99 | Header Files 100 | 101 | 102 | TipSlider 103 | 104 | 105 | StripSlider 106 | 107 | 108 | CustomSliderStlyeOne 109 | 110 | 111 | CustomSliderStyleTwo 112 | 113 | 114 | StripSliderStyleOne 115 | 116 | 117 | StripSliderStyleTwo 118 | 119 | 120 | 121 | 122 | CustomSlider 123 | 124 | 125 | DoubleHandleSlider 126 | 127 | 128 | TipSlider 129 | 130 | 131 | StripSlider 132 | 133 | 134 | CustomSliderStlyeOne 135 | 136 | 137 | CustomSliderStyleTwo 138 | 139 | 140 | StripSliderStyleOne 141 | 142 | 143 | StripSliderStyleTwo 144 | 145 | 146 | -------------------------------------------------------------------------------- /SliderBar/SliderBar.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | C:\Users\DELL\Desktop\CustomControls\x64\Release\CustomControls.exe 11 | WindowsLocalDebugger 12 | 13 | 14 | -------------------------------------------------------------------------------- /SliderBar/StripSlider.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/StripSlider.cpp -------------------------------------------------------------------------------- /SliderBar/StripSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/StripSlider.h -------------------------------------------------------------------------------- /SliderBar/StripSlider.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | StripSlider 4 | 5 | 6 | 7 | 0 8 | 0 9 | 161 10 | 525 11 | 12 | 13 | 14 | StripSlider 15 | 16 | 17 | 18 | 19 | 40 20 | 150 21 | 91 22 | 81 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | QRoundedLabel 40 | QLabel 41 |
SliderBar.h
42 |
43 |
44 | 45 | 46 |
47 | -------------------------------------------------------------------------------- /SliderBar/StripSliderStyleOne.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/StripSliderStyleOne.cpp -------------------------------------------------------------------------------- /SliderBar/StripSliderStyleOne.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/StripSliderStyleOne.h -------------------------------------------------------------------------------- /SliderBar/StripSliderStyleOne.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | StripSliderStyleOne 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | StripSliderStyleOne 15 | 16 | 17 | 18 | 19 | 150 20 | 90 21 | 91 22 | 81 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | QRoundedLabel 40 | QLabel 41 |
StripSliderStyleOne.h
42 |
43 |
44 | 45 | 46 |
47 | -------------------------------------------------------------------------------- /SliderBar/StripSliderStyleTwo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/StripSliderStyleTwo.cpp -------------------------------------------------------------------------------- /SliderBar/StripSliderStyleTwo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/StripSliderStyleTwo.h -------------------------------------------------------------------------------- /SliderBar/StripSliderStyleTwo.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | StripSliderStyleTwo 4 | 5 | 6 | 7 | 0 8 | 0 9 | 400 10 | 300 11 | 12 | 13 | 14 | StripSliderStyleTwo 15 | 16 | 17 | 18 | 19 | 160 20 | 90 21 | 91 22 | 81 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | QRoundedLabel 40 | QLabel 41 |
SliderBar.h
42 |
43 |
44 | 45 | 46 |
47 | -------------------------------------------------------------------------------- /SliderBar/TipSlider.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/TipSlider.cpp -------------------------------------------------------------------------------- /SliderBar/TipSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/SliderBar/TipSlider.h -------------------------------------------------------------------------------- /SliderBar/TipSlider.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | TipSlider 4 | 5 | 6 | 7 | 0 8 | 0 9 | 291 10 | 486 11 | 12 | 13 | 14 | TipSlider 15 | 16 | 17 | 18 | 19 | 130 20 | 80 21 | 91 22 | 81 23 | 24 | 25 | 26 | 27 | 0 28 | 0 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 100 39 | 280 40 | 54 41 | 81 42 | 43 | 44 | 45 | 46 | 0 47 | 0 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | QRoundedLabel 59 | QLabel 60 |
SliderBar.h
61 |
62 |
63 | 64 | 65 |
66 | -------------------------------------------------------------------------------- /SliderBar/sliderbar_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(SLIDERBAR_LIB) 7 | # define SLIDERBAR_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define SLIDERBAR_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define SLIDERBAR_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/Animation/Animation.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "animation_global.h" 4 | 5 | class ANIMATION_EXPORT Animation 6 | { 7 | public: 8 | Animation(); 9 | }; 10 | -------------------------------------------------------------------------------- /include/Animation/RXTurnPan.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Animation/RXTurnPan.h -------------------------------------------------------------------------------- /include/Animation/animation_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(ANIMATION_LIB) 7 | # define ANIMATION_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define ANIMATION_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define ANIMATION_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/BtnControls/BtnControls.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "btncontrols_global.h" 4 | 5 | class BTNCONTROLS_EXPORT BtnControls 6 | { 7 | public: 8 | BtnControls(); 9 | }; 10 | -------------------------------------------------------------------------------- /include/BtnControls/DropDownMenu.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/BtnControls/DropDownMenu.h -------------------------------------------------------------------------------- /include/BtnControls/RXDateSelectPage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/BtnControls/RXDateSelectPage.h -------------------------------------------------------------------------------- /include/BtnControls/btncontrols_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(BTNCONTROLS_LIB) 7 | # define BTNCONTROLS_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define BTNCONTROLS_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define BTNCONTROLS_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/CommonCharts/CommonCharts.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "commoncharts_global.h" 4 | 5 | class COMMONCHARTS_EXPORT CommonCharts 6 | { 7 | public: 8 | CommonCharts(); 9 | }; 10 | -------------------------------------------------------------------------------- /include/CommonCharts/HandleBarChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CommonCharts/HandleBarChart.h -------------------------------------------------------------------------------- /include/CommonCharts/HandlePieChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CommonCharts/HandlePieChart.h -------------------------------------------------------------------------------- /include/CommonCharts/HandleScatterChart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CommonCharts/HandleScatterChart.h -------------------------------------------------------------------------------- /include/CommonCharts/commoncharts_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(COMMONCHARTS_LIB) 7 | # define COMMONCHARTS_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define COMMONCHARTS_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define COMMONCHARTS_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/CommonCharts/handlelinechart.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CommonCharts/handlelinechart.h -------------------------------------------------------------------------------- /include/CustomWin/CustomWin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "customwin_global.h" 4 | 5 | class CUSTOMWIN_EXPORT CustomWin 6 | { 7 | public: 8 | CustomWin(); 9 | }; 10 | -------------------------------------------------------------------------------- /include/CustomWin/LoginWin.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CustomWin/LoginWin.h -------------------------------------------------------------------------------- /include/CustomWin/Panda.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CustomWin/Panda.h -------------------------------------------------------------------------------- /include/CustomWin/RXTools.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/CustomWin/RXTools.h -------------------------------------------------------------------------------- /include/CustomWin/customwin_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(CUSTOMWIN_LIB) 7 | # define CUSTOMWIN_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define CUSTOMWIN_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define CUSTOMWIN_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/Panel/CustomPanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Panel/CustomPanel.h -------------------------------------------------------------------------------- /include/Panel/NetSpeedPanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Panel/NetSpeedPanel.h -------------------------------------------------------------------------------- /include/Panel/Panel.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "panel_global.h" 4 | 5 | class PANEL_EXPORT Panel 6 | { 7 | public: 8 | Panel(); 9 | }; 10 | -------------------------------------------------------------------------------- /include/Panel/SemiCirclePanel.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Panel/SemiCirclePanel.h -------------------------------------------------------------------------------- /include/Panel/panel_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(PANEL_LIB) 7 | # define PANEL_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define PANEL_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define PANEL_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/Progressbar/DashBoard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Progressbar/DashBoard.h -------------------------------------------------------------------------------- /include/Progressbar/LinearProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Progressbar/LinearProgressBar.h -------------------------------------------------------------------------------- /include/Progressbar/ProgressBar.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "progressbar_global.h" 4 | #include"CustomSlider.h" 5 | class PROGRESSBAR_EXPORT ProgressBar 6 | { 7 | public: 8 | ProgressBar(); 9 | }; 10 | -------------------------------------------------------------------------------- /include/Progressbar/RectProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Progressbar/RectProgressBar.h -------------------------------------------------------------------------------- /include/Progressbar/RectWaveProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Progressbar/RectWaveProgressBar.h -------------------------------------------------------------------------------- /include/Progressbar/RingProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Progressbar/RingProgressBar.h -------------------------------------------------------------------------------- /include/Progressbar/WaveProgressBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Progressbar/WaveProgressBar.h -------------------------------------------------------------------------------- /include/Progressbar/progressbar_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(PROGRESSBAR_LIB) 7 | # define PROGRESSBAR_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define PROGRESSBAR_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define PROGRESSBAR_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/Sliderbar/CustomSliderStyleTwo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/CustomSliderStyleTwo.h -------------------------------------------------------------------------------- /include/Sliderbar/DoubleHandleSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/DoubleHandleSlider.h -------------------------------------------------------------------------------- /include/Sliderbar/SliderBar.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/SliderBar.h -------------------------------------------------------------------------------- /include/Sliderbar/StripSlider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/StripSlider.h -------------------------------------------------------------------------------- /include/Sliderbar/StripSliderStyleOne.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/StripSliderStyleOne.h -------------------------------------------------------------------------------- /include/Sliderbar/StripSliderStyleTwo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/StripSliderStyleTwo.h -------------------------------------------------------------------------------- /include/Sliderbar/customslider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/customslider.h -------------------------------------------------------------------------------- /include/Sliderbar/customslider_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(CUSTOMSLIDER_LIB) 7 | # define CUSTOMSLIDER_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define CUSTOMSLIDER_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define CUSTOMSLIDER_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/Sliderbar/customsliderstyleone.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/customsliderstyleone.h -------------------------------------------------------------------------------- /include/Sliderbar/sliderbar_global.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #ifndef BUILD_STATIC 6 | # if defined(SLIDERBAR_LIB) 7 | # define SLIDERBAR_EXPORT Q_DECL_EXPORT 8 | # else 9 | # define SLIDERBAR_EXPORT Q_DECL_IMPORT 10 | # endif 11 | #else 12 | # define SLIDERBAR_EXPORT 13 | #endif 14 | -------------------------------------------------------------------------------- /include/Sliderbar/tipslider.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/include/Sliderbar/tipslider.h -------------------------------------------------------------------------------- /project-image/image: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /project-image/panel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/project-image/panel.png -------------------------------------------------------------------------------- /project-image/progress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/project-image/progress.png -------------------------------------------------------------------------------- /project-image/sliderbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArmstrongOne/Qt-CustomControls/d2e0346f6140240fb6741111be3563e771be1d85/project-image/sliderbar.png --------------------------------------------------------------------------------