Eneboo - Documentación para desarrolladores
src/qt/src/widgets/qhbox.h
Ir a la documentación de este archivo.
00001 /****************************************************************************
00002 ** $Id: qt/qhbox.h   3.3.8   edited Jan 11 14:38 $
00003 **
00004 ** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
00005 **
00006 ** This file is part of the widgets module of the Qt GUI Toolkit.
00007 **
00008 ** This file may be distributed under the terms of the Q Public License
00009 ** as defined by Trolltech ASA of Norway and appearing in the file
00010 ** LICENSE.QPL included in the packaging of this file.
00011 **
00012 ** This file may be distributed and/or modified under the terms of the
00013 ** GNU General Public License version 2 as published by the Free Software
00014 ** Foundation and appearing in the file LICENSE.GPL included in the
00015 ** packaging of this file.
00016 **
00017 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
00018 ** licenses may use this file in accordance with the Qt Commercial License
00019 ** Agreement provided with the Software.
00020 **
00021 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00022 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00023 **
00024 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
00025 **   information about Qt Commercial License Agreements.
00026 ** See http://www.trolltech.com/qpl/ for QPL licensing information.
00027 ** See http://www.trolltech.com/gpl/ for GPL licensing information.
00028 **
00029 ** Contact info@trolltech.com if any conditions of this licensing are
00030 ** not clear to you.
00031 **
00032 **********************************************************************/
00033 
00034 
00035 #ifndef QHBOX_H
00036 #define QHBOX_H
00037 
00038 #ifndef QT_H
00039 #include "qwidget.h"
00040 #endif // QT_H
00041 
00042 #ifndef QT_NO_HBOX
00043 
00044 #include "qframe.h"
00045 
00046 class QBoxLayout;
00047 
00048 class Q_EXPORT QHBox : public QFrame
00049 {
00050     Q_OBJECT
00051 public:
00052     QHBox( QWidget* parent=0, const char* name=0, WFlags f=0 );
00053 
00054     void setSpacing( int );
00055     bool setStretchFactor( QWidget*, int stretch );
00056     QSize sizeHint() const;
00057 
00058 protected:
00059     QHBox( bool horizontal, QWidget* parent, const char* name, WFlags f = 0 );
00060     void frameChanged();
00061 
00062 private:
00063     QBoxLayout *lay;
00064 
00065 #if defined(Q_DISABLE_COPY)
00066     QHBox( const QHBox & );
00067     QHBox &operator=( const QHBox & );
00068 #endif
00069 };
00070 
00071 #endif // QT_NO_HBOX
00072 
00073 #endif // QHBOX_H
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'