forked from qt-creator/qt-creator
TextEditor: Add line annotations
Displaying short descriptive text of a TextMark at line end. Currently implemented for ClangTextMark and BookMark. Change-Id: Idc6b579bda0382ad94b2e236b715696396b10460 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -37,10 +37,10 @@ public:
|
||||
QmlProfilerTextMark(QmlProfilerTool *tool, int typeId, const QString &fileName, int lineNumber);
|
||||
void addTypeId(int typeId);
|
||||
|
||||
void paint(QPainter *painter, const QRect &rect) const override;
|
||||
void paintIcon(QPainter *painter, const QRect &rect) const override;
|
||||
void clicked() override;
|
||||
bool isClickable() const override { return true; }
|
||||
bool addToolTipContent(QLayout *target) override;
|
||||
bool addToolTipContent(QLayout *target) const override;
|
||||
|
||||
private:
|
||||
QmlProfilerTool *m_tool;
|
||||
|
||||
Reference in New Issue
Block a user