Пример #1
0
void myParserEDM::Qt_setColorTrace(char *widget, int r, int g, int b, int alpha, int trace) {
    Q_UNUSED(widget);
    QString prop = "color_%1";
    prop = prop.arg(trace+1);
    Qt_setColor((char*) prop.toLatin1().constData(), r, g, b, alpha);
}
Пример #2
0
void myParserEDM::Qt_setColorScale(char *widget, int r, int g, int b, int alpha) {
    Q_UNUSED(widget);
    Qt_setColor("scaleColor", r, g, b, alpha);
}
Пример #3
0
void myParserEDM::Qt_setColorGrid(char *widget, int r, int g, int b, int alpha) {
    Q_UNUSED(widget);
    Qt_setColor("gridColor", r, g, b, alpha);
}
Пример #4
0
void myParserEDM::Qt_setColorBackground(char *widget, int r, int g, int b, int alpha)
{
    Q_UNUSED(widget);
    Qt_setColor("background", r, g, b, alpha);
}
void myParserEDM::Qt_setColorLine(char *widget, int r, int g, int b, int alpha) {

    Qt_setColor("lineColor", r, g, b, alpha);
}
void myParserEDM::Qt_setColorForeground(char *widget, int r, int g, int b, int alpha)
{
    Qt_setColor("foreground", r, g, b, alpha);
}