This is the verbatim text of the qgrpbox.h include file. It is is provided only for illustration; the copyright remains with Troll Tech


/**********************************************************************
** $Id: qgrpbox.h,v 2.0 1996/09/24 10:16:18 agulbra Exp $
**
** Definition of QGroupBox widget class
**
** Created : 950203
**
** Copyright (C) 1995-1996 by Troll Tech AS.  All rights reserved.
**
***********************************************************************/

#ifndef QGRPBOX_H
#define QGRPBOX_H

#include "qframe.h"


class QGroupBox : public QFrame
{
    Q_OBJECT
public:
    QGroupBox( QWidget *parent=0, const char *name=0 );
    QGroupBox( const char *title, QWidget *parent=0, const char *name=0 );

    const char *title()         const   { return str; }

    void        setTitle( const char * );

    int         alignment()     const   { return align; }
    void        setAlignment( int );

protected:
    void        paintEvent( QPaintEvent * );

private:
    void        init();
    QString     str;
    int         align;

private:        // Disabled copy constructor and operator=
    QGroupBox( const QGroupBox & ) {}
    QGroupBox &operator=( const QGroupBox & ) { return *this; }
};


#endif // QGRPBOX_H


Generated at 17:29, 1997/04/07 for Qt version 1.2 by the webmaster at Troll Tech