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 / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b2a3e0d8
Commit
b2a3e0d8
authored
Jul 26, 2010
by
Thomas Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QmlDesigner: toolTip for FileWidget
parent
30a0379f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
...ugins/qmldesigner/components/propertyeditor/colorwidget.h
+1
-1
src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp
...gins/qmldesigner/components/propertyeditor/filewidget.cpp
+6
-2
No files found.
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
View file @
b2a3e0d8
...
...
@@ -236,7 +236,7 @@ class BauhausColorDialog : public QFrame {
Q_OBJECT
Q_PROPERTY
(
QColor
color
READ
color
WRITE
setColor
NOTIFY
colorChanged
)
Q_PROPERTY
(
QColor
color
READ
color
WRITE
setColor
NOTIFY
colorChanged
)
public:
BauhausColorDialog
(
QWidget
*
parent
=
0
);
...
...
src/plugins/qmldesigner/components/propertyeditor/filewidget.cpp
View file @
b2a3e0d8
...
...
@@ -117,10 +117,14 @@ void FileWidget::setFileName(const QUrl &fileName)
return
;
m_fileName
=
fileName
;
if
(
m_lineEdit
->
text
()
!=
fileName
.
toString
())
if
(
m_lineEdit
->
text
()
!=
fileName
.
toString
())
{
m_lineEdit
->
setText
(
fileName
.
toString
());
if
(
m_comboBox
->
currentText
()
!=
fileName
.
toString
())
m_lineEdit
->
setToolTip
(
m_fileName
.
toString
());
}
if
(
m_comboBox
->
currentText
()
!=
fileName
.
toString
())
{
m_comboBox
->
setEditText
(
m_fileName
.
toString
());
m_comboBox
->
setToolTip
(
m_fileName
.
toString
());
}
emit
fileNameChanged
(
fileName
);
}
...
...
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