Qt logo

qcdestyle.h


This is the verbatim text of the qcdestyle.h include file. It is provided only for illustration; the copyright remains with Troll Tech.
/****************************************************************************
** $Id: qcdestyle.h,v 1.1.2.1 1999/07/08 13:35:30 paul Exp $
**
** Definition of the CDE-like style class
**
** Created : 990513
**
** Copyright (C) 1999 by Troll Tech AS.  All rights reserved.
**
** This file is part of the Qt GUI Toolkit.
**
** This file may be distributed under the terms of the Q Public License
** as defined by Troll Tech AS of Norway and appearing in the file
** LICENSE.QPL included in the packaging of this file.
**
** Licensees holding valid Qt Professional Edition licenses may use this
** file in accordance with the Qt Professional Edition License Agreement
** provided with the Qt Professional Edition.
**
** See http://www.troll.no/pricing.html or email sales@troll.no for
** information about the Professional Edition licensing, or see
** http://www.troll.no/qpl/ for QPL licensing information.
**
*****************************************************************************/


#ifndef QCDESTYLE_H
#define QCDESTYLE_H

#include "qmotifstyle.h"

class Q_EXPORT QCDEStyle : public QMotifStyle
{
    Q_OBJECT
public:
    QCDEStyle( bool useHighlightCols = FALSE );

    int defaultFrameWidth() const;

    void drawArrow( QPainter *p, ArrowType type, bool down,
                    int x, int y, int w, int h,
                    const QColorGroup &g, bool enabled, const QBrush *fill = 0 );

    void drawIndicator( QPainter* p, int x, int y, int w, int h,  const QColorGroup &g,
                       int state, bool down = FALSE, bool enabled = TRUE );

    void drawExclusiveIndicator( QPainter* p,  int x, int y, int w, int h, const QColorGroup &g,
                                 bool on, bool down = FALSE, bool enabled = TRUE );
};

#endif


Copyright © 1999 Troll TechTrademarks
Qt version 2.0.2