// // Created by Krad on 2021/10/8. // #ifndef GUI_SCANFORMWIDGET_H #define GUI_SCANFORMWIDGET_H #include "tabformwidget.h" #include class PatientInformationForm; class ScanFormWidget :public TabFormWidget { Q_OBJECT public: explicit ScanFormWidget(QWidget *parent = nullptr); ~ScanFormWidget(); void setPreviewing(bool val); private: PatientInformationForm* pat_inf= nullptr; bool unset = true; bool previewing= false; std::function previewfunc = nullptr; private slots: void protocolChanged(int type); }; #endif //GUI_SCANFORMWIDGET_H