SchemeOptionWidget.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #ifndef SCHEMEOPTIONWIDGET_H
  2. #define SCHEMEOPTIONWIDGET_H
  3. #include <QWidget>
  4. class CreateSchemeWidget;
  5. class RadioButton;
  6. class PushButton;
  7. class QLabel;
  8. class QListWidget;
  9. class QVBoxLayout;
  10. class QHBoxLayout;
  11. class SchemeOptionWidget : public QWidget
  12. {
  13. Q_OBJECT
  14. public:
  15. explicit SchemeOptionWidget(QWidget *parent = nullptr);
  16. signals:
  17. private:
  18. void initialize();
  19. void initLayout();
  20. void connectSignalsAndSlots();
  21. private slots:
  22. void slotAddSchemeClicked();
  23. void slotRemoveSchemeClicked();
  24. private:
  25. QVBoxLayout *m_vBoxLayout = nullptr;
  26. PushButton *m_addButton = nullptr;
  27. PushButton *m_removeButton = nullptr;
  28. QLabel *m_normalLabel = nullptr;
  29. QVBoxLayout *m_normalLayout = nullptr;
  30. RadioButton *m_minButton = nullptr;
  31. RadioButton *m_maxButton = nullptr;
  32. RadioButton *m_zscoreButton = nullptr;
  33. QLabel *m_calcLabel = nullptr;
  34. QVBoxLayout *m_calcLayout = nullptr;
  35. RadioButton *m_pairButton = nullptr;
  36. RadioButton *m_averageButton = nullptr;
  37. QHBoxLayout *m_buttonLayout = nullptr;
  38. PushButton *m_calcButton = nullptr;
  39. PushButton *m_saveButton = nullptr;
  40. QLabel *m_schemeLabel = nullptr;
  41. QListWidget *m_listWidget = nullptr;
  42. CreateSchemeWidget *m_addSchemeWidget = nullptr;
  43. };
  44. #endif // SCHEMEOPTIONWIDGET_H