Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
b59962eb
Commit
b59962eb
authored
Aug 04, 2010
by
Thomas Hartmann
Browse files
QtQuickToolBar: cleanup
parent
e3f37ad1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/contextpanewidget.cpp
View file @
b59962eb
...
...
@@ -126,17 +126,6 @@ void DragWidget::protectedMoved()
ContextPaneWidget
::
ContextPaneWidget
(
QWidget
*
parent
)
:
DragWidget
(
parent
),
m_currentWidget
(
0
)
{
// setFrameStyle(QFrame::NoFrame);
// setFrameShape(QFrame::StyledPanel);
// setFrameShadow(QFrame::Sunken);
// m_oldPos = QPoint(-1, -1);
// m_pos = QPoint(-1, -1);
// m_dropShadowEffect = new QGraphicsDropShadowEffect;
// m_dropShadowEffect->setBlurRadius(6);
// m_dropShadowEffect->setOffset(2, 2);
// setGraphicsEffect(m_dropShadowEffect);
QGridLayout
*
layout
=
new
QGridLayout
(
this
);
layout
->
setMargin
(
0
);
layout
->
setContentsMargins
(
1
,
1
,
1
,
1
);
...
...
src/plugins/qmldesigner/components/propertyeditor/contextpanewidgetimage.cpp
View file @
b59962eb
...
...
@@ -75,7 +75,7 @@ ContextPaneWidgetImage::ContextPaneWidgetImage(QWidget *parent, bool borderImage
ui
=
new
Ui
::
ContextPaneWidgetImage
;
ui
->
setupUi
(
this
);
ui
->
label
->
setToolTip
(
tr
(
"double click for preview"
));
ui
->
label
->
installEventFilter
(
labelFilter
);
ui
->
label
->
installEventFilter
(
labelFilter
);
m_fileWidget
=
ui
->
fileWidget
;
m_sizeLabel
=
ui
->
sizeLabel
;
...
...
Write
Preview
Supports
Markdown
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