valentina/src/libs/vpropertyexplorer/vpropertymodel_p.h

65 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()
2022-08-08 14:25:14 +02:00
: Properties(nullptr),
//: The text that appears in the first column header
2022-08-08 14:25:14 +02:00
HeadlineProperty(QObject::tr("Property")),
//: The text that appears in the second column header
2022-08-08 14:25:14 +02:00
HeadlineValue(QObject::tr("Value"))
{}
2014-09-20 18:05:21 +02:00
private:
2022-08-12 17:50:13 +02:00
// cppcheck-suppress unknownMacro
Q_DISABLE_COPY_MOVE(VPropertyModelPrivate) // NOLINT
};
}
#endif // VPROPERTYMODEL_P_H