why show Popup function of comboBox is not working?
Unsolved
General and Desktop
-
hii i am new to qt and just experimenting with some functions of comboBox.
i have written the following code
ui->comboBox->addItem("mark");
ui->comboBox->count();
ui->showPopup();
in main window() of project
this code has added mark to the comboBox if i write the following codeui->comboBox->addItem("mark");
but count() and showPopup() are not working and following error is coming.
class Ui::MainWindow has no member named show Popup.