Namespaces | Functions
color_names.hpp File Reference
#include <QColor>
#include <QString>
Include dependency graph for color_names.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  color_widgets

Functions

QColor color_widgets::colorFromString (const QString &string, bool alpha=true)
 Convert a string into a color.
QString color_widgets::stringFromColor (const QColor &color, bool alpha=true)
 Convert a color into a string.

Detailed Description

Author:
Mattia Basaglia

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Definition in file color_names.hpp.



plotjuggler
Author(s): Davide Faconti
autogenerated on Fri Sep 1 2017 02:41:57