FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodeeditor/src/StyleCollection.cpp at bt3 · BehaviorTree/nodeeditor · GitHub
BehaviorTree
/
nodeeditor
Public
forked from
l3enQ/nodeeditor
Notifications
You must be signed in to change notification settings
Fork
0
Star
4
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
nodeeditor
/
src
/
StyleCollection.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
43 lines (34 loc) · 916 Bytes
Breadcrumbs
nodeeditor
/
src
/
StyleCollection.cpp
Copy path
File metadata and controls
43 lines (34 loc) · 916 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#
include
"
StyleCollection.hpp
"
using
QtNodes::ConnectionStyle;
using
QtNodes::GraphicsViewStyle;
using
QtNodes::NodeStyle;
using
QtNodes::StyleCollection;
NodeStyle
const
&
StyleCollection::nodeStyle
()
{
return
instance
().
_nodeStyle
;
}
ConnectionStyle
const
&
StyleCollection::connectionStyle
()
{
return
instance
().
_connectionStyle
;
}
GraphicsViewStyle
const
&
StyleCollection::flowViewStyle
()
{
return
instance
().
_flowViewStyle
;
}
void
StyleCollection::setNodeStyle
(NodeStyle nodeStyle)
{
instance
().
_nodeStyle
= nodeStyle;
}
void
StyleCollection::setConnectionStyle
(ConnectionStyle connectionStyle)
{
instance
().
_connectionStyle
= connectionStyle;
}
void
StyleCollection::setGraphicsViewStyle
(GraphicsViewStyle flowViewStyle)
{
instance
().
_flowViewStyle
= flowViewStyle;
}
StyleCollection &
StyleCollection::instance
()
{
static
StyleCollection collection;
return
collection;
}
Back
|
FazBrowse Home
|
New Git URL