DAWorkbench
0.0.1
DAWorkbench API
载入中...
搜索中...
未找到
DAGraphicsLayout.h
1
#ifndef DAGRAPHICSLAYOUT_H
2
#define DAGRAPHICSLAYOUT_H
3
#include <QObject>
4
#include <QGraphicsItem>
5
#include "DAGraphicsViewGlobal.h"
6
namespace
DA
7
{
8
14
class
DAGRAPHICSVIEW_API
DAGraphicsLayout
:
public
QObject
15
{
16
Q_OBJECT
17
DA_DECLARE_PRIVATE(
DAGraphicsLayout
)
18
public
:
19
DAGraphicsLayout
(QObject* par =
nullptr
);
20
virtual
~DAGraphicsLayout
();
21
// 图层名字
22
QString getName()
const
;
23
void
setName(
const
QString v);
24
// 图层添加item
25
void
addItem(QGraphicsItem* v);
26
};
27
}
28
29
#endif
// DAGRAPHICSLAYOUT_H
DA::DAGraphicsLayout
场景图层
Definition
DAGraphicsLayout.h:15
DA
序列化类都是带异常的,使用中需要处理异常
Definition
AppMainWindow.cpp:44
src
DAGraphicsView
DAGraphicsLayout.h
制作者
1.9.8