#ifndef QCHANNELMANAGER_H #define QCHANNELMANAGER_H #include #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