Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QPhoneStyle Class Reference
[QtBaseModule]

The QPhoneStyle class provides a phone look and feel. More...

    #include <QPhoneStyle>

Inherits QtopiaStyle.

Public Types

Public Functions

Additional Inherited Members


Detailed Description

The QPhoneStyle class provides a phone look and feel.

This style is the default GUI style for Qt Extended Phone Edition. To write a customized style for Qt Extended Phone it is recommended that QPhoneStyle be subclassed. QPhoneStyle provides improved display for widgets in edit and navigation mode. It also applies the global background to Qt Extended widgets.

See also QWindowsStyle.


Member Type Documentation

enum QPhoneStyle::PhoneStyleHint

This enum describes the extra style hints available for QPhoneStyle and derived classes. A style hint is a general look and/or feel hint.

ConstantValueDescription
QPhoneStyle::SH_ExtendedFocusHighlight0x10000000+1A boolean indicating whether the widget with focus should have an extended highlight. The extended highlight will highlight any labels associated with that widget along with the widget itself.
QPhoneStyle::SH_PopupShadows?A boolean indicating whether popups (widgets with flag Qt::Popup) should have a shadow.
QPhoneStyle::SH_HideMenuIcons?A boolean indicating whether menus should hide any icons associated with menu items.
QPhoneStyle::SH_FullWidthMenu?A boolean indicating whether the context menu should extend to the full width of the screen.
QPhoneStyle::SH_ScrollbarLineStepButtons?A boolean indicating whether scrollbars should display scroll arrows at the ends.
QPhoneStyle::SH_FormLayoutWrapPolicyQStyle::SH_FormLayoutWrapPolicyProvides a default for how rows are wrapped in a QFormLayout. This enum value has been deprecated in favor of QStyle::SH_FormLayoutWrapPolicy in Qt/4.4. Returns a QFormLayout::RowWrapPolicy enum.
QPhoneStyle::SH_FormLayoutFieldGrowthPolicyQStyle::SH_FormLayoutFieldGrowthPolicyProvides a default for how fields can grow in a QFormLayout. This enum value has been deprecated in favor of QStyle::SH_FormLayoutFieldGrowthPolicy in Qt/4.4. Returns a QFormLayout::FieldGrowthPolicy enum.
QPhoneStyle::SH_FormLayoutFormAlignmentQStyle::SH_FormLayoutFormAlignmentProvides a default for how a QFormLayout aligns its contents within the available space. This enum value has been deprecated in favor of QStyle::SH_FormLayoutFormAlignment in Qt/4.4. Returns a Qt::Alignment enum.
QPhoneStyle::SH_FormLayoutLabelAlignmentQStyle::SH_FormLayoutLabelAlignmentProvides a default for how a QFormLayout aligns labels within the available space. This enum value has been deprecated in favor of QStyle::SH_FormLayoutLabelAlignment in Qt/4.4. Returns a Qt::Alignment enum.

See also QStyle::StyleHint.


Member Function Documentation

QPhoneStyle::QPhoneStyle ()

Constructs a QPhoneStyle object.

QPhoneStyle::~QPhoneStyle ()   [virtual]

Destroys the QPhoneStyle object.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3