Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenFlipper-Free
Plugin-PropertyVis
Commits
5e211e3e
Commit
5e211e3e
authored
Feb 07, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed last commit
parent
783aa1ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
Models/PropertyModel.hh
Models/PropertyModel.hh
+3
-3
Models/PropertyNameListModel.hh
Models/PropertyNameListModel.hh
+1
-1
No files found.
Models/PropertyModel.hh
View file @
5e211e3e
...
...
@@ -54,11 +54,11 @@ class PropertyModel: public QAbstractListModel
Q_OBJECT
public:
virtual
void
pickModeChanged
(
const
std
::
string
&
_mode
)
{}
virtual
void
pickModeChanged
(
const
std
::
string
&
_mode
)
{}
virtual
void
mouseEvent
(
QMouseEvent
*
_event
)
{}
explicit
PropertyModel
(
QObject
*
parent
=
0
)
:
QAbstractListModel
(
parent
)
{}
virtual
~
PropertyModel
()
{}
explicit
PropertyModel
(
QObject
*
parent
=
0
)
:
QAbstractListModel
(
parent
)
{}
virtual
~
PropertyModel
()
{}
virtual
int
rowCount
(
const
QModelIndex
&
parent
=
QModelIndex
())
const
=
0
;
virtual
QVariant
data
(
const
QModelIndex
&
index
,
int
role
=
Qt
::
DisplayRole
)
const
=
0
;
...
...
Models/PropertyNameListModel.hh
View file @
5e211e3e
...
...
@@ -66,7 +66,7 @@ class PropertyNameListModel: public QAbstractListModel {
class
TypeInfoWrapper
{
public:
TypeInfoWrapper
(
const
std
::
type_info
&
ti
,
const
char
*
friendlyName
)
:
ti
(
&
ti
),
friendlyName
(
friendlyName
)
{}
explicit
TypeInfoWrapper
(
const
std
::
type_info
&
ti
)
:
ti
(
&
ti
),
friendlyName
(
""
)
{}
TypeInfoWrapper
(
const
std
::
type_info
&
ti
)
:
ti
(
&
ti
),
friendlyName
(
""
)
{}
operator
const
std
::
type_info
*
()
const
{
return
ti
;
}
operator
const
std
::
type_info
&
()
const
{
return
*
ti
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment