Code Search for Developers
 
 
  

CTypeWidget.h from osgDesigner at Krugle


Show CTypeWidget.h syntax highlighted

#ifndef __CTYPEWIDGET_H__
#define __CTYPEWIDGET_H__ 1

#include <osgIntrospectionToolKit/signalslib.hpp>

#include <osgDesigner/core/FlowLayout.h>

#include <QtGui/QWidget>
#include <QtGui/QToolBox>
#include <QtGui/QGridLayout>
#include <QtGui/QSplitter>
#include <QtGui/QFrame>
#include <QtGui/QVBoxLayout>
#include <QtGui/QPushButton>
#include <QtGui/QListView>
#include <QtGui/QTreeView>

#include <osgIntrospectionToolKit/CommonStdType.h>

namespace osgDesigner
{
    class CTypeModel;
    class CPropertyInfoModel;
            
    class CTypeWidget: public QWidget
    {
        Q_OBJECT
        public:
            CTypeWidget();
            virtual ~CTypeWidget();


        public slots:
            void                                initTypeInfoView(const QModelIndex& index);
            
        protected:
            bool                                eventFilter(QObject *obj, QEvent *event);
        
        protected slots :
        
            void                                reziseColumnRequest();
            
        private:

            void                                initLayoutButton(const osgIntrospectionToolKit::NameList& nl, QLayout* layout);
            QPushButton*                        addTypeButton(const std::string& typeName);
            void                                clearLayout(QLayout* layout);
            void                                initDialog(std::string typeName);
            


            
            QGridLayout*                        _gridLayout;
            QSplitter*                          _splitter;

            QListView*                          _typeListView;


            QToolBox*                           _typeInfoToolBox;

            QFrame*                             _inheritsFrame;
            FlowLayout*                         _inheritsLayout;

            QFrame*                             _inheritedByFrame;
            FlowLayout*                         _inheritedByLayout;

            QTreeView*                          _propertyView;
            
            
            CTypeModel*                         _typeModel;
            CPropertyInfoModel*                 _propertyInfoModel;
            
    };
}
#endif // ** __CTYPEDIALOG_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