Ejemplo n.º 1
0
void Room::setImg(const QString &newImg)
{
    if (newImg != m_img) {
    	m_img = newImg;
        emit imgChanged(newImg);
    }
}
Ejemplo n.º 2
0
TImageSnapshot::TImageSnapshot(QVector<unsigned short > vector, int x, int y, int pm, QWidget *p) : EImageBase(vector, x, y, pm, p)
{
    connect(this, SIGNAL(imgChanged(QImage)), SLOT(setImage(QImage)));
    connect(wgt, SIGNAL(imgTransformed(QImage)), SLOT(setImage(QImage)));
}
Ejemplo n.º 3
0
TImageSnapshot::TImageSnapshot(QImage img, int x, int y, int pm, QWidget *p) : EImageBase(img, x, y, pm, p)
{
    connect(this, SIGNAL(imgChanged(QImage)), SLOT(setImage(QImage)));
    connect(wgt, SIGNAL(imgTransformed(QImage)), SLOT(setImage(QImage)));
}