mirror of
https://github.com/redstrate/CatPaw.git
synced 2025-04-20 03:37:46 +00:00
Fix config window
This commit is contained in:
parent
bf9424116d
commit
9a01b96dc0
3 changed files with 4 additions and 5 deletions
|
@ -18,7 +18,6 @@ using namespace KWin;
|
||||||
|
|
||||||
CatPawEffect::CatPawEffect()
|
CatPawEffect::CatPawEffect()
|
||||||
{
|
{
|
||||||
CatPawConfig::instance(effects->config());
|
|
||||||
effects->hideCursor();
|
effects->hideCursor();
|
||||||
|
|
||||||
reconfigure(ReconfigureAll);
|
reconfigure(ReconfigureAll);
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
||||||
<kcfgfile arg="true"/>
|
<kcfgfile name="kwinrc"/>
|
||||||
<group name="Effect-catpaw">
|
<group name="Effect-catpaw">
|
||||||
<entry name="KittyColor" type="Color">
|
<entry name="KittyColor" type="Color">
|
||||||
<default code="true">QColor(Qt::white)</default>
|
<default code="true">QColor(Qt::white)</default>
|
||||||
|
|
|
@ -16,18 +16,18 @@
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
<widget class="QLabel" name="button1_label">
|
<widget class="QLabel" name="button1_label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>&Kitty Color:</string>
|
<string>Kitty Color:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="alignment">
|
<property name="alignment">
|
||||||
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
<set>Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter</set>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>kcfg_Color1</cstring>
|
<cstring>kcfg_KittyColor</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="KColorCombo" name="kcfg_kittyColor">
|
<widget class="KColorCombo" name="kcfg_KittyColor">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
|
|
Loading…
Add table
Reference in a new issue