Refactory ScanFormWidget.

This commit is contained in:
sunwen
2024-04-29 17:58:17 +08:00
parent db1d589622
commit 7ef3b312e8
13 changed files with 972 additions and 932 deletions

View File

@@ -21,21 +21,16 @@ private:
PatientInformationForm* mPatInf= nullptr;
bool mUnInited = true;
int mCurrentFrame = 0;
QLabel* mLblProtocol;
QToolButton* mBtnLeft;
QToolButton* mBtnRight;
QToolButton* mBtnEScan;
QToolButton* mBtnPreview;
QToolButton* mBtnStop;
QToolButton* mBtnScan;
QToolButton* mBtnDrainage;
QLabel* mViewer;
QLabel* mLblPreview;
QLabel* mLblE;
QLabel* mLblParams;
QLabel* mLblE2;
QToolButton* mAccountButton;
QToolButton* mShutdownButton;
QToolButton* mWorklistButton;
QToolButton* mStartScanButton;
QToolButton* mDrainageButton;
QLabel* mXYLabel;
QLabel* mZLabel;
QLabel* mScanProcessLabel;
QTimer* mDrainageTimer;
void initProtocolUI(QHBoxLayout *layout);
void initCommandWidget(QHBoxLayout *layout);
void initScanControlBar(QHBoxLayout *layout);
void initScanContent();
void renderLoading();
@@ -43,6 +38,7 @@ private:
void reloadLanguage();
private slots:
void protocolChanged(int type);
void updateDataByAnonymousMode();
void initEvents();
};