Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b08ecda9
Commit
b08ecda9
authored
Mar 11, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.property restrict size of siblingcombobox
parent
6949453c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/siblingcombobox.h
View file @
b08ecda9
...
...
@@ -43,7 +43,7 @@ class SiblingComboBox : public QComboBox
Q_PROPERTY
(
QVariant
selectedItemNode
READ
selectedItemNode
WRITE
setSelectedItemNode
NOTIFY
selectedItemNodeChanged
)
public:
SiblingComboBox
(
QWidget
*
parent
=
0
)
:
QComboBox
(
parent
)
{}
SiblingComboBox
(
QWidget
*
parent
=
0
)
:
QComboBox
(
parent
)
{
setMaximumWidth
(
140
);
}
QVariant
itemNode
()
const
{
return
QVariant
::
fromValue
(
m_itemNode
.
modelNode
());
}
QVariant
selectedItemNode
()
const
{
return
QVariant
::
fromValue
(
m_selectedItemNode
.
modelNode
());
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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