Feat: Add border in pacs ConfigurationDialog.

This commit is contained in:
sunwen
2025-07-14 13:42:06 +08:00
parent 3a9aab21d2
commit 620565d973
3 changed files with 10 additions and 5 deletions

View File

@@ -279,4 +279,8 @@ QProgressBar::chunk {
x2: 1, y2: 0, x2: 1, y2: 0,
stop: 0 #ffffff, stop: 0 #ffffff,
stop: 1 #666666 ); stop: 1 #666666 );
} }
ConfigurationDialog#PacsConfigurationDialog{
border:1px solid #5a5a5a;
}

View File

@@ -760,7 +760,7 @@ void ImportWidget::configure()
{ {
if (m_pSettingDialog == nullptr) if (m_pSettingDialog == nullptr)
{ {
m_pSettingDialog = new ConfigurationDialog(); m_pSettingDialog = new ConfigurationDialog(this);
connect(m_pSettingDialog, SIGNAL(updatePacsInfo()), this, SLOT(onPacsInfoUpdated())); connect(m_pSettingDialog, SIGNAL(updatePacsInfo()), this, SLOT(onPacsInfoUpdated()));
} }
m_pSettingDialog->exec(); m_pSettingDialog->exec();

View File

@@ -65,9 +65,10 @@ ConfigurationDialog::~ConfigurationDialog()
void ConfigurationDialog::initUi() void ConfigurationDialog::initUi()
{ {
this->setWindowFlags(Qt::FramelessWindowHint); this->setWindowFlags( windowFlags() | Qt::FramelessWindowHint);
this->resize(580, 380); this->resize(580, 380);
this->setMinimumSize(QSize(580, 380)); this->setMinimumSize(QSize(580, 380));
this->setObjectName("PacsConfigurationDialog");
m_pMainLayout = new QVBoxLayout(this); m_pMainLayout = new QVBoxLayout(this);
m_pTitleBar = new ConfigurationTitleBar(this); m_pTitleBar = new ConfigurationTitleBar(this);