Eneboo - Documentación para desarrolladores
src/qt/include/qgrid.h
Ir a la documentación de este archivo.
00001 /****************************************************************************
00002 ** $Id: qt/qgrid.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 #ifndef QGRID_H
00035 #define QGRID_H
00036 
00037 #ifndef QT_H
00038 #include "qframe.h"
00039 #endif // QT_H
00040 
00041 #ifndef QT_NO_GRID
00042 
00043 class QGridLayout;
00044 
00045 class Q_EXPORT QGrid : public QFrame
00046 {
00047     Q_OBJECT
00048 public:
00049     QGrid( int n, QWidget* parent=0, const char* name=0, WFlags f = 0 );
00050     QGrid( int n, Orientation orient, QWidget* parent=0, const char* name=0,
00051            WFlags f = 0 );
00052 
00053     void setSpacing( int );
00054     QSize sizeHint() const;
00055 
00056 #ifndef QT_NO_COMPAT
00057     typedef Orientation Direction;
00058 #endif
00059 
00060 protected:
00061     void frameChanged();
00062 
00063 private:
00064     QGridLayout *lay;
00065 private:        // Disabled copy constructor and operator=
00066 #if defined(Q_DISABLE_COPY)
00067     QGrid( const QGrid & );
00068     QGrid& operator=( const QGrid & );
00069 #endif
00070 };
00071 
00072 #endif // QT_NO_GRID
00073 
00074 #endif // QGRID_H
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'