Add a cool color picker to the project
This commit is contained in:
1
Qt-Color-Widgets
Submodule
1
Qt-Color-Widgets
Submodule
Submodule Qt-Color-Widgets added at eb6da62d65
5
config/uicoloreditor.cpp
Normal file
5
config/uicoloreditor.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "uicoloreditor.h"
|
||||
|
||||
UIcolorEditor::UIcolorEditor(QWidget *parent) : QWidget(parent) {
|
||||
|
||||
}
|
||||
16
config/uicoloreditor.h
Normal file
16
config/uicoloreditor.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef UICOLOREDITOR_H
|
||||
#define UICOLOREDITOR_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
class UIcolorEditor : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit UIcolorEditor(QWidget *parent = 0);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // UICOLOREDITOR_H
|
||||
@@ -18,7 +18,7 @@
|
||||
#include "controller.h"
|
||||
#include "capture/capturewidget.h"
|
||||
#include "infowindow.h"
|
||||
#include "configwindow.h"
|
||||
#include "config/configwindow.h"
|
||||
#include "capture/button.h"
|
||||
#include <QAction>
|
||||
#include <QApplication>
|
||||
|
||||
@@ -28,6 +28,7 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||
include(singleapplication/singleapplication.pri)
|
||||
include(Qt-Color-Widgets//color_widgets.pri)
|
||||
|
||||
DEFINES += QAPPLICATION_CLASS=QApplication
|
||||
|
||||
|
||||
Reference in New Issue
Block a user