调整Linux下属性选择器的UI样式

This commit is contained in:
duanshengchao 2025-04-30 11:36:49 +08:00
parent 35b12d4b0c
commit 627646e31f
2 changed files with 10 additions and 10 deletions

View File

@ -337,7 +337,7 @@ void MainWindow::onSIG_openAttributeSelector()
m_pAttributeSelector = new AttributeSelector(getCurConnection(), this);
m_pAttributeSelector->setMainWindow(this);
m_pAttributeSelector->installEventFilter(this);
connect(m_pAttributeSelector, &AttributeSelector::finished, this, [=]{ MaskManager::instance()->hideMask(m_pGroupSelectionDialog);});
connect(m_pAttributeSelector, &AttributeSelector::finished, this, [=]{ MaskManager::instance()->hideMask(m_pAttributeSelector);});
}
int nX = (this->width() - m_pAttributeSelector->width()) * 0.5;

View File

@ -63,7 +63,7 @@ border-radius:3px;
<widget class="QLineEdit" name="lineEdit_attributeType">
<property name="geometry">
<rect>
<x>80</x>
<x>90</x>
<y>8</y>
<width>113</width>
<height>20</height>
@ -75,7 +75,7 @@ border-radius:3px;
<rect>
<x>20</x>
<y>10</y>
<width>61</width>
<width>71</width>
<height>16</height>
</rect>
</property>
@ -86,7 +86,7 @@ border-radius:3px;
<widget class="QPushButton" name="btnSearch">
<property name="geometry">
<rect>
<x>600</x>
<x>670</x>
<y>5</y>
<width>61</width>
<height>26</height>
@ -121,9 +121,9 @@ background-color:rgb(67,160,249);
<widget class="QLabel" name="label_model">
<property name="geometry">
<rect>
<x>220</x>
<x>240</x>
<y>10</y>
<width>31</width>
<width>41</width>
<height>16</height>
</rect>
</property>
@ -134,7 +134,7 @@ background-color:rgb(67,160,249);
<widget class="QComboBox" name="comboBox_model">
<property name="geometry">
<rect>
<x>255</x>
<x>280</x>
<y>5</y>
<width>113</width>
<height>26</height>
@ -149,7 +149,7 @@ background-color:rgb(67,160,249);
<widget class="QComboBox" name="comboBox_group">
<property name="geometry">
<rect>
<x>450</x>
<x>490</x>
<y>5</y>
<width>113</width>
<height>26</height>
@ -164,9 +164,9 @@ background-color:rgb(67,160,249);
<widget class="QLabel" name="label_group">
<property name="geometry">
<rect>
<x>400</x>
<x>430</x>
<y>10</y>
<width>41</width>
<width>61</width>
<height>16</height>
</rect>
</property>