13 #include <QStringList>
28 std::ostream&
operator<<(std::ostream& str,
const QString& qstring)
30 str << qstring.toStdString();
38 QStringList comp = input.split(QRegExp(
"\\s+"), QString::SkipEmptyParts);
39 std::vector<double> retval(comp.size());
42 for (
unsigned i=0; i<retval.size(); ++i)
44 retval[i] = comp[i].toDouble(&tempOk);
54 QString retval = QString(
"%1/%2/%3")
58 if (color.alpha()!=255)
59 retval += QString(
"/%1").arg(color.alpha());
66 QStringList c = input.split(
"/");
72 QColor retval = QColor::fromRgb(