Files
Sourcetrail/src/lib/component/view/ViewLayout.h
T
Eberhard Graether 4578c109ec ui: added find shortcut to set focus in search view
The shortcut is added to the new Find menubar item and dispatches a MessageFind, which is handled by the
SearchController. QtSearchView assures via the ViewLayout that the view is visible when setting focus on the search box.
2014-07-17 14:38:18 +02:00

23 lines
380 B
C++

#ifndef VIEW_LAYOUT_H
#define VIEW_LAYOUT_H
class View;
class ViewLayout
{
public:
ViewLayout();
virtual ~ViewLayout();
virtual void addView(View* view) = 0;
virtual void removeView(View* view) = 0;
virtual void showView(View* view) = 0;
virtual void hideView(View* view) = 0;
virtual void loadLayout() = 0;
virtual void saveLayout() = 0;
};
#endif // VIEW_LAYOUT_H