umbrello  2.32.0
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
dialogspopupmenu.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2018-2020 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef DIALOGSPOPUPMENU_H
12 #define DIALOGSPOPUPMENU_H
13 
14 #include "listpopupmenu.h"
15 
17 {
18  Q_OBJECT
19  Q_ENUMS(TriggerType)
20 public:
22  {
23  tt_Min = -1,
43  };
44 
45  DialogsPopupMenu(QWidget *parent, TriggerType type);
46  void insertSubMenuNew(TriggerType type, KMenu *menu = 0);
47  static QString toString(TriggerType type);
48 };
49 
50 QDebug operator<<(QDebug out, DialogsPopupMenu::TriggerType type);
51 
52 #endif // DIALOGSPOPUPMENU_H
Definition: dialogspopupmenu.h:16
static QString toString(TriggerType type)
Definition: dialogspopupmenu.cpp:134
void insertSubMenuNew(TriggerType type, KMenu *menu=0)
Definition: dialogspopupmenu.cpp:116
Definition: dialogspopupmenu.h:25
Definition: dialogspopupmenu.h:42
Definition: dialogspopupmenu.h:41
Definition: dialogspopupmenu.h:27
QDebug operator<<(QDebug out, DialogsPopupMenu::TriggerType type)
Definition: dialogspopupmenu.cpp:139
Definition: dialogspopupmenu.h:40
Definition: dialogspopupmenu.h:31
Definition: dialogspopupmenu.h:26
Definition: dialogspopupmenu.h:36
Definition: dialogspopupmenu.h:30
Definition: dialogspopupmenu.h:34
Definition: dialogspopupmenu.h:37
Definition: dialogspopupmenu.h:38
Definition: dialogspopupmenu.h:29
DialogsPopupMenu(QWidget *parent, TriggerType type)
Definition: dialogspopupmenu.cpp:19
Definition: dialogspopupmenu.h:33
Definition: dialogspopupmenu.h:39
TriggerType
< This type hosts all possible menu types.
Definition: dialogspopupmenu.h:21
Displays a popup menu.
Definition: listpopupmenu.h:37
Definition: dialogspopupmenu.h:32
Definition: dialogspopupmenu.h:23
Definition: dialogspopupmenu.h:28
Definition: dialogspopupmenu.h:35
Definition: dialogspopupmenu.h:24