21 #ifndef _SCENERY3DDIALOG_P_HPP_
22 #define _SCENERY3DDIALOG_P_HPP_
24 #include "S3DEnum.hpp"
25 #include "Scenery3dMgr.hpp"
27 #include "StelApp.hpp"
28 #include "StelModuleMgr.hpp"
31 #include <QAbstractListModel>
47 int rowCount(
const QModelIndex &parent)
const
54 if(!mgr->getIsGeometryShaderSupported())
61 QVariant data(
const QModelIndex &index,
int role)
const
63 if(role == Qt::DisplayRole || role == Qt::EditRole)
67 case S3DEnum::CM_TEXTURES:
68 return QVariant(QString(
q_(
"6 Textures")));
69 case S3DEnum::CM_CUBEMAP:
70 return QVariant(QString(
q_(
"Cubemap")));
71 case S3DEnum::CM_CUBEMAP_GSACCEL:
72 return QVariant(QString(
q_(
"Geometry shader")));
Main class of the module, inherits from StelModule.