git-svn-id: svn://db.shs.com.ru/libs@1 a8b55f48-bf90-11e4-a774-851b48703e85
51 lines
1.1 KiB
C++
51 lines
1.1 KiB
C++
#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
|