12345678910111213141516171819202122232425262728293031323334 |
- #ifndef GREYCLUSTERINGCONFIGWIDGET_H
- #define GREYCLUSTERINGCONFIGWIDGET_H
- #include <QStandardItemModel>
- #include <QWidget>
- namespace Ui {
- class GreyClusteringConfigWidget;
- }
- class GreyClusteringConfigWidget : public QWidget
- {
- Q_OBJECT
- public:
- explicit GreyClusteringConfigWidget(int grayNumber, QWidget *parent = nullptr);
- ~GreyClusteringConfigWidget();
- private:
- void initFormLayout();
- void refreshTableView();
- private slots:
- void onConfirmClick();
- private:
- Ui::GreyClusteringConfigWidget *ui;
- int m_grayNumber;
- QStringList m_grayNames;
- QStandardItemModel *m_model;
- };
- #endif // GREYCLUSTERINGCONFIGWIDGET_H
|