Added CompositView, which implements both View and ViewLayout, for combining Views to one Widget. The layout can be set to either horizontal or vertical. SearchView, RefreshView and UndoRedoView are combined to one DockWidget by the ComponentManager now. fortune cookie message = You'll get more secure and confident with your relationship with your co-workers.
25 lines
351 B
C++
25 lines
351 B
C++
#include "component/view/GraphView.h"
|
|
|
|
GraphView::Metrics::Metrics()
|
|
: width(0)
|
|
, height(0)
|
|
, typeNameCharWidth(0.0f)
|
|
, variableNameCharWidth(0.0f)
|
|
, functionNameCharWidth(0.0f)
|
|
{
|
|
}
|
|
|
|
GraphView::GraphView(ViewLayout* viewLayout)
|
|
: View(viewLayout)
|
|
{
|
|
}
|
|
|
|
GraphView::~GraphView()
|
|
{
|
|
}
|
|
|
|
std::string GraphView::getName() const
|
|
{
|
|
return "GraphView";
|
|
}
|