I’m newly moving from Java to Qt, and I have a question. In JOptionPane you can pass an array of choices and JOptionPane will automatically make a combo box for the user to select a choice from. Is something analogous to this possible in Qt with QMessageBox or another native Qt element?
Share
You should use
QInputDialog::getItem(). For example: