Code Search for Developers
 
 
  

FlowLayout.h from osgDesigner at Krugle


Show FlowLayout.h syntax highlighted

#ifndef __FLOWLAYOUT_H__
#define __FLOWLAYOUT_H__ 1

#include <QtGui/QLayout>
#include <QtCore/QRect>
#include <QtGui/QWidgetItem>

namespace osgDesigner
{
    class FlowLayout : public QLayout
    {
            Q_OBJECT
     
        public:
     
            FlowLayout(QWidget *parent, int margin = 0, int spacing = -1);
            FlowLayout(int spacing = -1);
            ~FlowLayout();
    
            void                addItem(QLayoutItem *item);
            Qt::Orientations    expandingDirections() const;
            bool                hasHeightForWidth() const;
            int                 heightForWidth(int) const;
            int                 count() const;
            QLayoutItem*        itemAt(int index) const;
            QSize               minimumSize() const;
            void                setGeometry(const QRect &rect);
            QSize               sizeHint() const;
            QLayoutItem*        takeAt(int index);
    
        private:
     
            int doLayout(const QRect &rect, bool testOnly) const;
    
            QList<QLayoutItem *> itemList;
    };
}

#endif // ** __FLOWLAYOUT_H__ ** //




See more files for this project here

osgDesigner

osgDesigner is a graphical tool used to modify an OpenSceneGraph (OSG) scene using the osgIntrospection framework. OpenSceneGraph developpers will be able to extend osgDesigner at need using (editor | render | osgIntrospection wrapper) plugin system.

Project homepage: http://sourceforge.net/projects/osgdesigner
Programming language(s): C++,Shell Script
License: other

  CConfig.h
  CFileMenu.h
  CMainWindow.h
  CPropertiesModel.h
  CPropertiesView.h
  CPropertiesWidget.h
  CPropertyInfoModel.h
  CSceneGraphEditMenu.h
  CSceneGraphModel.h
  CSceneGraphView.h
  CSceneGraphWidget.h
  CTypeModel.h
  CTypeWidget.h
  CValueMimeData.h
  CValueModel.h
  CValueView.h
  Export.h
  FlagsConstructorDialog.h
  FlowLayout.h
  IEditorWidgetABC.h
  IListModel.h
  ITreeModel.h
  MACRO.h
  PluginManagerDialog.h
  SConfigManager.h
  SWorkSpace.h