#ifndef CORRELSEL_H #define CORRELSEL_H #include "ui_CorrelSelBase.h" #include #include class ModItem; /*! panel for selection of two data items to be scatter-plotted * to check the correlation * @authors Joern Grosse-Knetter */ class CorrelSel : public QDialog, public Ui::CorrelSelBase { Q_OBJECT public: CorrelSel( std::vector moditems, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, Qt::WFlags fl = 0); ~CorrelSel(); std::vector m_inlistA; std::vector m_inlistB; std::vector m_plotidA; std::vector m_plotidB; public slots: void DisplayFirst(){DisplayPlotItems(1);}; void DisplaySecond(){DisplayPlotItems(2);}; void CheckForRMS(); private: std::vector m_mod_list; void FillPlotList(QComboBox *currList, ModItem *thisit, std::vector &inlist, std::vector &plotid); void DisplayPlotItems(int whichMod=0); }; #endif // CORRELSEL_H