Files
konsole/src/ColorSchemeEditor.ui
Robert Knight 366f9eaa36 Use a new warning box widget for the 'transparency not supported' warning labels.
The new widget respects the current KDE color scheme.

BUG: 156119

Squashed commit of the following:

commit c7d81f7c65d2be87a4b70f485da6ec1b91be76b9
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Apr 12 11:05:11 2008 +0100

    Use the warning box for the 'transparency not supported' warning display in the color scheme and profile editors.

commit e4149b67588123540144f0496257194058c92fe4
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Apr 12 11:04:25 2008 +0100

    Add WarninBox to build.

commit d82adc02b9aad6cb99660a9b2d48cce2e3c42418
Author: Robert Knight <robertknight@gmail.com>
Date:   Sat Apr 12 11:04:02 2008 +0100

    Add a generic warning box widget which uses colors from the current KDE color scheme.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=796014
2008-04-12 10:07:00 +00:00

110 lines
2.7 KiB
XML

<ui version="4.0" >
<class>ColorSchemeEditor</class>
<widget class="QWidget" name="ColorSchemeEditor" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>364</width>
<height>475</height>
</rect>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<item>
<layout class="QHBoxLayout" >
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>Description:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="descriptionEdit" />
</item>
</layout>
</item>
<item>
<widget class="QTableWidget" name="colorTable" />
</item>
<item>
<layout class="QHBoxLayout" >
<item>
<widget class="QLabel" name="label_2" >
<property name="text" >
<string>Background transparency:</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
<item>
<widget class="QSlider" name="transparencySlider" >
<property name="maximum" >
<number>100</number>
</property>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="transparencyPercentLabel" >
<property name="text" >
<string>Percent</string>
</property>
<property name="alignment" >
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="randomizedBackgroundCheck" >
<property name="text" >
<string>Vary the background color for each tab</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0" >
<size>
<width>364</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="Konsole::WarningBox" native="1" name="transparencyWarningWidget" >
</widget>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>Konsole::WarningBox</class>
<extends>QWidget</extends>
<header>WarningBox.h</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>