I have QPixmaps array QList ,
mainwindow.h file
QList<QPixmap> sembolList;
QList<QPixmap> sembolList;
To copy to clipboard, switch view to plain text mode
mainwindow.cpp file
sembolList <<
QPixmap(":/images/9_maca.png");
sembolList <<
QPixmap(":/images/10_maca.png");
sembolList <<
QPixmap(":/images/11_maca.png");
...
...
sembolList << QPixmap(":/images/9_maca.png");
sembolList << QPixmap(":/images/10_maca.png");
sembolList << QPixmap(":/images/11_maca.png");
...
...
To copy to clipboard, switch view to plain text mode
I want to send another classes (more than one) as constructor parameter sembolList but not instance or copy , only use its adress . in other words , I do not want to take up space in memory. one time create and dynamically use all my class. How to make that?
Bookmarks