Files
GUI/src/dialogs/GetWorkListDialog.h
2022-09-29 17:36:55 +08:00

33 lines
710 B
C++

#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