Seamly2D
Code documentation
piece_tablewidgetitem.h
Go to the documentation of this file.
1
/***************************************************************************
2
** @file piece_tablewidgetitem.c
3
** @author Douglas S Caskey
4
** @date Jan 7, 2023
5
**
6
** @copyright
7
** Copyright (C) 2017 - 2023 Seamly, LLC
8
** https://github.com/fashionfreedom/seamly2d
9
**
10
** @brief
11
** Seamly2D is free software: you can redistribute it and/or modify
12
** it under the terms of the GNU General Public License as published by
13
** the Free Software Foundation, either version 3 of the License, or
14
** (at your option) any later version.
15
**
16
** Seamly2D is distributed in the hope that it will be useful,
17
** but WITHOUT ANY WARRANTY; without even the implied warranty of
18
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
** GNU General Public License for more details.
20
**
21
** You should have received a copy of the GNU General Public License
22
** along with Seamly2D. If not, see <http://www.gnu.org/licenses/>.
23
**************************************************************************/
24
25
#ifndef PIECE_TABLEWIDGETITEM_H
26
#define PIECE_TABLEWIDGETITEM_H
27
28
#include <QTableWidgetItem>
29
30
class
VContainer
;
31
32
class
PieceTableWidgetItem
:
public
QTableWidgetItem
33
{
34
35
public
:
36
explicit
PieceTableWidgetItem
(
VContainer
*data);
37
virtual
bool
operator<
(
const
QTableWidgetItem &other)
const
Q_DECL_OVERRIDE;
38
39
private
:
40
VContainer
*
m_data
;
41
};
42
43
#endif
// PIECE_TABLEWIDGETITEM_H
PieceTableWidgetItem
Definition:
piece_tablewidgetitem.h:33
PieceTableWidgetItem::PieceTableWidgetItem
PieceTableWidgetItem(VContainer *data)
Definition:
piece_tablewidgetitem.cpp:30
PieceTableWidgetItem::operator<
virtual bool operator<(const QTableWidgetItem &other) const Q_DECL_OVERRIDE
Definition:
piece_tablewidgetitem.cpp:36
PieceTableWidgetItem::m_data
VContainer * m_data
Definition:
piece_tablewidgetitem.h:40
VContainer
The VContainer class container of all variables.
Definition:
vcontainer.h:141
src
libs
vwidgets
piece_tablewidgetitem.h
Generated by
1.9.1