C++ (Qt)QInputDialog *inputDialog = new QInputDialog(this);QPushButton * btn = inputDialog->findChid <QPushButton *>();if (btn) { QBoxLayot * layout = dynamic_cast <QBoxLayout *> (btn->parentWidget()->layout()); if (layout) layout->insertWidget(1, new QPushButton("1", this));}
C++ (Qt)inputDialog->labelText();