26 #include <tulip/Color.h>
27 #include <tulip/tulipconf.h>
28 #include <tulip/PropertyInterface.h>
37 TLP_QT_SCOPE
bool getColorDialog(
const QColor &color,QWidget *parent,
const QString &title,QColor &result);
39 inline QColor colorToQColor(
const Color& color) {
40 return QColor(color.getR(), color.getG(), color.getB(), color.getA());
42 inline Color QColorToColor(
const QColor& color) {
43 return Color(color.red(), color.green(), color.blue(), color.alpha());
49 return std::string(toConvert.toUtf8());
55 return QString::fromUtf8(toConvert.c_str());
62 return QString::localeAwareCompare(s1, s2) < 0;
98 TLP_QT_SCOPE QString getPluginStagingDirectory();
100 TLP_QT_SCOPE QString getPluginLocalInstallationDir();
102 TLP_QT_SCOPE QString localPluginsPath();
113 extern TLP_QT_SCOPE
void initTulipSoftware(PluginLoader *loader = NULL,
bool removeDiscardedPlugins=
false);
133 inline QDebug
operator<<(QDebug dbg,
const std::string& s) {
134 dbg.nospace() << s.c_str();