Qt:Документация 4.3.2/qcolorgroup

Материал из Wiki.crossplatform.ru

Перейти к: навигация, поиск
40px Внимание: Актуальная версия перевода документации находится здесь

__NOTOC__

Image:qt-logo.png

Главная · Все классы · Основные классы · Классы по группам · Модули · Функции

Image:trolltech-logo.png

Содержание

[править] QColorGroup Class Reference
[модуль QtGui ]

The QColorGroup class contains color groups for each widget state. Далее...

 #include <QColorGroup>

This class is part of the Qt 3 support library. It is provided to keep old source code working. Мы настоятельно не рекомендуем использовать этот класс в новом коде. See Porting to Qt 4 for more information.

Inherits QPalette.

[править] Открытые функции

  • QColorGroup ()
  • QColorGroup ( const QBrush & foreground, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & background )
  • QColorGroup ( const QColor & foreground, const QColor & background, const QColor & light, const QColor & dark, const QColor & mid, const QColor & text, const QColor & base )
  • QColorGroup ( const QColorGroup & other )
  • QColorGroup ( const QPalette & pal )
  • operator QVariant () const
  • bool operator!= ( const QColorGroup & other ) const
  • bool operator== ( const QColorGroup & other ) const

[править] Подробное описание

The QColorGroup class contains color groups for each widget state.


[править] Описание функций-членов

[править]
QColorGroup::QColorGroup ()

Use QPalette() instead.

[править]
QColorGroup::QColorGroup ( const QBrush & foreground, const QBrush & button, const QBrush & light, const QBrush & dark, const QBrush & mid, const QBrush & text, const QBrush & bright_text, const QBrush & base, const QBrush & background )

Use QPalette(foreground, button, light, dark, mid, text, bright_text, base, background) instead.

[править]
QColorGroup::QColorGroup ( const QColor & foreground, const QColor & background, const QColor & light, const QColor & dark, const QColor & mid, const QColor & text, const QColor & base )

Use QColorGroup(foreground, background, light, dark, mid, text, base) instead.

[править]
QColorGroup::QColorGroup ( const QColorGroup & other )

Use QPalette(other) instead.

[править]
QColorGroup::QColorGroup ( const QPalette & pal )

Use QPalette(pal) instead.

[править]
QColorGroup::operator QVariant () const

Returns the color group as a QVariant

[править]
bool QColorGroup::operator!= ( const QColorGroup & other ) const

Returns true if this color group is not equal to other; otherwise returns false.

[править]
bool QColorGroup::operator== ( const QColorGroup & other ) const

Returns true if this color group is equal to other; otherwise returns false.



Copyright © 2007 Trolltech Trademarks
Qt 4.3.2