Line data Source code
1 : /******************************************************************************** 2 : ** Form generated from reading UI file 'addressbookpage.ui' 3 : ** 4 : ** Created by: Qt User Interface Compiler version 5.15.0 5 : ** 6 : ** WARNING! All changes made in this file will be lost when recompiling UI file! 7 : ********************************************************************************/ 8 : 9 : #ifndef UI_ADDRESSBOOKPAGE_H 10 : #define UI_ADDRESSBOOKPAGE_H 11 : 12 : #include <QtCore/QVariant> 13 : #include <QtGui/QIcon> 14 : #include <QtWidgets/QApplication> 15 : #include <QtWidgets/QHBoxLayout> 16 : #include <QtWidgets/QHeaderView> 17 : #include <QtWidgets/QLabel> 18 : #include <QtWidgets/QLineEdit> 19 : #include <QtWidgets/QPushButton> 20 : #include <QtWidgets/QSpacerItem> 21 : #include <QtWidgets/QTableView> 22 : #include <QtWidgets/QVBoxLayout> 23 : #include <QtWidgets/QWidget> 24 : 25 : QT_BEGIN_NAMESPACE 26 : 27 : class Ui_AddressBookPage 28 : { 29 : public: 30 : QVBoxLayout *verticalLayout; 31 : QLabel *labelExplanation; 32 : QLineEdit *searchLineEdit; 33 : QTableView *tableView; 34 : QHBoxLayout *horizontalLayout; 35 : QPushButton *newAddress; 36 : QPushButton *copyAddress; 37 : QPushButton *deleteAddress; 38 : QSpacerItem *horizontalSpacer; 39 : QPushButton *exportButton; 40 : QPushButton *closeButton; 41 : 42 0 : void setupUi(QWidget *AddressBookPage) 43 : { 44 0 : if (AddressBookPage->objectName().isEmpty()) 45 0 : AddressBookPage->setObjectName(QString::fromUtf8("AddressBookPage")); 46 0 : AddressBookPage->resize(760, 380); 47 0 : verticalLayout = new QVBoxLayout(AddressBookPage); 48 0 : verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); 49 0 : labelExplanation = new QLabel(AddressBookPage); 50 0 : labelExplanation->setObjectName(QString::fromUtf8("labelExplanation")); 51 0 : labelExplanation->setTextFormat(Qt::PlainText); 52 0 : labelExplanation->setWordWrap(true); 53 : 54 0 : verticalLayout->addWidget(labelExplanation); 55 : 56 0 : searchLineEdit = new QLineEdit(AddressBookPage); 57 0 : searchLineEdit->setObjectName(QString::fromUtf8("searchLineEdit")); 58 : 59 0 : verticalLayout->addWidget(searchLineEdit); 60 : 61 0 : tableView = new QTableView(AddressBookPage); 62 0 : tableView->setObjectName(QString::fromUtf8("tableView")); 63 0 : tableView->setContextMenuPolicy(Qt::CustomContextMenu); 64 0 : tableView->setTabKeyNavigation(false); 65 0 : tableView->setAlternatingRowColors(true); 66 0 : tableView->setSelectionMode(QAbstractItemView::SingleSelection); 67 0 : tableView->setSelectionBehavior(QAbstractItemView::SelectRows); 68 0 : tableView->setSortingEnabled(true); 69 0 : tableView->verticalHeader()->setVisible(false); 70 : 71 0 : verticalLayout->addWidget(tableView); 72 : 73 0 : horizontalLayout = new QHBoxLayout(); 74 0 : horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); 75 0 : newAddress = new QPushButton(AddressBookPage); 76 0 : newAddress->setObjectName(QString::fromUtf8("newAddress")); 77 0 : QIcon icon; 78 0 : icon.addFile(QString::fromUtf8(":/icons/add"), QSize(), QIcon::Normal, QIcon::Off); 79 0 : newAddress->setIcon(icon); 80 0 : newAddress->setAutoDefault(false); 81 : 82 0 : horizontalLayout->addWidget(newAddress); 83 : 84 0 : copyAddress = new QPushButton(AddressBookPage); 85 0 : copyAddress->setObjectName(QString::fromUtf8("copyAddress")); 86 0 : QIcon icon1; 87 0 : icon1.addFile(QString::fromUtf8(":/icons/editcopy"), QSize(), QIcon::Normal, QIcon::Off); 88 0 : copyAddress->setIcon(icon1); 89 0 : copyAddress->setAutoDefault(false); 90 : 91 0 : horizontalLayout->addWidget(copyAddress); 92 : 93 0 : deleteAddress = new QPushButton(AddressBookPage); 94 0 : deleteAddress->setObjectName(QString::fromUtf8("deleteAddress")); 95 0 : QIcon icon2; 96 0 : icon2.addFile(QString::fromUtf8(":/icons/remove"), QSize(), QIcon::Normal, QIcon::Off); 97 0 : deleteAddress->setIcon(icon2); 98 0 : deleteAddress->setAutoDefault(false); 99 : 100 0 : horizontalLayout->addWidget(deleteAddress); 101 : 102 0 : horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); 103 : 104 0 : horizontalLayout->addItem(horizontalSpacer); 105 : 106 0 : exportButton = new QPushButton(AddressBookPage); 107 0 : exportButton->setObjectName(QString::fromUtf8("exportButton")); 108 0 : QIcon icon3; 109 0 : icon3.addFile(QString::fromUtf8(":/icons/export"), QSize(), QIcon::Normal, QIcon::Off); 110 0 : exportButton->setIcon(icon3); 111 0 : exportButton->setAutoDefault(false); 112 : 113 0 : horizontalLayout->addWidget(exportButton); 114 : 115 0 : closeButton = new QPushButton(AddressBookPage); 116 0 : closeButton->setObjectName(QString::fromUtf8("closeButton")); 117 0 : QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum); 118 0 : sizePolicy.setHorizontalStretch(0); 119 0 : sizePolicy.setVerticalStretch(0); 120 0 : sizePolicy.setHeightForWidth(closeButton->sizePolicy().hasHeightForWidth()); 121 0 : closeButton->setSizePolicy(sizePolicy); 122 0 : closeButton->setAutoDefault(false); 123 : 124 0 : horizontalLayout->addWidget(closeButton); 125 : 126 : 127 0 : verticalLayout->addLayout(horizontalLayout); 128 : 129 : 130 0 : retranslateUi(AddressBookPage); 131 : 132 0 : QMetaObject::connectSlotsByName(AddressBookPage); 133 0 : } // setupUi 134 : 135 0 : void retranslateUi(QWidget *AddressBookPage) 136 : { 137 0 : searchLineEdit->setPlaceholderText(QCoreApplication::translate("AddressBookPage", "Enter address or label to search", nullptr)); 138 : #if QT_CONFIG(tooltip) 139 0 : tableView->setToolTip(QCoreApplication::translate("AddressBookPage", "Right-click to edit address or label", nullptr)); 140 : #endif // QT_CONFIG(tooltip) 141 : #if QT_CONFIG(tooltip) 142 0 : newAddress->setToolTip(QCoreApplication::translate("AddressBookPage", "Create a new address", nullptr)); 143 : #endif // QT_CONFIG(tooltip) 144 0 : newAddress->setText(QCoreApplication::translate("AddressBookPage", "&New", nullptr)); 145 : #if QT_CONFIG(tooltip) 146 0 : copyAddress->setToolTip(QCoreApplication::translate("AddressBookPage", "Copy the currently selected address to the system clipboard", nullptr)); 147 : #endif // QT_CONFIG(tooltip) 148 0 : copyAddress->setText(QCoreApplication::translate("AddressBookPage", "&Copy", nullptr)); 149 : #if QT_CONFIG(tooltip) 150 0 : deleteAddress->setToolTip(QCoreApplication::translate("AddressBookPage", "Delete the currently selected address from the list", nullptr)); 151 : #endif // QT_CONFIG(tooltip) 152 0 : deleteAddress->setText(QCoreApplication::translate("AddressBookPage", "&Delete", nullptr)); 153 : #if QT_CONFIG(tooltip) 154 0 : exportButton->setToolTip(QCoreApplication::translate("AddressBookPage", "Export the data in the current tab to a file", nullptr)); 155 : #endif // QT_CONFIG(tooltip) 156 0 : exportButton->setText(QCoreApplication::translate("AddressBookPage", "&Export", nullptr)); 157 0 : closeButton->setText(QCoreApplication::translate("AddressBookPage", "C&lose", nullptr)); 158 : (void)AddressBookPage; 159 0 : } // retranslateUi 160 : 161 : }; 162 : 163 : namespace Ui { 164 : class AddressBookPage: public Ui_AddressBookPage {}; 165 : } // namespace Ui 166 : 167 : QT_END_NAMESPACE 168 : 169 : #endif // UI_ADDRESSBOOKPAGE_H