示例#1
0
void ConstraintModel::setHeightPercentage(double arg)
{
    if(m_heightPercentage != arg)
    {
        m_heightPercentage = arg;
        emit heightPercentageChanged(arg);
    }
}
示例#2
0
void CommentBlockModel::setHeightPercentage(double y)
{
    if(y != m_yposition)
    {
        m_yposition = y;
        emit heightPercentageChanged(y);
    }
}