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.
35 lines
799 B
C++
35 lines
799 B
C++
#ifndef QCHANNELMANAGER_H
|
|
#define QCHANNELMANAGER_H
|
|
|
|
#include <QDialog>
|
|
#include "ui_qchannelmanager.h"
|
|
|
|
class QChannelManager : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
QChannelManager(QWidget *parent = 0);
|
|
~QChannelManager();
|
|
void setTableView();
|
|
void setChannelInfo(class CChannelInfo* pChannelInfo = NULL);
|
|
Q_SLOT void SlotcellClicked(const QModelIndex & index);
|
|
Q_SLOT void onOkMody();
|
|
void updateShow();
|
|
private:
|
|
Ui::QChannelManager ui;
|
|
class QTableView *channelMgr_tableView;
|
|
class QStandardItemModel *tablemodel;
|
|
class CChannelInfo *m_pChannelInfo;
|
|
|
|
class QLineEdit *lineEdit_name;
|
|
class QLineEdit *lineEdit_About;
|
|
class QSpinBox *spinBox_value;
|
|
class QCheckBox *channelMgr_Default;
|
|
class QPushButton *channelMgr_OKMody;
|
|
|
|
int nChannelFlag;
|
|
};
|
|
|
|
#endif // QCHANNELMANAGER_H
|