+ //! Access the global ActionCollection.
+ /** This ActionCollection is associated with the main window, i.e. it contains global
+ * actions (and thus, shortcuts). Widgets providing application-wide shortcuts should
+ * create appropriate Action objects using QtUi::actionCollection()->add\<Action\>().
+ */
+ inline static ActionCollection *actionCollection();
+
+public slots:
+ void init();
+
+protected slots:
+ void connectedToCore();
+ void disconnectedFromCore();
+
+private:
+ MainWin *mainWin;
+ static ActionCollection *_actionCollection;
+ static QtUiStyle *_style;