1
git-svn-id: svn://db.shs.com.ru/libs@1 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
50
piqt_tools/mainwindow.h
Normal file
50
piqt_tools/mainwindow.h
Normal file
@@ -0,0 +1,50 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include "ui_mainwindow.h"
|
||||
#include <QImage>
|
||||
#include <QTime>
|
||||
#include <QDesktopWidget>
|
||||
#include <qmath.h>
|
||||
#include <unistd.h>
|
||||
#include <QDebug>
|
||||
#include "piqt.h"
|
||||
#include "piconnection.h"
|
||||
|
||||
class MainWindow: public QMainWindow, private Ui::MainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MainWindow(QWidget * parent = 0);
|
||||
|
||||
protected:
|
||||
void changeEvent(QEvent * e);
|
||||
void updateTree();
|
||||
void updateProperties(PIObject * o);
|
||||
PIConnection * currentConnection();
|
||||
PIPacketExtractor * currentPacketExt();
|
||||
|
||||
void buildDump();
|
||||
void buildDumpSection(QTreeWidgetItem * pi, PIString & str);
|
||||
|
||||
PIString dump;
|
||||
|
||||
private slots:
|
||||
void on_buttonNewConnection_clicked();
|
||||
void on_buttonAddDevice_clicked();
|
||||
void on_buttonAddPacketExt_clicked();
|
||||
void on_buttonRemove_clicked();
|
||||
void on_buttonAddFromConfig_clicked();
|
||||
void on_buttonToConfig_clicked();
|
||||
void on_buttonAddChannel_clicked();
|
||||
void on_treeConnections_currentItemChanged(QTreeWidgetItem * cur, QTreeWidgetItem * );
|
||||
|
||||
void on_buttonDumpMake_clicked();
|
||||
void on_buttonDumpClipboard_clicked();
|
||||
void on_checkDumpHideService_toggled(bool on);
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
Reference in New Issue
Block a user