BibleTime
|
#include <bttoolbarpopupaction.h>
Public Member Functions | |
BtToolBarPopupAction (const QIcon &icon, const QString &text, QObject *parent) | |
bool | event (QEvent *e) override |
QMenu * | popupMenu () const |
~BtToolBarPopupAction () override | |
Protected Member Functions | |
QWidget * | createWidget (QWidget *parent) override |
Private Attributes | |
QIcon | m_icon |
std::unique_ptr< QMenu > const | m_menu |
QString | m_text |
Definition at line 29 of file bttoolbarpopupaction.h.
BtToolBarPopupAction::BtToolBarPopupAction | ( | const QIcon & | icon, |
const QString & | text, | ||
QObject * | parent | ||
) |
Definition at line 37 of file bttoolbarpopupaction.cpp.
|
overridedefault |
Definition at line 51 of file bttoolbarpopupaction.cpp.
References BT_CONNECT, m_icon, m_menu, and m_text.
|
override |
Definition at line 64 of file bttoolbarpopupaction.cpp.
QMenu * BtToolBarPopupAction::popupMenu | ( | ) | const |
Definition at line 49 of file bttoolbarpopupaction.cpp.
References m_menu.
Referenced by CDisplayWindow::initConnections().
|
private |
Definition at line 46 of file bttoolbarpopupaction.h.
Referenced by createWidget().
|
private |
Definition at line 45 of file bttoolbarpopupaction.h.
Referenced by createWidget(), and popupMenu().
|
private |
Definition at line 47 of file bttoolbarpopupaction.h.
Referenced by createWidget().