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.
42 lines
890 B
C++
42 lines
890 B
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: dialog_ctrl.h
|
|
* Author: shjd
|
|
*
|
|
* Created on 2017年12月26日, 下午4:20
|
|
*/
|
|
|
|
#ifndef _DIALOG_CTRL_H
|
|
#define _DIALOG_CTRL_H
|
|
|
|
#include "ui_dialog_ctrl.h"
|
|
#include "glbtypes.h"
|
|
#include "ai_objid.h"
|
|
|
|
class dialog_ctrl : public QDialog {
|
|
Q_OBJECT
|
|
public:
|
|
AI_VAL_TYPE ctlval_type;
|
|
ST_INT ctlModel_val;
|
|
dialog_ctrl();
|
|
void SetIds(ST_INT srvid, AI_OBJ_ID objid);
|
|
virtual ~dialog_ctrl();
|
|
private:
|
|
Ui::dialog_ctrl widget;
|
|
ST_INT srv_id;
|
|
AI_OBJ_ID obj_id;
|
|
private slots:
|
|
void on_pB_sel_clicked();
|
|
void on_pB_selv_clicked();
|
|
void on_pB_op_clicked();
|
|
void on_pB_revoke_clicked();
|
|
void on_pB_quit_clicked();
|
|
};
|
|
|
|
#endif /* _DIALOG_CTRL_H */
|