|
BibleTime
|
#include <btedittextpage.h>
Signals | |
| void | signalFontChanged (const QFont &) |
| void | signalFontColorChanged (const QColor &) |
| void | signalFontSizeChanged (int) |
Public Member Functions | |
| BtEditTextPage (BtEditTextWizard &parent) | |
| void | cleanupPage () final override |
| void | initializePage () final override |
| void | setFont (const QFont &font) |
| void | setText (const QString &text) |
| void | setTitle (const QString &text) |
| QString | text () const |
| bool | validatePage () final override |
Private Member Functions | |
| void | alignmentChanged (int) |
| void | initActions () |
| QFont | initHtmlFont () |
| void | retranslateUi () |
| void | setupToolBar () |
Private Attributes | ||
| struct { | ||
| QAction * alignCenter | ||
| QAction * alignLeft | ||
| QAction * alignRight | ||
| QAction * bold | ||
| QAction * italic | ||
| QAction * underline | ||
| } | m_actions | |
| BtColorWidget * | m_fontColorChooser | |
| QFontComboBox * | m_fontFamilyComboBox | |
| BtFontSizeWidget * | m_fontSizeWidget | |
| bool | m_handingFormatChangeFromEditor | |
| QTextEdit * | m_htmlTextEdit | |
| QTextEdit * | m_plainTextEdit | |
| QFont | m_plainTextFont | |
| QString | m_text | |
| QToolBar * | m_toolBar | |
| BtEditTextWizard & | m_wizard | |
Definition at line 31 of file btedittextpage.h.
| BtEditTextPage::BtEditTextPage | ( | BtEditTextWizard & | parent | ) |
Definition at line 42 of file btedittextpage.cpp.
References BT_ASSERT, BT_CONNECT, btConfig(), BtConfigCore::group(), initActions(), m_actions, m_handingFormatChangeFromEditor, m_htmlTextEdit, m_plainTextEdit, m_toolBar, retranslateUi(), BtConfig::session(), setupToolBar(), BtConfigCore::setValue(), signalFontChanged(), signalFontColorChanged(), and signalFontSizeChanged().
|
private |
The text's alignment changed. Enable the right buttons.
Definition at line 265 of file btedittextpage.cpp.
References alignCenter, alignLeft, alignRight, BT_ASSERT, m_actions, and m_handingFormatChangeFromEditor.
|
finaloverride |
Definition at line 89 of file btedittextpage.cpp.
References m_htmlTextEdit, m_plainTextEdit, and m_text.
|
private |
Definition at line 169 of file btedittextpage.cpp.
References CResMgr::displaywindows::writeWindow::boldText::accel, CResMgr::displaywindows::writeWindow::italicText::accel, CResMgr::displaywindows::writeWindow::underlinedText::accel, CResMgr::displaywindows::writeWindow::alignLeft::accel, BT_CONNECT, initHtmlFont(), and m_actions.
Referenced by BtEditTextPage().
|
private |
Definition at line 161 of file btedittextpage.cpp.
References btConfig(), BtConfigCore::group(), m_htmlTextEdit, and BtConfig::session().
Referenced by initActions(), and initializePage().
|
finaloverride |
Definition at line 96 of file btedittextpage.cpp.
References BtEditTextWizard::htmlMode(), initHtmlFont(), m_htmlTextEdit, m_plainTextEdit, m_plainTextFont, m_text, m_toolBar, and m_wizard.
|
private |
Definition at line 142 of file btedittextpage.cpp.
References m_actions, m_fontColorChooser, m_fontFamilyComboBox, and m_fontSizeWidget.
Referenced by BtEditTextPage().
| void BtEditTextPage::setFont | ( | const QFont & | font | ) |
Definition at line 138 of file btedittextpage.cpp.
References m_plainTextFont.
Referenced by BtEditTextWizard::setFont().
| void BtEditTextPage::setText | ( | const QString & | text | ) |
Definition at line 134 of file btedittextpage.cpp.
References m_text, and text().
Referenced by BtEditTextWizard::setText().
| void BtEditTextPage::setTitle | ( | const QString & | text | ) |
|
private |
Definition at line 291 of file btedittextpage.cpp.
References BT_CONNECT, BtColorWidget::changed(), BtFontSizeWidget::fontSizeChanged(), m_actions, m_fontColorChooser, m_fontFamilyComboBox, m_fontSizeWidget, m_handingFormatChangeFromEditor, m_htmlTextEdit, m_toolBar, BtColorWidget::setColor(), BtFontSizeWidget::setFontSize(), signalFontChanged(), signalFontColorChanged(), and signalFontSizeChanged().
Referenced by BtEditTextPage().
|
signal |
Referenced by BtEditTextPage(), and setupToolBar().
|
signal |
Referenced by BtEditTextPage(), and setupToolBar().
|
signal |
Referenced by BtEditTextPage(), and setupToolBar().
| QString BtEditTextPage::text | ( | ) | const |
Definition at line 130 of file btedittextpage.cpp.
References m_text.
Referenced by setText(), and BtEditTextWizard::text().
|
finaloverride |
Definition at line 122 of file btedittextpage.cpp.
References m_htmlTextEdit, m_plainTextEdit, and m_text.
| QAction* BtEditTextPage::alignCenter |
Definition at line 80 of file btedittextpage.h.
Referenced by alignmentChanged().
| QAction* BtEditTextPage::alignLeft |
Definition at line 79 of file btedittextpage.h.
Referenced by alignmentChanged().
| QAction* BtEditTextPage::alignRight |
Definition at line 81 of file btedittextpage.h.
Referenced by alignmentChanged().
| QAction* BtEditTextPage::bold |
Definition at line 75 of file btedittextpage.h.
| QAction* BtEditTextPage::italic |
Definition at line 76 of file btedittextpage.h.
| struct { ... } BtEditTextPage::m_actions |
Referenced by alignmentChanged(), BtEditTextPage(), initActions(), retranslateUi(), and setupToolBar().
|
private |
Definition at line 68 of file btedittextpage.h.
Referenced by retranslateUi(), and setupToolBar().
|
private |
Definition at line 66 of file btedittextpage.h.
Referenced by retranslateUi(), and setupToolBar().
|
private |
Definition at line 67 of file btedittextpage.h.
Referenced by retranslateUi(), and setupToolBar().
|
private |
Definition at line 69 of file btedittextpage.h.
Referenced by alignmentChanged(), BtEditTextPage(), and setupToolBar().
|
private |
Definition at line 64 of file btedittextpage.h.
Referenced by BtEditTextPage(), cleanupPage(), initHtmlFont(), initializePage(), setupToolBar(), and validatePage().
|
private |
Definition at line 63 of file btedittextpage.h.
Referenced by BtEditTextPage(), cleanupPage(), initializePage(), and validatePage().
|
private |
Definition at line 71 of file btedittextpage.h.
Referenced by initializePage(), and setFont().
|
private |
Definition at line 72 of file btedittextpage.h.
Referenced by cleanupPage(), initializePage(), setText(), text(), and validatePage().
|
private |
Definition at line 65 of file btedittextpage.h.
Referenced by BtEditTextPage(), initializePage(), and setupToolBar().
|
private |
Definition at line 62 of file btedittextpage.h.
Referenced by initializePage().
| QAction* BtEditTextPage::underline |
Definition at line 77 of file btedittextpage.h.