Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://rtm-cs.sinp.msu.ru/manual/qt/qdrawutil-h.html
Дата изменения: Sun Jul 12 02:58:57 1998 Дата индексирования: Mon Oct 1 20:35:56 2012 Кодировка: |
/**************************************************************************** ** $Id: qdrawutil.h,v 2.8 1998/07/03 00:09:32 hanord Exp $ ** ** Definition of draw utilities ** ** Created : 950920 ** ** Copyright (C) 1992-1998 Troll Tech AS. All rights reserved. ** ** This file is part of Qt Free Edition, version 1.40. ** ** See the file LICENSE included in the distribution for the usage ** and distribution terms, or http://www.troll.no/free-license.html. ** ** IMPORTANT NOTE: You may NOT copy this file or any part of it into ** your own programs or libraries. ** ** Please see http://www.troll.no/pricing.html for information about ** Qt Professional Edition, which is this same library but with a ** license which allows creation of commercial/proprietary software. ** *****************************************************************************/ #ifndef QDRAWUTIL_H #define QDRAWUTIL_H #ifndef QT_H #include "qpainter.h" #include "qpalette.h" #endif // QT_H // // Standard shade drawing // void qDrawShadeLine( QPainter *p, int x1, int y1, int x2, int y2, const QColorGroup &g, bool sunken = TRUE, int lineWidth = 1, int midLineWidth = 0 ); void qDrawShadeLine( QPainter *p, const QPoint &p1, const QPoint &p2, const QColorGroup &g, bool sunken = TRUE, int lineWidth = 1, int midLineWidth = 0 ); void qDrawShadeRect( QPainter *p, int x, int y, int w, int h, const QColorGroup &, bool sunken=FALSE, int lineWidth = 1, int midLineWidth = 0, const QBrush *fill = 0 ); void qDrawShadeRect( QPainter *p, const QRect &r, const QColorGroup &, bool sunken=FALSE, int lineWidth = 1, int midLineWidth = 0, const QBrush *fill = 0 ); void qDrawShadePanel( QPainter *p, int x, int y, int w, int h, const QColorGroup &, bool sunken=FALSE, int lineWidth = 1, const QBrush *fill = 0 ); void qDrawShadePanel( QPainter *p, const QRect &r, const QColorGroup &, bool sunken=FALSE, int lineWidth = 1, const QBrush *fill = 0 ); void qDrawWinButton( QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 ); void qDrawWinButton( QPainter *p, const QRect &r, const QColorGroup &g, bool sunken = FALSE, const QBrush *fill = 0 ); void qDrawWinPanel( QPainter *p, int x, int y, int w, int h, const QColorGroup &, bool sunken=FALSE, const QBrush *fill = 0 ); void qDrawWinPanel( QPainter *p, const QRect &r, const QColorGroup &, bool sunken=FALSE, const QBrush *fill = 0 ); void qDrawPlainRect( QPainter *p, int x, int y, int w, int h, const QColor &, int lineWidth = 1, const QBrush *fill = 0 ); void qDrawPlainRect( QPainter *p, const QRect &r, const QColor &, int lineWidth = 1, const QBrush *fill = 0 ); // // Other useful drawing functions // QRect qItemRect( QPainter *p, GUIStyle gs, int x, int y, int w, int h, int flags, bool enabled, const QPixmap *pixmap, const char *text, int len=-1 ); void qDrawItem( QPainter *p, GUIStyle gs, int x, int y, int w, int h, int flags, const QColorGroup &g, bool enabled, const QPixmap *pixmap, const char *text, int len=-1 ); enum ArrowType { UpArrow, DownArrow, LeftArrow, RightArrow }; void qDrawArrow( QPainter *p, ArrowType type, GUIStyle style, bool down, int x, int y, int w, int h, const QColorGroup &g, bool enabled ); #endif // QDRAWUTIL_H
Copyright © 1998 Troll Tech | Trademarks | Qt version 1.40
|