refactor: Modify the display and interaction related to worklist.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <QStack>
|
||||
|
||||
class PatientInformationForm;
|
||||
class PatientInformation;
|
||||
class QToolButton;
|
||||
class CoordinateXYWidget;
|
||||
class CoordinateZWidget;
|
||||
@@ -18,16 +19,12 @@ public:
|
||||
~ScanFormWidget() override = default;
|
||||
void setPreviewing(bool val);
|
||||
|
||||
protected:
|
||||
void keyPressEvent(QKeyEvent *event) override;
|
||||
|
||||
private:
|
||||
PatientInformationForm* mPatInf= nullptr;
|
||||
bool mUnInited = true;
|
||||
int mCurrentFrame = 0;
|
||||
QToolButton* mAccountButton;
|
||||
QToolButton* mShutdownButton;
|
||||
QToolButton* mWorklistButton;
|
||||
QToolButton* mStartScanButton;
|
||||
QToolButton* mDrainageButton;
|
||||
CoordinateXYWidget* mXYLabel;
|
||||
@@ -36,19 +33,16 @@ private:
|
||||
QTimer* mDrainageTimer;
|
||||
|
||||
void initCommandWidget(QHBoxLayout *layout);
|
||||
void initScanControlBar(QHBoxLayout *layout);
|
||||
void initScanContent();
|
||||
void renderLoading();
|
||||
void renderPreviewData(const QObject* sender, const QObject *data);
|
||||
void reloadLanguage();
|
||||
void setScanProtocal(int aProtocal);
|
||||
void setScanProtocal(PatientInformation* aPatient, int aProtocal);
|
||||
QString getAutoLocateMessage();
|
||||
|
||||
private slots:
|
||||
void protocolChanged(int type);
|
||||
void updateDataByAnonymousMode();
|
||||
void prepareStartFullScan();
|
||||
//void updateScanProcessLabel(const QString& aText);
|
||||
|
||||
void initEvents();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user