Files
clients/ProxyUI/widget.h
admin c7fa4d20e0 최초
git-svn-id: svn://192.168.0.12/source@48 8346c931-da38-4b9b-9d4c-e48b93cbd075
2015-03-13 08:28:41 +00:00

66 lines
1.2 KiB
C++

#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QHBoxLayout>
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>
#include <QFileDialog>
#include <QProcess>
#include <QTimer>
#include <QDateTime>
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
private:
Ui::Widget *ui;
QHBoxLayout *hlayoutParam[4];
QHBoxLayout *hlayoutDefault;
QVBoxLayout *vlayoutButton;
QVBoxLayout *vlayoutParam;
QGridLayout *glayout;
QLineEdit *p_lineUrl;
QLineEdit *p_lineTime;
QLineEdit *p_lineProxyFile;
QLabel *p_labelUrl;
QLabel *p_labelTime;
QLabel *p_labelProxyFile;
QLabel *p_labelRecentTime;
QLabel *p_labelNextTime;
QLabel *p_labelTimerOnOff;
QLabel *p_labelRecent;
QLabel *p_labelNext;
QLabel *p_labelStatus;
QFileDialog *p_FileDialog;
QPushButton *p_btnStart;
QPushButton *p_btnStop;
QPushButton *p_btnChoose;
QProcess v_pro;
QTimer *p_timer;
public slots:
void btnStart();
void btnStop();
void btnChoose();
void update();
void processFinished();
};
#endif // WIDGET_H