Skip to content

RifeX-LA/color_picker

Repository files navigation

Color Picker

Overview

This is a color picker with RGB, XYZ and Lab color formats.

color picker

Building

First, you need download qmake using following commands:

sudo apt install qt5-qmake
sudo apt install qt5base-dev

Creating build directory:

mkdir build
cd build

Building application

qmake ..
make

Building application for Windows systems (generates Visual Studio files)

qmake -tp vc ..

Finally, run application with following command:

./lab1

If you have Qt Creator application, you can simply open this project (by opening lab1.pro file) and build it.

Usage

The color picker is represented in flow::qwidgets::color_picker class (inherited from QDialog).

The code shows the simplest way to use flow::qwidgets::color_picker class:

#include <QApplication>
#include <flow/color_picker.hpp>

int main(int argc, char *argv[]) {
    QApplication a(argc, argv);

    flow::qwidgets::color_picker color_picker;
    color_picker.show();

    return QApplication::exec();
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published