kde-workspace/kcontrol/workspaceoptions/mainpage.ui
Ivailo Monev 574846b9da kcontrol: implement option to disable/enable plasma theme cache and change its size
site note: 100 MB pixmap cache is more than enough

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-02 13:49:36 +03:00

121 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainPage</class>
<widget class="QWidget" name="MainPage">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>415</width>
<height>110</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Workspace Type:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="formFactor">
<item>
<property name="text">
<string comment="Form factor: desktop computer">Desktop</string>
</property>
</item>
<item>
<property name="text">
<string comment="Form factor: netbook computer">Netbook</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="tooltipDelayLabel">
<property name="text">
<string>Show Informational Tips:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="showToolTips">
<property name="text">
<string/>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="cacheThemeLabel">
<property name="text">
<string>Cache Theme:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QCheckBox" name="cacheTheme">
<property name="text">
<string/>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="themeCacheSizeLabel">
<property name="text">
<string>Theme Cache Size:</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="KIntNumInput" name="themeCacheSize">
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>100</number>
</property>
</widget>
</item>
<item row="4" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>214</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KIntNumInput</class>
<extends></extends>
<header>knuminput.h</header>
</customwidget>
</customwidgets>
<connections/>
</ui>