Commit 824bafe3 authored by Scott Petrovic's avatar Scott Petrovic
Browse files

add a label for the currently selected brush at top

parent f71ede93
......@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>1327</width>
<width>1405</width>
<height>512</height>
</rect>
</property>
......@@ -370,6 +370,26 @@
</item>
<item row="0" column="0" colspan="3">
<layout class="QHBoxLayout" name="brushEditorDashboard">
<item>
<widget class="QLabel" name="currentBrushNameLabel">
<property name="text">
<string>Current Brush Name</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="KisHighlightedToolButton" name="showPresetsButton" native="true">
<property name="sizePolicy">
......@@ -430,19 +450,6 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
<item row="1" column="0">
......
......@@ -434,6 +434,7 @@ void KisPaintOpPresetsPopup::resourceSelected(KoResource* resource)
m_d->uiWdgPaintOpPresetSettings.presetWidget->smallPresetChooser->setCurrentResource(resource);
m_d->uiWdgPaintOpPresetSettings.txtPreset->setText(resource->name());
slotWatchPresetNameLineEdit();
m_d->uiWdgPaintOpPresetSettings.currentBrushNameLabel->setText(resource->name());
}
void KisPaintOpPresetsPopup::setPaintOpList(const QList< KisPaintOpFactory* >& list)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment