Changeset View
Changeset View
Standalone View
Standalone View
useractions.h
Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Line(s) | |||||
116 | private Q_SLOTS: | 116 | private Q_SLOTS: | ||
117 | /** | 117 | /** | ||
118 | * The menu will become visible soon. | 118 | * The menu will become visible soon. | ||
119 | * | 119 | * | ||
120 | * Adjust the items according to the respective Client. | 120 | * Adjust the items according to the respective Client. | ||
121 | */ | 121 | */ | ||
122 | void menuAboutToShow(); | 122 | void menuAboutToShow(); | ||
123 | /** | 123 | /** | ||
124 | * Adjusts the add to tab group menu to the current value of the Client. | | |||
125 | */ | | |||
126 | void rebuildTabGroupPopup(); | | |||
127 | /** | | |||
128 | * Adjusts the switch to tab menu to the current values of the Client. | 124 | * Adjusts the switch to tab menu to the current values of the Client. | ||
129 | */ | 125 | */ | ||
130 | void rebuildTabListPopup(); | 126 | void rebuildTabListPopup(); | ||
131 | /** | 127 | /** | ||
132 | * Adds the Client as tab to the Client identified by the @p action. | 128 | * Adds the Client as tab to the Client identified by the @p action. | ||
133 | * | 129 | * | ||
134 | * @param action The invoked action containing the Client to which the active Client should be tabbed. | 130 | * @param action The invoked action containing the Client to which the active Client should be tabbed. | ||
135 | */ | 131 | */ | ||
▲ Show 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 190 | private: | |||
206 | void initScreenPopup(); | 202 | void initScreenPopup(); | ||
207 | /** | 203 | /** | ||
208 | * Creates activity popup. | 204 | * Creates activity popup. | ||
209 | * I'm going with checkable ones instead of "copy to" and "move to" menus; I *think* it's an easier way. | 205 | * I'm going with checkable ones instead of "copy to" and "move to" menus; I *think* it's an easier way. | ||
210 | * Oh, and an 'all' option too of course | 206 | * Oh, and an 'all' option too of course | ||
211 | */ | 207 | */ | ||
212 | void initActivityPopup(); | 208 | void initActivityPopup(); | ||
213 | /** | 209 | /** | ||
214 | * Creates the Window Tabbing related menus. | | |||
215 | */ | | |||
216 | void initTabbingPopups(); | | |||
217 | /** | | |||
218 | * Shows a helper Dialog to inform the user how to get back in case he triggered | 210 | * Shows a helper Dialog to inform the user how to get back in case he triggered | ||
219 | * an action which hides the window decoration (e.g. NoBorder or Fullscreen). | 211 | * an action which hides the window decoration (e.g. NoBorder or Fullscreen). | ||
220 | * @param message The message type to be shown | 212 | * @param message The message type to be shown | ||
221 | * @param c The Client for which the dialog should be shown. | 213 | * @param c The Client for which the dialog should be shown. | ||
222 | */ | 214 | */ | ||
223 | void helperDialog(const QString &message, AbstractClient *c); | 215 | void helperDialog(const QString &message, AbstractClient *c); | ||
224 | /** | 216 | /** | ||
225 | * The actual main context menu which is show when the UserActionsMenu is invoked. | 217 | * The actual main context menu which is show when the UserActionsMenu is invoked. | ||
Show All 11 Lines | |||||
237 | * The move to screen sub menu. | 229 | * The move to screen sub menu. | ||
238 | */ | 230 | */ | ||
239 | QMenu* m_screenMenu; | 231 | QMenu* m_screenMenu; | ||
240 | /** | 232 | /** | ||
241 | * The activities sub menu. | 233 | * The activities sub menu. | ||
242 | */ | 234 | */ | ||
243 | QMenu* m_activityMenu; | 235 | QMenu* m_activityMenu; | ||
244 | /** | 236 | /** | ||
245 | * Menu to add the group to other group. | | |||
246 | */ | | |||
247 | QMenu* m_addTabsMenu; | | |||
248 | /** | | |||
249 | * Menu to change tab. | 237 | * Menu to change tab. | ||
250 | */ | 238 | */ | ||
251 | QMenu* m_switchToTabMenu; | 239 | QMenu* m_switchToTabMenu; | ||
252 | /** | 240 | /** | ||
253 | * Menu for further entries added by scripts. | 241 | * Menu for further entries added by scripts. | ||
254 | */ | 242 | */ | ||
255 | QMenu* m_scriptsMenu; | 243 | QMenu* m_scriptsMenu; | ||
256 | QAction* m_resizeOperation; | 244 | QAction* m_resizeOperation; | ||
257 | QAction* m_moveOperation; | 245 | QAction* m_moveOperation; | ||
258 | QAction* m_maximizeOperation; | 246 | QAction* m_maximizeOperation; | ||
259 | QAction* m_shadeOperation; | 247 | QAction* m_shadeOperation; | ||
260 | QAction* m_keepAboveOperation; | 248 | QAction* m_keepAboveOperation; | ||
261 | QAction* m_keepBelowOperation; | 249 | QAction* m_keepBelowOperation; | ||
262 | QAction* m_fullScreenOperation; | 250 | QAction* m_fullScreenOperation; | ||
263 | QAction* m_noBorderOperation; | 251 | QAction* m_noBorderOperation; | ||
264 | QAction* m_minimizeOperation; | 252 | QAction* m_minimizeOperation; | ||
265 | QAction* m_closeOperation; | 253 | QAction* m_closeOperation; | ||
266 | QAction* m_shortcutOperation; | 254 | QAction* m_shortcutOperation; | ||
267 | /** | 255 | /** | ||
268 | * Remove client from group. | | |||
269 | */ | | |||
270 | QAction* m_removeFromTabGroup; | | |||
271 | /** | | |||
272 | * Close all clients in the group. | | |||
273 | */ | | |||
274 | QAction* m_closeTabGroup; | | |||
275 | /** | | |||
276 | * The Client for which the menu is shown. | 256 | * The Client for which the menu is shown. | ||
277 | */ | 257 | */ | ||
278 | QPointer<AbstractClient> m_client; | 258 | QPointer<AbstractClient> m_client; | ||
279 | QAction *m_rulesOperation = nullptr; | 259 | QAction *m_rulesOperation = nullptr; | ||
280 | QAction *m_applicationRulesOperation = nullptr; | 260 | QAction *m_applicationRulesOperation = nullptr; | ||
281 | }; | 261 | }; | ||
282 | 262 | | |||
283 | class ShortcutDialog | 263 | class ShortcutDialog | ||
Show All 21 Lines |