#ifndef TWODSEL_H #define TWODSEL_H #include "ui_TwodselBase.h" #include #include #include class ModItem; class TopWin; /*! panel for initialising 1D->2D scan combination * @authors Joern Grosse-Knetter */ class TwodSel : public QDialog, public Ui::TwodSelBase { Q_OBJECT friend class TopWin; public: TwodSel( std::vector allMods, int type=0, QWidget* parent = 0, const char* name = 0, bool modal = FALSE, Qt::WFlags fl = 0 ); ~TwodSel(); int getSelScan(); protected: std::map scan_list; std::map scan_ind; std::vector< std::vector > m_dataList; std::vector< std::vector > m_scanPts; bool m_threshIn; public slots: void checkScantype(); void scanEvenSpacing(bool); void updateScanPts(); void tableScanPts(); }; #endif // TWODSEL_H