f213e818f0
Change QApplication::translate() to QCoreApplication::translate() in generator and tests. Task-number: PYSIDE-797 Change-Id: I0bbaf1f280b74b3b2a701a39203c059ab82fce1f Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
146 lines
5.2 KiB
C++
146 lines
5.2 KiB
C++
/********************************************************************************
|
|
** Form generated from reading UI file 'connectdialog.ui'
|
|
**
|
|
** Created by: Qt User Interface Compiler version 5.12.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/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, SIGNAL(accepted()), ConnectDialog, SLOT(accept()));
|
|
QObject::connect(buttonBox, SIGNAL(rejected()), ConnectDialog, SLOT(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
|