#include <btbookshelfdockwidget.h>
Definition at line 32 of file btbookshelfdockwidget.h.
◆ BtBookshelfDockWidget()
BtBookshelfDockWidget::BtBookshelfDockWidget |
( |
QWidget * |
parent = nullptr , |
|
|
Qt::WindowFlags |
f = Qt::WindowFlags() |
|
) |
| |
- Bug:
- The correct grouping action is not selected on startup.
- Todo:
- Implement a better unlock dialog, which could incorporate the following warning message. Actually the whole case when the user tries to open a locked module needs to be rethought and refactored.
- Todo:
- We need to keep the module name because unlocking currently reloads sword.
Definition at line 46 of file btbookshelfdockwidget.cpp.
References BT_ASSERT, BT_CONNECT, btConfig(), anonymous_namespace{btbookshelfdockwidget.cpp}::groupingOrderKey, initMenus(), CSwordBackend::instance(), m_bookshelfWidget, m_installButton, m_installLabel, m_instance, m_itemContextMenu, m_stackedWidget, m_treeModel, m_welcomeWidget, BtBookshelfView::moduleActivated(), BtBookshelfWidget::setItemContextMenu(), BtBookshelfWidget::setSourceModel(), BtBookshelfWidget::setTreeModel(), and BtBookshelfWidget::treeView().
◆ getInstance()
◆ groupingOrder()
◆ groupingOrderChanged
◆ initMenus()
void BtBookshelfDockWidget::initMenus |
( |
| ) |
|
|
protected |
Definition at line 152 of file btbookshelfdockwidget.cpp.
References BT_CONNECT, CSwordModuleInfo::isLocked(), m_itemAboutAction, m_itemContextMenu, m_itemOpenAction, m_itemSearchAction, m_itemUnlockAction, moduleAboutTriggered(), moduleOpenTriggered(), moduleSearchTriggered(), moduleUnlockTriggered(), and CSwordModuleInfo::name().
Referenced by BtBookshelfDockWidget().
◆ installWorksClicked
void BtBookshelfDockWidget::installWorksClicked |
( |
| ) |
|
|
signal |
◆ loadBookshelfState()
void BtBookshelfDockWidget::loadBookshelfState |
( |
| ) |
|
◆ moduleAboutTriggered
◆ moduleHovered
◆ moduleOpenTriggered
◆ moduleSearchTriggered
◆ moduleUnlockTriggered
◆ retranslateUi()
void BtBookshelfDockWidget::retranslateUi |
( |
| ) |
|
|
protected |
◆ saveBookshelfState()
void BtBookshelfDockWidget::saveBookshelfState |
( |
| ) |
|
◆ m_bookshelfWidget
◆ m_installButton
QPushButton* BtBookshelfDockWidget::m_installButton |
|
protected |
◆ m_installLabel
QLabel* BtBookshelfDockWidget::m_installLabel |
|
protected |
◆ m_instance
◆ m_itemAboutAction
QAction* BtBookshelfDockWidget::m_itemAboutAction |
|
protected |
◆ m_itemContextMenu
QMenu* BtBookshelfDockWidget::m_itemContextMenu |
|
protected |
◆ m_itemOpenAction
QAction* BtBookshelfDockWidget::m_itemOpenAction |
|
protected |
◆ m_itemSearchAction
QAction* BtBookshelfDockWidget::m_itemSearchAction |
|
protected |
◆ m_itemUnlockAction
QAction* BtBookshelfDockWidget::m_itemUnlockAction |
|
protected |
◆ m_stackedWidget
QStackedWidget* BtBookshelfDockWidget::m_stackedWidget |
|
protected |
◆ m_treeModel
◆ m_welcomeWidget
QWidget* BtBookshelfDockWidget::m_welcomeWidget |
|
protected |
The documentation for this class was generated from the following files: