File:Disabled Widgets.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Disabled_Widgets.png(581 × 375 pixels, file size: 27 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description Example of disabled widgets in Qt
Date
Source selfmade with Qt Designer (by Trolltech)
Author
This file was made by User:Sven
Translation

If this image contains text, it can be translated easily into your language. If you need help, contact me

Flexible licenses

If you want to use this picture with another license than stated below, contact me

Contact the author

If you need a really fast answer, mail me. If you need only a fast answer, write me here.

Permission
(Reusing this file)

due to the simplicity:

Public domain This work has been released into the public domain by its author, Sven. This applies worldwide.

In some countries this may not be legally possible; if so:
Sven grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.


Sourcecode[edit]

This was clicked together in Qt Designer in five minutes, but this is the sourcecode if you think you need it:

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>dsf</class>
<widget class="QDialog">
    <property name="name">
        <cstring>dsf</cstring>
    </property>
    <property name="geometry">
        <rect>
            <x>0</x>
            <y>0</y>
            <width>554</width>
            <height>468</height>
        </rect>
    </property>
    <property name="caption">
        <string>Deaktivierte Widgets</string>
    </property>
    <hbox>
        <property name="name">
            <cstring>unnamed</cstring>
        </property>
        <widget class="QGroupBox">
            <property name="name">
                <cstring>groupBox3</cstring>
            </property>
            <property name="title">
                <string>Normales Widget</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>pushButton5</cstring>
                    </property>
                    <property name="text">
                        <string>normales Button</string>
                    </property>
                </widget>
                <widget class="QRadioButton">
                    <property name="name">
                        <cstring>radioButton2</cstring>
                    </property>
                    <property name="text">
                        <string>Radiobutton</string>
                    </property>
                </widget>
                <widget class="QCheckBox">
                    <property name="name">
                        <cstring>checkBox2</cstring>
                    </property>
                    <property name="text">
                        <string>Checkbox-Button</string>
                    </property>
                    <property name="checked">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="QLineEdit">
                    <property name="name">
                        <cstring>lineEdit7</cstring>
                    </property>
                    <property name="text">
                        <string>Eingabezeile</string>
                    </property>
                </widget>
                <widget class="QSpinBox">
                    <property name="name">
                        <cstring>spinBox1</cstring>
                    </property>
                    <property name="minValue">
                        <number>2007</number>
                    </property>
                </widget>
                <widget class="QTextEdit">
                    <property name="name">
                        <cstring>textEdit1</cstring>
                    </property>
                    <property name="text">
                        <string>Dieser Text kann bearbeitet werden</string>
                    </property>
                    <property name="wordWrap">
                        <enum>WidgetWidth</enum>
                    </property>
                </widget>
            </vbox>
        </widget>
        <widget class="QGroupBox">
            <property name="name">
                <cstring>groupBox4</cstring>
            </property>
            <property name="title">
                <string>ausgegrautes Widget</string>
            </property>
            <vbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="QPushButton">
                    <property name="name">
                        <cstring>pushButton5_2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>deaktiviertes Button</string>
                    </property>
                </widget>
                <widget class="QRadioButton">
                    <property name="name">
                        <cstring>radioButton2_2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>Radiobutton</string>
                    </property>
                </widget>
                <widget class="QCheckBox">
                    <property name="name">
                        <cstring>checkBox2_2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>Checkbox-Button</string>
                    </property>
                    <property name="checked">
                        <bool>true</bool>
                    </property>
                </widget>
                <widget class="QLineEdit">
                    <property name="name">
                        <cstring>lineEdit7_2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>Eingabezeile</string>
                    </property>
                </widget>
                <widget class="QSpinBox">
                    <property name="name">
                        <cstring>spinBox1_2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="minValue">
                        <number>2007</number>
                    </property>
                </widget>
                <widget class="QTextEdit">
                    <property name="name">
                        <cstring>textEdit1_2</cstring>
                    </property>
                    <property name="enabled">
                        <bool>false</bool>
                    </property>
                    <property name="text">
                        <string>Dieser Text kann nicht weiter bearbeitet werden</string>
                    </property>
                    <property name="wordWrap">
                        <enum>WidgetWidth</enum>
                    </property>
                </widget>
            </vbox>
        </widget>
    </hbox>
</widget>
<layoutdefaults spacing="6" margin="11"/>
</UI>

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current21:26, 19 February 2007Thumbnail for version as of 21:26, 19 February 2007581 × 375 (27 KB)Sven (talk | contribs){{Information |Description=Example of disabled widgets in Qt |Source=selfmade with Qt Designer (by Trolltech) |Date=19.02.2007 |Author=User:Sven |Permission=see below }}

The following page uses this file:

File usage on other wikis

The following other wikis use this file: