BibleTime
|
#include <btdropdownchooserbutton.h>
Signals | |
void | stepItem (int step) |
Public Member Functions | |
BtDropdownChooserButton (void(BtBibleKeyWidget::*populateMenu)(QMenu &), BtBibleKeyWidget &parent) | |
void | mousePressEvent (QMouseEvent *event) override |
Protected Member Functions | |
void | wheelEvent (QWheelEvent *event) override |
Private Attributes | |
BtBibleKeyWidget & | m_parent |
void(BtBibleKeyWidget::* | m_populateMenu )(QMenu &) |
Base class for book/ch/v dropdown list chooser buttons.
Definition at line 23 of file btdropdownchooserbutton.h.
BtDropdownChooserButton::BtDropdownChooserButton | ( | void(BtBibleKeyWidget::*)(QMenu &) | populateMenu, |
BtBibleKeyWidget & | parent | ||
) |
Definition at line 22 of file btdropdownchooserbutton.cpp.
References ARROW_HEIGHT.
|
override |
The item list is constructed here just before the menu is shown.
Definition at line 47 of file btdropdownchooserbutton.cpp.
References m_parent, and m_populateMenu.
|
signal |
Referenced by wheelEvent().
|
overrideprotected |
Definition at line 55 of file btdropdownchooserbutton.cpp.
References stepItem().
|
private |
Definition at line 43 of file btdropdownchooserbutton.h.
Referenced by mousePressEvent().
|
private |
Definition at line 42 of file btdropdownchooserbutton.h.
Referenced by mousePressEvent().