00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_LOG_H
00011 #define UI_LOG_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QCheckBox>
00018 #include <QtGui/QDialog>
00019 #include <QtGui/QGridLayout>
00020 #include <QtGui/QHBoxLayout>
00021 #include <QtGui/QLabel>
00022 #include <QtGui/QLineEdit>
00023 #include <QtGui/QPushButton>
00024 #include <QtGui/QSpacerItem>
00025 #include <QtGui/QTableView>
00026
00027 class Ui_logform
00028 {
00029 public:
00030 QGridLayout *gridLayout;
00031 QHBoxLayout *hboxLayout;
00032 QPushButton *clearButton;
00033 QSpacerItem *spacerItem;
00034 QPushButton *SaveLogButton;
00035 QSpacerItem *spacerItem1;
00036 QPushButton *pushButton;
00037 QHBoxLayout *hboxLayout1;
00038 QCheckBox *checkShare;
00039 QSpacerItem *spacerItem2;
00040 QCheckBox *checkFile;
00041 QSpacerItem *spacerItem3;
00042 QLabel *textLabel1;
00043 QLineEdit *filterEdit;
00044 QTableView *tableView;
00045
00046 void setupUi(QDialog *logform)
00047 {
00048 if (logform->objectName().isEmpty())
00049 logform->setObjectName(QString::fromUtf8("logform"));
00050 logform->resize(863, 699);
00051 gridLayout = new QGridLayout(logform);
00052 #ifndef Q_OS_MAC
00053 gridLayout->setSpacing(6);
00054 #endif
00055 #ifndef Q_OS_MAC
00056 gridLayout->setMargin(9);
00057 #endif
00058 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00059 hboxLayout = new QHBoxLayout();
00060 #ifndef Q_OS_MAC
00061 hboxLayout->setSpacing(6);
00062 #endif
00063 #ifndef Q_OS_MAC
00064 hboxLayout->setMargin(0);
00065 #endif
00066 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
00067 clearButton = new QPushButton(logform);
00068 clearButton->setObjectName(QString::fromUtf8("clearButton"));
00069 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(0));
00070 sizePolicy.setHorizontalStretch(0);
00071 sizePolicy.setVerticalStretch(0);
00072 sizePolicy.setHeightForWidth(clearButton->sizePolicy().hasHeightForWidth());
00073 clearButton->setSizePolicy(sizePolicy);
00074 clearButton->setIcon(QIcon(QString::fromUtf8(":/icons/clear.png")));
00075 clearButton->setAutoDefault(false);
00076
00077 hboxLayout->addWidget(clearButton);
00078
00079 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
00080
00081 hboxLayout->addItem(spacerItem);
00082
00083 SaveLogButton = new QPushButton(logform);
00084 SaveLogButton->setObjectName(QString::fromUtf8("SaveLogButton"));
00085 SaveLogButton->setIcon(QIcon(QString::fromUtf8(":/icons/filesaveas.png")));
00086 SaveLogButton->setAutoDefault(false);
00087
00088 hboxLayout->addWidget(SaveLogButton);
00089
00090 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
00091
00092 hboxLayout->addItem(spacerItem1);
00093
00094 pushButton = new QPushButton(logform);
00095 pushButton->setObjectName(QString::fromUtf8("pushButton"));
00096 sizePolicy.setHeightForWidth(pushButton->sizePolicy().hasHeightForWidth());
00097 pushButton->setSizePolicy(sizePolicy);
00098 pushButton->setAutoDefault(false);
00099
00100 hboxLayout->addWidget(pushButton);
00101
00102
00103 gridLayout->addLayout(hboxLayout, 3, 0, 1, 1);
00104
00105 hboxLayout1 = new QHBoxLayout();
00106 #ifndef Q_OS_MAC
00107 hboxLayout1->setSpacing(6);
00108 #endif
00109 hboxLayout1->setMargin(0);
00110 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
00111 checkShare = new QCheckBox(logform);
00112 checkShare->setObjectName(QString::fromUtf8("checkShare"));
00113 checkShare->setIcon(QIcon(QString::fromUtf8(":/icons/folder_open.png")));
00114 checkShare->setChecked(true);
00115
00116 hboxLayout1->addWidget(checkShare);
00117
00118 spacerItem2 = new QSpacerItem(21, 20, QSizePolicy::Minimum, QSizePolicy::Minimum);
00119
00120 hboxLayout1->addItem(spacerItem2);
00121
00122 checkFile = new QCheckBox(logform);
00123 checkFile->setObjectName(QString::fromUtf8("checkFile"));
00124 checkFile->setIcon(QIcon(QString::fromUtf8(":/icons/document.png")));
00125 checkFile->setChecked(true);
00126
00127 hboxLayout1->addWidget(checkFile);
00128
00129 spacerItem3 = new QSpacerItem(20, 25, QSizePolicy::Fixed, QSizePolicy::Minimum);
00130
00131 hboxLayout1->addItem(spacerItem3);
00132
00133 textLabel1 = new QLabel(logform);
00134 textLabel1->setObjectName(QString::fromUtf8("textLabel1"));
00135 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(5));
00136 sizePolicy1.setHorizontalStretch(0);
00137 sizePolicy1.setVerticalStretch(0);
00138 sizePolicy1.setHeightForWidth(textLabel1->sizePolicy().hasHeightForWidth());
00139 textLabel1->setSizePolicy(sizePolicy1);
00140 textLabel1->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter);
00141 textLabel1->setWordWrap(false);
00142
00143 hboxLayout1->addWidget(textLabel1);
00144
00145 filterEdit = new QLineEdit(logform);
00146 filterEdit->setObjectName(QString::fromUtf8("filterEdit"));
00147
00148 hboxLayout1->addWidget(filterEdit);
00149
00150
00151 gridLayout->addLayout(hboxLayout1, 0, 0, 1, 1);
00152
00153 tableView = new QTableView(logform);
00154 tableView->setObjectName(QString::fromUtf8("tableView"));
00155 tableView->setSelectionMode(QAbstractItemView::SingleSelection);
00156 tableView->setSelectionBehavior(QAbstractItemView::SelectRows);
00157
00158 gridLayout->addWidget(tableView, 1, 0, 1, 1);
00159
00160
00161 retranslateUi(logform);
00162 QObject::connect(pushButton, SIGNAL(clicked()), logform, SLOT(hide()));
00163
00164 QMetaObject::connectSlotsByName(logform);
00165 }
00166
00167 void retranslateUi(QDialog *logform)
00168 {
00169 logform->setWindowTitle(QApplication::translate("logform", "View Activities", 0, QApplication::UnicodeUTF8));
00170 clearButton->setText(QApplication::translate("logform", "Clear", 0, QApplication::UnicodeUTF8));
00171 SaveLogButton->setText(QApplication::translate("logform", "Save log", 0, QApplication::UnicodeUTF8));
00172 pushButton->setText(QApplication::translate("logform", "Close", 0, QApplication::UnicodeUTF8));
00173 checkShare->setToolTip(QApplication::translate("logform", "View/hide shares", 0, QApplication::UnicodeUTF8));
00174 checkShare->setText(QString());
00175 checkFile->setToolTip(QApplication::translate("logform", "View/hide files", 0, QApplication::UnicodeUTF8));
00176 checkFile->setText(QString());
00177 textLabel1->setText(QApplication::translate("logform", "Filter:", 0, QApplication::UnicodeUTF8));
00178 Q_UNUSED(logform);
00179 }
00180
00181 };
00182
00183 namespace Ui {
00184 class logform: public Ui_logform {};
00185 }
00186
00187 #endif // UI_LOG_H