|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
/********************************************************************************
** Form generated from reading UI file 'editdialog.ui'
**
** Created: Mon Nov 4 07:59:39 2013
** by: Qt User Interface Compiler version 4.8.4
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/
#ifndef UI_EDITDIALOG_H
#define UI_EDITDIALOG_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QDialog>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGridLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QSpacerItem>
#include <QtGui/QVBoxLayout>
#include <customtextedit.h>
QT_BEGIN_NAMESPACE
class Ui_EditDialog
{
public:
QGridLayout *gridLayout;
QVBoxLayout *verticalLayout;
QLabel *nameLabel;
QLineEdit *nameLineEdit;
QLabel *phoneLabel;
QLineEdit *phoneLineEdit;
QLabel *commentLabel;
CustomTextEdit *commentTextEdit;
QLabel *assignaturaLabel;
QComboBox *assignaturaComboBox;
QSpacerItem *horizontalSpacer_2;
QDialogButtonBox *buttonBox;
QSpacerItem *verticalSpacer_3;
QSpacerItem *verticalSpacer_2;
QSpacerItem *horizontalSpacer;
void setupUi(QDialog *EditDialog)
{
if (EditDialog->objectName().isEmpty())
EditDialog->setObjectName(QString::fromUtf8("EditDialog"));
EditDialog->resize(280, 336);
gridLayout = new QGridLayout(EditDialog);
gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
verticalLayout = new QVBoxLayout();
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
nameLabel = new QLabel(EditDialog);
nameLabel->setObjectName(QString::fromUtf8("nameLabel"));
verticalLayout->addWidget(nameLabel);
nameLineEdit = new QLineEdit(EditDialog);
nameLineEdit->setObjectName(QString::fromUtf8("nameLineEdit"));
verticalLayout->addWidget(nameLineEdit);
phoneLabel = new QLabel(EditDialog);
phoneLabel->setObjectName(QString::fromUtf8("phoneLabel"));
verticalLayout->addWidget(phoneLabel);
phoneLineEdit = new QLineEdit(EditDialog);
phoneLineEdit->setObjectName(QString::fromUtf8("phoneLineEdit"));
verticalLayout->addWidget(phoneLineEdit);
commentLabel = new QLabel(EditDialog);
commentLabel->setObjectName(QString::fromUtf8("commentLabel"));
verticalLayout->addWidget(commentLabel);
commentTextEdit = new CustomTextEdit(EditDialog);
commentTextEdit->setObjectName(QString::fromUtf8("commentTextEdit"));
verticalLayout->addWidget(commentTextEdit);
assignaturaLabel = new QLabel(EditDialog);
assignaturaLabel->setObjectName(QString::fromUtf8("assignaturaLabel"));
verticalLayout->addWidget(assignaturaLabel);
assignaturaComboBox = new QComboBox(EditDialog);
assignaturaComboBox->setObjectName(QString::fromUtf8("assignaturaComboBox"));
verticalLayout->addWidget(assignaturaComboBox);
gridLayout->addLayout(verticalLayout, 1, 1, 2, 3);
horizontalSpacer_2 = new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer_2, 1, 4, 1, 1);
buttonBox = new QDialogButtonBox(EditDialog);
buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
buttonBox->setOrientation(Qt::Horizontal);
buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
gridLayout->addWidget(buttonBox, 4, 3, 1, 1);
verticalSpacer_3 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Minimum);
gridLayout->addItem(verticalSpacer_3, 3, 3, 1, 1);
verticalSpacer_2 = new QSpacerItem(20, 5, QSizePolicy::Minimum, QSizePolicy::Minimum);
gridLayout->addItem(verticalSpacer_2, 0, 3, 1, 1);
horizontalSpacer = new QSpacerItem(10, 20, QSizePolicy::Fixed, QSizePolicy::Minimum);
gridLayout->addItem(horizontalSpacer, 1, 0, 1, 1);
retranslateUi(EditDialog);
QObject::connect(buttonBox, SIGNAL(accepted()), EditDialog, SLOT(accept()));
QObject::connect(buttonBox, SIGNAL(rejected()), EditDialog, SLOT(reject()));
QMetaObject::connectSlotsByName(EditDialog);
} // setupUi
void retranslateUi(QDialog *EditDialog)
{
EditDialog->setWindowTitle(QApplication::translate("EditDialog", "Editar pr\303\251stec...", 0, QApplication::UnicodeUTF8));
nameLabel->setText(QApplication::translate("EditDialog", "Nom i cognoms", 0, QApplication::UnicodeUTF8));
phoneLabel->setText(QApplication::translate("EditDialog", "Tel\303\250fon", 0, QApplication::UnicodeUTF8));
commentLabel->setText(QApplication::translate("EditDialog", "Comentari (M\303\240x 140 car\303\240cters)", 0, QApplication::UnicodeUTF8));
assignaturaLabel->setText(QApplication::translate("EditDialog", "Assignatura", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class EditDialog: public Ui_EditDialog {};
} // namespace Ui
QT_END_NAMESPACE
#endif // UI_EDITDIALOG_H
|