I have two objects QColor
, QFont
and there's a possibility of adding more.
I want to store that objects in a container for instance QList
but this container needs one type of data.
QFont font = QFontDialog::getFont(&fontDlgRet, initFont, parent);
QColor color = QColorDialog::getColor(initColor, parent);
Is there a container accepts adding different types of objects?