#ifndef START_H
#define START_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QMainWindow>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QStatusBar>
#include <QtGui/QWidget>
class Ui_MainWindow
{
public:
{
MainWindow
->setObjectName
(QString::fromUtf8("MainWindow"));
centralwidget
= new QWidget(MainWindow
);
centralwidget
->setObjectName
(QString::fromUtf8("centralwidget"));
pushButton
->setObjectName
(QString::fromUtf8("pushButton"));
pushButton
->setGeometry
(QRect(30,
50,
75,
23));
pushButton_2
->setObjectName
(QString::fromUtf8("pushButton_2"));
pushButton_2
->setGeometry
(QRect(150,
50,
75,
23));
MainWindow->setCentralWidget(centralwidget);
menubar
->setObjectName
(QString::fromUtf8("menubar"));
menubar
->setGeometry
(QRect(0,
0,
262,
21));
MainWindow->setMenuBar(menubar);
statusbar
->setObjectName
(QString::fromUtf8("statusbar"));
MainWindow->setStatusBar(statusbar);
retranslateUi(MainWindow);
size = size.expandedTo(MainWindow->minimumSizeHint());
MainWindow->resize(size);
} // setupUi
{
Q_UNUSED(MainWindow);
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
#endif // START_H
#ifndef START_H
#define START_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QMainWindow>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QStatusBar>
#include <QtGui/QWidget>
class Ui_MainWindow
{
public:
QWidget *centralwidget;
QPushButton *pushButton;
QPushButton *pushButton_2;
QMenuBar *menubar;
QStatusBar *statusbar;
void setupUi(QMainWindow *MainWindow)
{
MainWindow->setObjectName(QString::fromUtf8("MainWindow"));
centralwidget = new QWidget(MainWindow);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
pushButton = new QPushButton(centralwidget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(30, 50, 75, 23));
pushButton_2 = new QPushButton(centralwidget);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
pushButton_2->setGeometry(QRect(150, 50, 75, 23));
MainWindow->setCentralWidget(centralwidget);
menubar = new QMenuBar(MainWindow);
menubar->setObjectName(QString::fromUtf8("menubar"));
menubar->setGeometry(QRect(0, 0, 262, 21));
MainWindow->setMenuBar(menubar);
statusbar = new QStatusBar(MainWindow);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
MainWindow->setStatusBar(statusbar);
retranslateUi(MainWindow);
QSize size(262, 154);
size = size.expandedTo(MainWindow->minimumSizeHint());
MainWindow->resize(size);
QMetaObject::connectSlotsByName(MainWindow);
} // setupUi
void retranslateUi(QMainWindow *MainWindow)
{
MainWindow->setWindowTitle(QApplication::translate("MainWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("MainWindow", "COMPRESS", 0, QApplication::UnicodeUTF8));
pushButton_2->setText(QApplication::translate("MainWindow", "DECOMPRESS", 0, QApplication::UnicodeUTF8));
Q_UNUSED(MainWindow);
} // retranslateUi
};
namespace Ui {
class MainWindow: public Ui_MainWindow {};
} // namespace Ui
#endif // START_H
To copy to clipboard, switch view to plain text mode
#ifndef COMPRESSION_H
#define COMPRESSION_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QSpinBox>
#include <QtGui/QStatusBar>
#include <QtGui/QWidget>
class Ui_CompWindow
{
public:
{
CompWindow
->setObjectName
(QString::fromUtf8("CompWindow"));
action_Exit
= new QAction(CompWindow
);
action_Exit
->setObjectName
(QString::fromUtf8("action_Exit"));
action_Compress
= new QAction(CompWindow
);
action_Compress
->setObjectName
(QString::fromUtf8("action_Compress"));
action_Decompress
= new QAction(CompWindow
);
action_Decompress
->setObjectName
(QString::fromUtf8("action_Decompress"));
centralwidget
= new QWidget(CompWindow
);
centralwidget
->setObjectName
(QString::fromUtf8("centralwidget"));
lineEdit
->setObjectName
(QString::fromUtf8("lineEdit"));
lineEdit
->setGeometry
(QRect(140,
70,
261,
20));
lineEdit_2
->setObjectName
(QString::fromUtf8("lineEdit_2"));
lineEdit_2
->setGeometry
(QRect(140,
100,
261,
20));
lineEdit_3
->setObjectName
(QString::fromUtf8("lineEdit_3"));
lineEdit_3
->setGeometry
(QRect(140,
130,
261,
20));
lineEdit_4
->setObjectName
(QString::fromUtf8("lineEdit_4"));
lineEdit_4
->setGeometry
(QRect(140,
160,
261,
20));
lineEdit_5
->setObjectName
(QString::fromUtf8("lineEdit_5"));
lineEdit_5
->setGeometry
(QRect(140,
190,
261,
20));
label_2
= new QLabel(centralwidget
);
label_2
->setObjectName
(QString::fromUtf8("label_2"));
label_2
->setGeometry
(QRect(90,
70,
41,
16));
label_3
= new QLabel(centralwidget
);
label_3
->setObjectName
(QString::fromUtf8("label_3"));
label_3
->setGeometry
(QRect(90,
100,
46,
14));
label_4
= new QLabel(centralwidget
);
label_4
->setObjectName
(QString::fromUtf8("label_4"));
label_4
->setGeometry
(QRect(90,
130,
46,
14));
label_5
= new QLabel(centralwidget
);
label_5
->setObjectName
(QString::fromUtf8("label_5"));
label_5
->setGeometry
(QRect(90,
160,
46,
14));
label_6
= new QLabel(centralwidget
);
label_6
->setObjectName
(QString::fromUtf8("label_6"));
label_6
->setGeometry
(QRect(90,
190,
46,
14));
pushButton
->setObjectName
(QString::fromUtf8("pushButton"));
pushButton
->setGeometry
(QRect(120,
250,
75,
23));
pushButton_2
->setObjectName
(QString::fromUtf8("pushButton_2"));
pushButton_2
->setGeometry
(QRect(230,
250,
75,
23));
spinBox
->setObjectName
(QString::fromUtf8("spinBox"));
spinBox
->setGeometry
(QRect(140,
20,
44,
22));
spinBox->setMaximum(9);
spinBox->setValue(3);
label
= new QLabel(centralwidget
);
label
->setObjectName
(QString::fromUtf8("label"));
label
->setGeometry
(QRect(30,
20,
111,
31));
CompWindow->setCentralWidget(centralwidget);
menubar
->setObjectName
(QString::fromUtf8("menubar"));
menubar
->setGeometry
(QRect(0,
0,
438,
21));
menu_Menu
= new QMenu(menubar
);
menu_Menu
->setObjectName
(QString::fromUtf8("menu_Menu"));
menu_About
= new QMenu(menubar
);
menu_About
->setObjectName
(QString::fromUtf8("menu_About"));
menu_File
= new QMenu(menubar
);
menu_File
->setObjectName
(QString::fromUtf8("menu_File"));
CompWindow->setMenuBar(menubar);
statusbar
->setObjectName
(QString::fromUtf8("statusbar"));
CompWindow->setStatusBar(statusbar);
menubar->addAction(menu_File->menuAction());
menubar->addAction(menu_Menu->menuAction());
menubar->addAction(menu_About->menuAction());
menu_Menu->addAction(action_Compress);
menu_Menu->addAction(action_Decompress);
menu_File->addAction(action_Exit);
retranslateUi(CompWindow);
size = size.expandedTo(CompWindow->minimumSizeHint());
CompWindow->resize(size);
} // setupUi
{
} // retranslateUi
};
namespace Ui {
class CompWindow: public Ui_CompWindow {};
} // namespace Ui
#endif // COMPRESSION_H
#ifndef COMPRESSION_H
#define COMPRESSION_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QMainWindow>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QPushButton>
#include <QtGui/QSpinBox>
#include <QtGui/QStatusBar>
#include <QtGui/QWidget>
class Ui_CompWindow
{
public:
QAction *action_Exit;
QAction *action_Compress;
QAction *action_Decompress;
QWidget *centralwidget;
QLineEdit *lineEdit;
QLineEdit *lineEdit_2;
QLineEdit *lineEdit_3;
QLineEdit *lineEdit_4;
QLineEdit *lineEdit_5;
QLabel *label_2;
QLabel *label_3;
QLabel *label_4;
QLabel *label_5;
QLabel *label_6;
QPushButton *pushButton;
QPushButton *pushButton_2;
QSpinBox *spinBox;
QLabel *label;
QMenuBar *menubar;
QMenu *menu_Menu;
QMenu *menu_About;
QMenu *menu_File;
QStatusBar *statusbar;
void setupUi(QMainWindow *CompWindow)
{
CompWindow->setObjectName(QString::fromUtf8("CompWindow"));
action_Exit = new QAction(CompWindow);
action_Exit->setObjectName(QString::fromUtf8("action_Exit"));
action_Compress = new QAction(CompWindow);
action_Compress->setObjectName(QString::fromUtf8("action_Compress"));
action_Decompress = new QAction(CompWindow);
action_Decompress->setObjectName(QString::fromUtf8("action_Decompress"));
centralwidget = new QWidget(CompWindow);
centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
lineEdit = new QLineEdit(centralwidget);
lineEdit->setObjectName(QString::fromUtf8("lineEdit"));
lineEdit->setGeometry(QRect(140, 70, 261, 20));
lineEdit_2 = new QLineEdit(centralwidget);
lineEdit_2->setObjectName(QString::fromUtf8("lineEdit_2"));
lineEdit_2->setGeometry(QRect(140, 100, 261, 20));
lineEdit_3 = new QLineEdit(centralwidget);
lineEdit_3->setObjectName(QString::fromUtf8("lineEdit_3"));
lineEdit_3->setGeometry(QRect(140, 130, 261, 20));
lineEdit_4 = new QLineEdit(centralwidget);
lineEdit_4->setObjectName(QString::fromUtf8("lineEdit_4"));
lineEdit_4->setGeometry(QRect(140, 160, 261, 20));
lineEdit_5 = new QLineEdit(centralwidget);
lineEdit_5->setObjectName(QString::fromUtf8("lineEdit_5"));
lineEdit_5->setGeometry(QRect(140, 190, 261, 20));
label_2 = new QLabel(centralwidget);
label_2->setObjectName(QString::fromUtf8("label_2"));
label_2->setGeometry(QRect(90, 70, 41, 16));
label_3 = new QLabel(centralwidget);
label_3->setObjectName(QString::fromUtf8("label_3"));
label_3->setGeometry(QRect(90, 100, 46, 14));
label_4 = new QLabel(centralwidget);
label_4->setObjectName(QString::fromUtf8("label_4"));
label_4->setGeometry(QRect(90, 130, 46, 14));
label_5 = new QLabel(centralwidget);
label_5->setObjectName(QString::fromUtf8("label_5"));
label_5->setGeometry(QRect(90, 160, 46, 14));
label_6 = new QLabel(centralwidget);
label_6->setObjectName(QString::fromUtf8("label_6"));
label_6->setGeometry(QRect(90, 190, 46, 14));
pushButton = new QPushButton(centralwidget);
pushButton->setObjectName(QString::fromUtf8("pushButton"));
pushButton->setGeometry(QRect(120, 250, 75, 23));
pushButton_2 = new QPushButton(centralwidget);
pushButton_2->setObjectName(QString::fromUtf8("pushButton_2"));
pushButton_2->setGeometry(QRect(230, 250, 75, 23));
spinBox = new QSpinBox(centralwidget);
spinBox->setObjectName(QString::fromUtf8("spinBox"));
spinBox->setGeometry(QRect(140, 20, 44, 22));
spinBox->setMaximum(9);
spinBox->setValue(3);
label = new QLabel(centralwidget);
label->setObjectName(QString::fromUtf8("label"));
label->setGeometry(QRect(30, 20, 111, 31));
CompWindow->setCentralWidget(centralwidget);
menubar = new QMenuBar(CompWindow);
menubar->setObjectName(QString::fromUtf8("menubar"));
menubar->setGeometry(QRect(0, 0, 438, 21));
menu_Menu = new QMenu(menubar);
menu_Menu->setObjectName(QString::fromUtf8("menu_Menu"));
menu_About = new QMenu(menubar);
menu_About->setObjectName(QString::fromUtf8("menu_About"));
menu_File = new QMenu(menubar);
menu_File->setObjectName(QString::fromUtf8("menu_File"));
CompWindow->setMenuBar(menubar);
statusbar = new QStatusBar(CompWindow);
statusbar->setObjectName(QString::fromUtf8("statusbar"));
CompWindow->setStatusBar(statusbar);
menubar->addAction(menu_File->menuAction());
menubar->addAction(menu_Menu->menuAction());
menubar->addAction(menu_About->menuAction());
menu_Menu->addAction(action_Compress);
menu_Menu->addAction(action_Decompress);
menu_File->addAction(action_Exit);
retranslateUi(CompWindow);
QSize size(438, 325);
size = size.expandedTo(CompWindow->minimumSizeHint());
CompWindow->resize(size);
QMetaObject::connectSlotsByName(CompWindow);
} // setupUi
void retranslateUi(QMainWindow *CompWindow)
{
CompWindow->setWindowTitle(QApplication::translate("CompWindow", "MainWindow", 0, QApplication::UnicodeUTF8));
action_Exit->setText(QApplication::translate("CompWindow", "&Exit", 0, QApplication::UnicodeUTF8));
action_Compress->setText(QApplication::translate("CompWindow", "&Compress", 0, QApplication::UnicodeUTF8));
action_Decompress->setText(QApplication::translate("CompWindow", "&Decompress", 0, QApplication::UnicodeUTF8));
label_2->setText(QApplication::translate("CompWindow", "File 1", 0, QApplication::UnicodeUTF8));
label_3->setText(QApplication::translate("CompWindow", "File 2", 0, QApplication::UnicodeUTF8));
label_4->setText(QApplication::translate("CompWindow", "File 3", 0, QApplication::UnicodeUTF8));
label_5->setText(QApplication::translate("CompWindow", "File 4", 0, QApplication::UnicodeUTF8));
label_6->setText(QApplication::translate("CompWindow", "File 5", 0, QApplication::UnicodeUTF8));
pushButton->setText(QApplication::translate("CompWindow", "OK", 0, QApplication::UnicodeUTF8));
pushButton_2->setText(QApplication::translate("CompWindow", "EXIT", 0, QApplication::UnicodeUTF8));
label->setText(QApplication::translate("CompWindow", "Compression Level", 0, QApplication::UnicodeUTF8));
menu_Menu->setTitle(QApplication::translate("CompWindow", "&Menu", 0, QApplication::UnicodeUTF8));
menu_About->setTitle(QApplication::translate("CompWindow", "&About", 0, QApplication::UnicodeUTF8));
menu_File->setTitle(QApplication::translate("CompWindow", "&File", 0, QApplication::UnicodeUTF8));
} // retranslateUi
};
namespace Ui {
class CompWindow: public Ui_CompWindow {};
} // namespace Ui
#endif // COMPRESSION_H
To copy to clipboard, switch view to plain text mode
Bookmarks