You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.1 KiB
C++
50 lines
1.1 KiB
C++
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
/*
|
|
* File: treeMenu.h
|
|
* Author: shjd
|
|
*
|
|
* Created on 2017年12月22日, 下午5:06
|
|
*/
|
|
|
|
#ifndef _TREEMENU_H
|
|
#define _TREEMENU_H
|
|
|
|
#include "ui_treeMenu.h"
|
|
#include <QWidget>
|
|
#include "glbtypes.h"
|
|
#include "ai_objid.h"
|
|
#include <QtCore>
|
|
|
|
class treeMenu : public QDialog{
|
|
Q_OBJECT
|
|
public:
|
|
treeMenu(QWidget *parent = 0);
|
|
virtual ~treeMenu();
|
|
void SetIds(ST_INT srv_id, AI_OBJ_ID obj_id);
|
|
void setconnA(bool conn);
|
|
void setconnB(bool conn);
|
|
void SetControlState(QStringList controllst);
|
|
|
|
private:
|
|
ST_INT srv_id;
|
|
AI_OBJ_ID obj_id;
|
|
Ui::treeMenu widget;
|
|
private slots:
|
|
void on_tBtn_read_clicked();
|
|
void on_tBtn_write_clicked();
|
|
void on_tBtn_directory_clicked();
|
|
void on_tBtn_report_clicked();
|
|
void on_tBtn_log_clicked();
|
|
void on_tBtn_control_clicked();
|
|
void on_tBtn_fixedValue_clicked();
|
|
void on_tBtn_connA_clicked();
|
|
void on_tBtn_connB_clicked();
|
|
};
|
|
|
|
#endif /* _TREEMENU_H */
|