forked from qt-creator/qt-creator
QmlJsEditor: combine the Quick ToolBar with the toolTip
1000ms after a tooltip is shown we now also show the quick toolbar Reviewed-by: Erik Verbruggen
This commit is contained in:
@@ -279,6 +279,8 @@ private slots:
|
||||
void onRefactorMarkerClicked(const TextEditor::Internal::RefactorMarker &marker);
|
||||
|
||||
void performQuickFix(int index);
|
||||
void onTooltipRequested(TextEditor::ITextEditor* editor, QPoint point, int position);
|
||||
void updateToolTipNow();
|
||||
|
||||
protected:
|
||||
void contextMenuEvent(QContextMenuEvent *e);
|
||||
@@ -317,6 +319,7 @@ private:
|
||||
QTimer *m_updateOutlineTimer;
|
||||
QTimer *m_updateOutlineIndexTimer;
|
||||
QTimer *m_cursorPositionTimer;
|
||||
QTimer *m_toolTipTimer;
|
||||
QComboBox *m_outlineCombo;
|
||||
QmlOutlineModel *m_outlineModel;
|
||||
QModelIndex m_outlineModelIndex;
|
||||
@@ -333,6 +336,7 @@ private:
|
||||
QmlJS::IContextPane *m_contextPane;
|
||||
int m_oldCursorPosition;
|
||||
bool m_updateSelectedElements;
|
||||
int m_toolTipPosition;
|
||||
|
||||
FindReferences *m_findReferences;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user