[Interest] QKeySequenceEdit tab issue

Laszlo Papp lpapp at kde.org
Fri Jun 24 16:57:25 CEST 2022


Hi,

I am unable to assign tab to QKeySequenceEdit. Do you know the issue may be?

Thanks.

Kind regards,
László

---

#include <QApplication>
#include <QKeySequenceEdit>
#include <QPushButton>
#include <QVBoxLayout>

int main(int argc, char *argv[])
{
  QApplication app(argc, argv);
  QWidget mainWindow;

  QVBoxLayout* layout = new QVBoxLayout;

  // If I comment the button out, I can assign tab to keySequenceEdit
  QPushButton *okButton = new QPushButton("Ok");
  layout->addWidget(okButton);

  QKeySequenceEdit* keySequenceEdit = new QKeySequenceEdit();
  layout->addWidget(keySequenceEdit);

  mainWindow.setLayout(layout);
  mainWindow.show();
  return app.exec();
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20220624/fb2c3b35/attachment.htm>


More information about the Interest mailing list