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
ac366209
Commit
ac366209
authored
Apr 16, 2010
by
hjk
Browse files
qmldesigner: compile fix for linux
parent
8bbe26c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
View file @
ac366209
...
...
@@ -358,7 +358,7 @@ class GradientLine : public QWidget {
Q_PROPERTY
(
bool
active
READ
active
WRITE
setActive
)
public:
GradientLine
(
QWidget
*
parent
=
0
)
:
QWidget
(
parent
),
m_gradientName
(
"gradient"
),
m_activeColor
(
Qt
::
black
),
m_dragActive
(
false
),
m_yOffset
(
0
),
m_create
(
false
),
m_active
(
false
)
GradientLine
(
QWidget
*
parent
=
0
)
:
QWidget
(
parent
),
m_activeColor
(
Qt
::
black
),
m_gradientName
(
"gradient"
),
m_dragActive
(
false
),
m_yOffset
(
0
),
m_create
(
false
),
m_active
(
false
)
{
setSizePolicy
(
QSizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Fixed
));
setFocusPolicy
(
Qt
::
StrongFocus
);
...
...
@@ -408,7 +408,7 @@ signals:
void
itemNodeChanged
();
void
gradientNameChanged
();
protected:
bool
GradientLine
::
event
(
QEvent
*
event
);
bool
event
(
QEvent
*
event
);
void
keyPressEvent
(
QKeyEvent
*
event
);
void
paintEvent
(
QPaintEvent
*
event
);
void
mousePressEvent
(
QMouseEvent
*
);
...
...
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