logic: rewrote messages handling token activation for correct restoring on undo
* saving search query to undo stack with MessageSearch * saving node and edge with name to undo stack with MessageActivateNode and MessageActivateEdge * added FeatureController that handels distribution of MessageActivateTokens * clearing views when refreshing or changing project * clearing undo stack when changing project * added StorageCache derived from StorageAccessProxy
This commit is contained in:
@@ -60,14 +60,9 @@ QSize QtSearchBar::sizeHint() const
|
||||
return QSize(400, 100);
|
||||
}
|
||||
|
||||
void QtSearchBar::setText(const std::string& text)
|
||||
void QtSearchBar::setMatches(const std::deque<SearchMatch>& matches)
|
||||
{
|
||||
m_searchBox->setQuery(text);
|
||||
}
|
||||
|
||||
void QtSearchBar::setMatch(const SearchMatch& match)
|
||||
{
|
||||
m_searchBox->setQuery(match);
|
||||
m_searchBox->setMatches(matches);
|
||||
}
|
||||
|
||||
void QtSearchBar::setFocus()
|
||||
|
||||
Reference in New Issue
Block a user