MainPlayerBoard
::MainPlayerBoard(QString naam,
short count,
QWidget *parent
): ui(new Ui::MainPlayerBoard)
{
ui->setupUi(this);
eerste.load(":/image.gif");
ui->tile1->pixmap();
ui
->tile1
->setPixmap
(QPixmap::fromImage(eerste
));
ui->tile1->show();
MainPlayerBoard::setWindowTitle(naam);
m_count = count;
}
MainPlayerBoard::MainPlayerBoard(QString naam, short count, QWidget *parent):
QMainWindow(parent),
ui(new Ui::MainPlayerBoard)
{
ui->setupUi(this);
QImage eerste;
eerste.load(":/image.gif");
ui->tile1->pixmap();
ui->tile1->setPixmap(QPixmap::fromImage(eerste));
ui->tile1->show();
MainPlayerBoard::setWindowTitle(naam);
m_count = count;
}
To copy to clipboard, switch view to plain text mode
I first tried to load the pictures from a QVector<QPixmap*> which didn't work.
Then I tried to load them from a QPixmap, didn't work either...
after a while I tried this...
But the problem remains, the QPixmap on my screen does not show up...
Please help me out
Bookmarks