9 #ifndef UI_ADDRESSBOOKPAGE_H 10 #define UI_ADDRESSBOOKPAGE_H 12 #include <QtCore/QVariant> 13 #include <QtWidgets/QAction> 14 #include <QtWidgets/QApplication> 15 #include <QtWidgets/QButtonGroup> 16 #include <QtWidgets/QHBoxLayout> 17 #include <QtWidgets/QHeaderView> 18 #include <QtWidgets/QLabel> 19 #include <QtWidgets/QPushButton> 20 #include <QtWidgets/QSpacerItem> 21 #include <QtWidgets/QTableView> 22 #include <QtWidgets/QVBoxLayout> 23 #include <QtWidgets/QWidget> 56 tableView->setObjectName(QStringLiteral(
"tableView"));
57 tableView->setContextMenuPolicy(Qt::CustomContextMenu);
60 tableView->setSelectionMode(QAbstractItemView::SingleSelection);
61 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
63 tableView->verticalHeader()->setVisible(
false);
70 newAddress->setObjectName(QStringLiteral(
"newAddress"));
76 copyAddress->setObjectName(QStringLiteral(
"copyAddress"));
82 deleteAddress->setObjectName(QStringLiteral(
"deleteAddress"));
87 horizontalSpacer =
new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
92 exportButton->setObjectName(QStringLiteral(
"exportButton"));
98 closeButton->setObjectName(QStringLiteral(
"closeButton"));
99 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
100 sizePolicy.setHorizontalStretch(0);
101 sizePolicy.setVerticalStretch(0);
102 sizePolicy.setHeightForWidth(
closeButton->sizePolicy().hasHeightForWidth());
119 #ifndef QT_NO_TOOLTIP 120 tableView->setToolTip(QApplication::translate(
"AddressBookPage",
"Right-click to edit address or label", 0));
121 #endif // QT_NO_TOOLTIP 122 #ifndef QT_NO_TOOLTIP 123 newAddress->setToolTip(QApplication::translate(
"AddressBookPage",
"Create a new address", 0));
124 #endif // QT_NO_TOOLTIP 125 newAddress->setText(QApplication::translate(
"AddressBookPage",
"&New", 0));
126 #ifndef QT_NO_TOOLTIP 127 copyAddress->setToolTip(QApplication::translate(
"AddressBookPage",
"Copy the currently selected address to the system clipboard", 0));
128 #endif // QT_NO_TOOLTIP 129 copyAddress->setText(QApplication::translate(
"AddressBookPage",
"&Copy", 0));
130 #ifndef QT_NO_TOOLTIP 131 deleteAddress->setToolTip(QApplication::translate(
"AddressBookPage",
"Delete the currently selected address from the list", 0));
132 #endif // QT_NO_TOOLTIP 133 deleteAddress->setText(QApplication::translate(
"AddressBookPage",
"&Delete", 0));
134 #ifndef QT_NO_TOOLTIP 135 exportButton->setToolTip(QApplication::translate(
"AddressBookPage",
"Export the data in the current tab to a file", 0));
136 #endif // QT_NO_TOOLTIP 137 exportButton->setText(QApplication::translate(
"AddressBookPage",
"&Export", 0));
138 closeButton->setText(QApplication::translate(
"AddressBookPage",
"C&lose", 0));
150 #endif // UI_ADDRESSBOOKPAGE_H QHBoxLayout * horizontalLayout
QPushButton * exportButton
QLabel * labelExplanation
QPushButton * copyAddress
QPushButton * closeButton
QVBoxLayout * verticalLayout
void setupUi(QWidget *AddressBookPage)
QPushButton * deleteAddress
QSpacerItem * horizontalSpacer
void retranslateUi(QWidget *AddressBookPage)