valentina_old/src/libs/vpropertyexplorer/vpropertymodel_p.h

66 lines
1.7 KiB
C
Raw Normal View History

/************************************************************************
**
** @file vpropertymodel_p.h
** @author hedgeware <internal(at)hedgeware.net>
** @date
**
** @brief
** @copyright
** All rights reserved. This program and the accompanying materials
** are made available under the terms of the GNU Lesser General Public License
** (LGPL) version 2.1 which accompanies this distribution, and is available at
** http://www.gnu.org/licenses/lgpl-2.1.html
**
** This library is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** Lesser General Public License for more details.
**
*************************************************************************/
#ifndef VPROPERTYMODEL_P_H
#define VPROPERTYMODEL_P_H
// ONLY INCLUDE THIS IN .CPP FILES
#include <QMap>
#include <QString>
#include <QObject>
2014-09-10 19:57:08 +02:00
namespace VPE
{
class VProperty;
class VPropertySet;
2014-09-10 19:57:08 +02:00
class VPropertyModelPrivate
{
public:
//! The property set holding the properties
VPropertySet* Properties;
//! The header data for the property name column
QString HeadlineProperty;
//! The header data for the value column
QString HeadlineValue;
//! Constructor
VPropertyModelPrivate()
2014-09-20 18:05:21 +02:00
: Properties(nullptr), HeadlineProperty(QString()), HeadlineValue(QString())
{
//: The text that appears in the first column header
HeadlineProperty = QObject::tr("Property");
//: The text that appears in the second column header
HeadlineValue = QObject::tr("Value");
}
2014-09-20 18:05:21 +02:00
private:
Q_DISABLE_COPY(VPropertyModelPrivate)
};
}
#endif // VPROPERTYMODEL_P_H