#ifndef GUI_GETWORKLISTDIALOG_H #define GUI_GETWORKLISTDIALOG_H #include "dialogs/AsyncActionDialog.h" class ULineEdit; class QLabel; class QSqlTableModel; class GetWorkListDialog : public AsyncActionDialog { Q_OBJECT public: explicit GetWorkListDialog(QSqlTableModel* aSqlModel, QWidget* aParent = nullptr, Qt::WindowFlags aFlags = Qt::WindowFlags()); ~GetWorkListDialog() override; protected: bool updateReferenceData() override; private: void initializeContentWidgets(); virtual void handleFinishedAction(const ActionResult& aResult) override; private: ULineEdit* mAccessionNumber; ULineEdit* mPatientId; QLabel* mErrorLabel; }; #endif //GUI_GETWORKLISTDIALOG_H