Code Search for Developers
 
 
  

CPropertiesModel.h from osgDesigner at Krugle


Show CPropertiesModel.h syntax highlighted

#ifndef CPROPERTIESMODEL_H_
#define CPROPERTIESMODEL_H_


#include <osgDesigner/core/CValueModel.h>

namespace osgDesigner
{

    class CPropertiesModel : public CValueModel
    {
        public:
            Q_OBJECT
        
        public:
            typedef CValueModel::Base                                       Base;
            typedef Base::Tree                                              Tree;
            typedef Base::descriptor                                        descriptor;
        
        public:
            CPropertiesModel();
            virtual ~CPropertiesModel();
            
//            virtual Qt::DropActions                     supportedDropActions() const;
//            virtual QStringList                         mimeTypes() const;
//            virtual QMimeData*                          mimeData(const QModelIndexList &indexes) const;
//            virtual bool                                dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent);

            virtual Qt::ItemFlags                       flags(const QModelIndex&) const;
//            virtual QVariant                            data(const QModelIndex& index, int role = Qt::DisplayRole ) const;
//            virtual bool                                setData(const QModelIndex & index, const QVariant& value, int role = Qt::EditRole);
            //virtual QVariant                            headerData( int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
        //  virtual bool                                setHeaderData( int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
 
    };

}

#endif /*CPROPERTIESMODEL_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