Qt: Change post settings style to sunken
This commit is contained in:
parent
69efa0f46f
commit
98ef639c0a
|
@ -7,7 +7,7 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>721</width>
|
||||
<height>194</height>
|
||||
<height>210</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
|
|
|
@ -56,10 +56,11 @@ void PostProcessingSettingsWidget::onChainSelectedShaderChanged(qint32 index)
|
|||
|
||||
void PostProcessingSettingsWidget::updateShaderConfigPanel(s32 index)
|
||||
{
|
||||
m_ui.scrollArea->setWidget(nullptr);
|
||||
m_ui.scrollArea->setVisible(false);
|
||||
|
||||
if (m_shader_config)
|
||||
{
|
||||
m_ui.scrollArea->setWidget(nullptr);
|
||||
m_ui.scrollArea->setVisible(false);
|
||||
delete m_shader_config;
|
||||
m_shader_config = nullptr;
|
||||
}
|
||||
|
|
|
@ -93,6 +93,12 @@
|
|||
<verstretch>1</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>QFrame::WinPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>QFrame::Sunken</enum>
|
||||
</property>
|
||||
<property name="widgetResizable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
|
@ -101,8 +107,8 @@
|
|||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>681</width>
|
||||
<height>390</height>
|
||||
<width>679</width>
|
||||
<height>438</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
|
|
Loading…
Reference in New Issue