Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • nheko-reborn/qt-jdenticon
1 result
Show changes
Commits on Source (2)
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
###################################################################### ######################################################################
TEMPLATE = lib TEMPLATE = lib
CONFIG += plugin CONFIG += plugin
TARGET = qtjdenticon TARGET = qtjdenticon
INCLUDEPATH = includes INCLUDEPATH = includes
INCLUDEPATH += . INCLUDEPATH += .
DESTDIR = plugins VERSION = 0.1.0
# The following define makes your compiler warn you if you use any # The following define makes your compiler warn you if you use any
# feature of Qt which has been marked as deprecated (the exact warnings # feature of Qt which has been marked as deprecated (the exact warnings
...@@ -41,8 +41,8 @@ HEADERS += src/identicon.h \ ...@@ -41,8 +41,8 @@ HEADERS += src/identicon.h \
src/shapes/shapecategory.h \ src/shapes/shapecategory.h \
src/shapes/shapedefinitions.h \ src/shapes/shapedefinitions.h \
src/shapes/shapeposition.h \ src/shapes/shapeposition.h \
src/jdenticonplugin.h \ src/jdenticonplugin.h \
includes/jdenticoninterface.h includes/jdenticoninterface.h
SOURCES += src/identicon.cpp \ SOURCES += src/identicon.cpp \
src/identiconstyle.cpp \ src/identiconstyle.cpp \
src/qtidenticon.cpp \ src/qtidenticon.cpp \
...@@ -57,8 +57,8 @@ SOURCES += src/identicon.cpp \ ...@@ -57,8 +57,8 @@ SOURCES += src/identicon.cpp \
src/shapes/shapecategory.cpp \ src/shapes/shapecategory.cpp \
src/shapes/shapedefinitions.cpp \ src/shapes/shapedefinitions.cpp \
src/shapes/shapeposition.cpp \ src/shapes/shapeposition.cpp \
src/jdenticonplugin.cpp src/jdenticonplugin.cpp
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/widgets/tools/jdenticon/plugins target.path = $$[QT_INSTALL_PLUGINS]
INSTALLS += target INSTALLS += target
#include "identiconstyle.h" #include "identiconstyle.h"
#include <stdexcept>
IdenticonStyle::IdenticonStyle() {} IdenticonStyle::IdenticonStyle() {}
IdenticonStyle::IdenticonStyle(IdenticonStyle &other) IdenticonStyle::IdenticonStyle(IdenticonStyle &other)
......
#include "colortheme.h" #include "colortheme.h"
#include <stdexcept>
namespace rendering { namespace rendering {
ColorTheme::ColorTheme(qreal hue, IdenticonStyle &style) ColorTheme::ColorTheme(qreal hue, IdenticonStyle &style)
......
#include "colorutils.h" #include "colorutils.h"
#include <stdexcept>
namespace rendering { namespace rendering {
QList<qreal> ColorUtils::lightnessCompensation_ = {0.55, 0.5, 0.5, 0.46, 0.6, 0.55, 0.55}; QList<qreal> ColorUtils::lightnessCompensation_ = {0.55, 0.5, 0.5, 0.46, 0.6, 0.55, 0.55};
......