ui: added shortcut to refresh view

Added a refresh shortcut to the new View menu, that causes stylesheets to be refreshed by dispatching a MessageRefresh.
This commit is contained in:
Eberhard Graether
2014-07-21 17:49:41 +02:00
parent 0074db86e8
commit 5d201b9880
15 changed files with 117 additions and 4 deletions
@@ -0,0 +1,20 @@
#ifndef MESSAGE_REFRESH_H
#define MESSAGE_REFRESH_H
#include "utility/messaging/Message.h"
#include "utility/types.h"
class MessageRefresh: public Message<MessageRefresh>
{
public:
MessageRefresh()
{
}
static const std::string getStaticType()
{
return "MessageRefresh";
}
};
#endif // MESSAGE_REFRESH_H