ui: redesigned graph overview and use new list layouting within overview bundles
* overview bundles imitate style of bundled node type * removed bundle for built-in types * show contents of overview bundle in vertical list layouted with new ListLayouter * nodes starting with the same letter are grouped with the letter displayed above * pressing the letter key will scroll to the group * also use this list layouting for namespace & package contents * renamed BucketGrid to BucketLayouter * moved used functions of GraphPostProcessor to GraphViewStyle and removed GraphPostProcessor fortune cookie message = Don't be afraid to take that big step
This commit is contained in:
@@ -12,6 +12,7 @@ public:
|
||||
Property<T>& operator=(const Property<T>& property);
|
||||
|
||||
operator const T&() const;
|
||||
T& operator()() const;
|
||||
|
||||
private:
|
||||
T* m_valuePointer;
|
||||
@@ -47,4 +48,10 @@ Property<T>::operator const T&() const
|
||||
return *m_valuePointer;
|
||||
}
|
||||
|
||||
template<class T>
|
||||
T& Property<T>::operator()() const
|
||||
{
|
||||
return *m_valuePointer;
|
||||
}
|
||||
|
||||
#endif // PROPERTY_H
|
||||
|
||||
@@ -8,8 +8,10 @@ class MessageGraphNodeBundleSplit
|
||||
: public Message<MessageGraphNodeBundleSplit>
|
||||
{
|
||||
public:
|
||||
MessageGraphNodeBundleSplit(Id bundleId)
|
||||
MessageGraphNodeBundleSplit(Id bundleId, bool removeOtherNodes = false, bool layoutToList = false)
|
||||
: bundleId(bundleId)
|
||||
, removeOtherNodes(removeOtherNodes)
|
||||
, layoutToList(layoutToList)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -24,6 +26,8 @@ public:
|
||||
}
|
||||
|
||||
Id bundleId;
|
||||
bool removeOtherNodes;
|
||||
bool layoutToList;
|
||||
};
|
||||
|
||||
#endif // MESSAGE_GRAPH_NODE_BUNDLE_SPLIT_H
|
||||
|
||||
Reference in New Issue
Block a user