I want show dateedit calendar after clicked on my button. I try
QObject::connect(pButton, &GUI::MyButton::clicked, pDateEdit, [pDateEdit]() {
pDateEdit->setCalendarPopup(true);
pDateEdit->calendarWidget()->show();
pDateEdit->showNormal();
};
but this dont work