borgmanJeremy 744bcd666b Don't allow Qt6 for color widget yet (#2230) | 2 лет назад | |
---|---|---|
.. | ||
cmake | 3 лет назад | |
color_widgets_designer_plugin | 3 лет назад | |
gallery | 3 лет назад | |
include | 3 лет назад | |
resources | 3 лет назад | |
src | 2 лет назад | |
CMakeLists.txt | 2 лет назад | |
COPYING | 4 лет назад | |
Doxyfile.in | 3 лет назад | |
GITSHA | 3 лет назад | |
LICENSE-EXCEPTION | 4 лет назад | |
QtColorWidgets.pc.in | 3 лет назад | |
README.md | 3 лет назад | |
color_widgets.pri | 3 лет назад | |
color_widgets.pro | 3 лет назад | |
refactor.sh | 3 лет назад |
Here is a color dialog that is more user-friendly than the default QColorDialog and several other color-related widgets
The provided widgets are:
they are all in the color_widgets namespace.
See the gallery for more information and screenshots.
For QMake-based projects, include color_widgets.pri in the QMake project file. For CMake-based projects, add this as subdirectory, it will be compiled as a library and you can link the required targets to ColorWidgets. All the required files are in ./src and ./include.
See https://mattbas.gitlab.io/Qt-Color-Widgets/
The sources for the designer plugin are in ./color_widgets_designer_plugin
Compile the library and install in (Qt SDK)/Tools/QtCreator/bin/designer/ (Qt SDK)/(Qt Version)/(Toolchain)/plugins/designer
mkdir build && cd build && cmake .. && make QtColorWidgetsPlugin && make install
The latest version of the sources can be found at the following locations:
LGPLv3+, See COPYING. As a special exception, this library can be included in any project under the terms of any of the GNU liceses, distributing the whole project under a different GNU license, see LICENSE-EXCEPTION for details.
Copyright (C) 2013-2020 Mattia Basaglia dev@dragon.best