示例#1
0
void QDeclarativeScaleGrid::setBottom(int pos)
{
    if (_bottom != pos) {
        _bottom = pos;
        emit borderChanged();
    }
}
示例#2
0
void QDeclarativeScaleGrid::setTop(int pos)
{
    if (_top != pos) {
        _top = pos;
        emit borderChanged();
    }
}
示例#3
0
void QDeclarativeScaleGrid::setRight(int pos)
{
    if (_right != pos) {
        _right = pos;
        emit borderChanged();
    }
}
示例#4
0
void QSGScaleGrid::setRight(int pos)
{
    if (_right != pos) {
        _right = pos;
        emit borderChanged();
    }
}
示例#5
0
void QDeclarativeScaleGrid::setLeft(int pos)
{
    if (_left != pos) {
        _left = pos;
        emit borderChanged();
    }
}
示例#6
0
void QSGScaleGrid::setTop(int pos)
{
    if (_top != pos) {
        _top = pos;
        emit borderChanged();
    }
}
示例#7
0
void QSGScaleGrid::setLeft(int pos)
{
    if (_left != pos) {
        _left = pos;
        emit borderChanged();
    }
}
void QQuickScaleGrid::setBottom(int pos)
{
    if (_bottom != pos) {
        _bottom = pos;
        emit borderChanged();
    }
}
示例#9
0
void Swatch::setBorder(const QPen& border)
{
    if ( border != p->border )
    {
        p->border = border;
        borderChanged(border);
        update();
    }
}
ImageBorder* BorderImagePrivate::border() {
    Q_Q(BorderImage);

    if (!imageBorder) {
        imageBorder = new ImageBorder(q);
        q->connect(imageBorder, SIGNAL(borderChanged()), q, SLOT(update()));
    }

    return imageBorder;
}
示例#11
0
void PieBorder::setWidth(int w) {
    if(m_width == w) { return; }
    m_width = w;
    emit borderChanged();
}
示例#12
0
void PieBorder::setColor(const QColor &c) {
    if(m_color == c) { return; }
    m_color = c;
    emit borderChanged();
}