forked from qt-creator/qt-creator
C++ Preprocessor additions widget.
Introducing a Widget with a SnippetEditor and a C++ Highlighter which should provide additional information to the C++ preprocessor for a specific file. Change-Id: I27f9498c7e52d1493d6ea92a02a2c6d26130fe07 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
1a8ef7f312
commit
d411c07643
@@ -60,6 +60,8 @@ class TipContent;
|
||||
class QTCREATOR_UTILS_EXPORT ToolTip : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
protected:
|
||||
ToolTip();
|
||||
|
||||
public:
|
||||
~ToolTip();
|
||||
@@ -73,11 +75,13 @@ public:
|
||||
static void hide();
|
||||
static bool isVisible();
|
||||
|
||||
private slots:
|
||||
protected slots:
|
||||
void hideTipImmediately();
|
||||
|
||||
protected:
|
||||
void showInternal(const QPoint &pos, const TipContent &content, QWidget *w, const QRect &rect);
|
||||
|
||||
private:
|
||||
ToolTip();
|
||||
bool acceptShow(const TipContent &content, const QPoint &pos, QWidget *w, const QRect &rect);
|
||||
bool validateContent(const TipContent &content);
|
||||
void setUp(const QPoint &pos, const TipContent &content, QWidget *w, const QRect &rect);
|
||||
|
||||
Reference in New Issue
Block a user