Документ взят из кэша поисковой машины. Адрес оригинального документа : http://rtm-cs.sinp.msu.ru/manual/qt/qiconset-h.html
Дата изменения: Sun Jul 12 02:58:57 1998
Дата индексирования: Mon Oct 1 20:29:15 2012
Кодировка:
Qt Toolkit - qiconset.h include file Qt logo

qiconset.h


This is the verbatim text of the qiconset.h include file. It is is provided only for illustration; the copyright remains with Troll Tech.
/****************************************************************************
** $Id: qiconset.h,v 2.4 1998/07/03 00:09:34 hanord Exp $
**
** Definition of QIconSet class
**
** Created : 980318
**
** 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 QICONSET_H
#define QICONSET_H

#include "qpixmap.h"


struct QIconSetPrivate;


class QIconSet
{
public:
    enum Size { Automatic, Small, Large };

    enum Mode { Normal, Disabled, Active };

    QIconSet( const QPixmap &, Size = Automatic );
    QIconSet( const QIconSet & );
    virtual ~QIconSet();

    void reset( const QPixmap &, Size );

    void setPixmap( const QPixmap &, Size, Mode = Normal );
    void setPixmap( const char *, Size, Mode = Normal );
    QPixmap pixmap( Size, Mode ) const;
    QPixmap pixmap() const;
    bool isGenerated( Size, Mode ) const;

    QIconSet &operator=( const QIconSet & );

private:
    QIconSetPrivate * d;
};


#endif


Copyright © 1998 Troll TechTrademarks
Qt version 1.40