qt5base-lts/tests/auto/tools/uic/baseline/connectdialog.ui.h
Friedemann Kleint da3cb1deb6 uic: Generate Qt 5 connection syntax
Add a enum and formatting for member function pointer based
connections. Now preferably use member function pointer for Qt classes
or parameterless connections.

This should not require qOverload() within Qt classes after the
Signal/Slot disambiguation.

Add command line option to force either syntax for all connections.

Task-number: QTBUG-76375
Change-Id: Icdb4051e1173172a71cd536bdbc7d1ab1edf267d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-05-04 08:12:33 +02:00

147 lines
5.3 KiB
C++

/********************************************************************************
** Form generated from reading UI file 'connectdialog.ui'
**
** Created by: Qt User Interface Compiler version 6.0.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef CONNECTDIALOG_H
#define CONNECTDIALOG_H
#include <QtCore/QVariant>
#include <QtWidgets/QAbstractButton>
#include <QtWidgets/QApplication>
#include <QtWidgets/QCheckBox>
#include <QtWidgets/QDialog>
#include <QtWidgets/QDialogButtonBox>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QListWidget>
#include <QtWidgets/QSpacerItem>
#include <QtWidgets/QToolButton>
#include <QtWidgets/QVBoxLayout>
QT_BEGIN_NAMESPACE
class Ui_ConnectDialog
{
public:
QGridLayout *gridLayout;
QGroupBox *signalGroupBox;
QVBoxLayout *vboxLayout;
QListWidget *signalList;
QHBoxLayout *hboxLayout;
QToolButton *editSignalsButton;
QSpacerItem *spacerItem;
QGroupBox *slotGroupBox;
QVBoxLayout *vboxLayout1;
QListWidget *slotList;
QHBoxLayout *hboxLayout1;
QToolButton *editSlotsButton;
QSpacerItem *spacerItem1;
QCheckBox *showAllCheckBox;
QDialogButtonBox *buttonBox;
void setupUi(QDialog *ConnectDialog)
{
if (ConnectDialog->objectName().isEmpty())
ConnectDialog->setObjectName(QString::fromUtf8("ConnectDialog"));
ConnectDialog->resize(585, 361);
gridLayout = new QGridLayout(ConnectDialog);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
signalGroupBox = new QGroupBox(ConnectDialog);
signalGroupBox->setObjectName(QString::fromUtf8("signalGroupBox"));
vboxLayout = new QVBoxLayout(signalGroupBox);
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
signalList = new QListWidget(signalGroupBox);
signalList->setObjectName(QString::fromUtf8("signalList"));
signalList->setTextElideMode(Qt::ElideMiddle);
vboxLayout->addWidget(signalList);
hboxLayout = new QHBoxLayout();
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
editSignalsButton = new QToolButton(signalGroupBox);
editSignalsButton->setObjectName(QString::fromUtf8("editSignalsButton"));
hboxLayout->addWidget(editSignalsButton);
spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout->addItem(spacerItem);
vboxLayout->addLayout(hboxLayout);
gridLayout->addWidget(signalGroupBox, 0, 0, 1, 2);
slotGroupBox = new QGroupBox(ConnectDialog);
slotGroupBox->setObjectName(QString::fromUtf8("slotGroupBox"));
vboxLayout1 = new QVBoxLayout(slotGroupBox);
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
slotList = new QListWidget(slotGroupBox);
slotList->setObjectName(QString::fromUtf8("slotList"));
slotList->setTextElideMode(Qt::ElideMiddle);
vboxLayout1->addWidget(slotList);
hboxLayout1 = new QHBoxLayout();
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
editSlotsButton = new QToolButton(slotGroupBox);
editSlotsButton->setObjectName(QString::fromUtf8("editSlotsButton"));
hboxLayout1->addWidget(editSlotsButton);
spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
hboxLayout1->addItem(spacerItem1);
vboxLayout1->addLayout(hboxLayout1);
gridLayout->addWidget(slotGroupBox, 0, 2, 1, 1);
showAllCheckBox = new QCheckBox(ConnectDialog);
showAllCheckBox->setObjectName(QString::fromUtf8("showAllCheckBox"));
gridLayout->addWidget(showAllCheckBox, 1, 0, 1, 1);
buttonBox = new QDialogButtonBox(ConnectDialog);
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
buttonBox->setOrientation(Qt::Horizontal);
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
gridLayout->addWidget(buttonBox, 2, 1, 1, 2);
retranslateUi(ConnectDialog);
QObject::connect(buttonBox, &QDialogButtonBox::accepted, ConnectDialog, &QDialog::accept);
QObject::connect(buttonBox, &QDialogButtonBox::rejected, ConnectDialog, &QDialog::reject);
QMetaObject::connectSlotsByName(ConnectDialog);
} // setupUi
void retranslateUi(QDialog *ConnectDialog)
{
ConnectDialog->setWindowTitle(QCoreApplication::translate("ConnectDialog", "Configure Connection", nullptr));
signalGroupBox->setTitle(QCoreApplication::translate("ConnectDialog", "GroupBox", nullptr));
editSignalsButton->setText(QCoreApplication::translate("ConnectDialog", "Edit...", nullptr));
slotGroupBox->setTitle(QCoreApplication::translate("ConnectDialog", "GroupBox", nullptr));
editSlotsButton->setText(QCoreApplication::translate("ConnectDialog", "Edit...", nullptr));
showAllCheckBox->setText(QCoreApplication::translate("ConnectDialog", "Show signals and slots inherited from QWidget", nullptr));
} // retranslateUi
};
namespace Ui {
class ConnectDialog: public Ui_ConnectDialog {};
} // namespace Ui
QT_END_NAMESPACE
#endif // CONNECTDIALOG_H