Files
Sourcetrail/src/lib_gui/qt/view/QtTooltipView.h
T
Eberhard Graether 95ef8c3eec ui: Added on-screen search feature (issue #79)
* Use menu action "Edit -> Find in View" or Ctrl + D
* UI displayed as search bar at bottom of main window
* Hide search bar with ECS or close button
* Entering a query searches in name of graph nodes and code contents of code view
* Use Enter to iterate through matches, well move match into view in graph and code view
* Checkboxes allow for adding/removing results for certain views
* Create Bookmark shortcut is now CTRL + S

bug id = 79
2017-09-19 14:00:40 +02:00

34 lines
638 B
C++

#ifndef QT_TOOLTIP_VIEW
#define QT_TOOLTIP_VIEW
#include "component/view/TooltipView.h"
#include "qt/utility/QtThreadedFunctor.h"
class QTimer;
class QtTooltip;
class QtTooltipView
: public TooltipView
{
public:
QtTooltipView(ViewLayout* viewLayout);
~QtTooltipView();
// View implementation
virtual void createWidgetWrapper();
virtual void initView();
virtual void refreshView();
virtual void showTooltip(TooltipInfo info, const View* parent);
virtual void hideTooltip(bool force);
virtual bool tooltipVisible() const;
private:
QtThreadedLambdaFunctor m_onQtThread;
QtTooltip* m_widget;
};
#endif // QT_TOOLTIP_VIEW