#include <klfmainwin.h>
KLatexFormula Main Window
Definition at line 218 of file klfmainwin.h.
Definition at line 245 of file klfmainwin.h.
KLFMainWin::KLFMainWin | ( | ) |
Definition at line 204 of file klfmainwin.cpp.
References _evaloutput_uptodate, _firstshow, _loadedlibrary, _output, _settings, _shrinkedsize, _styles, QMenu::addAction(), QGridLayout::addItem(), addWhatsNewText(), QGridLayout::addWidget(), KLFConfig::applicationFont, applicationLocaleChanged(), KLFConfig::checkExePaths(), collectInput(), KLFConfig::Core, KLFConfig::customMathModes, KLFConfig::enableRealTimePreview, KLFConfig::enableToolTipPreview, KLFBackend::klfOutput::errorstr, QFontInfo::family(), QWidget::fontInfo(), KLFConfig::glowEffect, KLFConfig::glowEffectColor, KLFConfig::glowEffectRadius, QSize::height(), helpLinkAction(), insertSymbol(), klfconfig, klfDbg, KLFConfig::labelOutputFixedSize, KLFConfig::latexEditFont, loadDefaultStyle(), loadLibrary(), loadSettings(), loadStyles(), mAboutDialog, mExportMsgLabel, mHelpLinkActions, mLatexSymbols, mLibBrowser, mPopup, mPreviewBuilderThread, mSettingsDialog, mStyleManager, mWhatsNewDialog, pExportMsgLabelTimerId, KLFConfig::preambleEditFont, quit(), refreshShowCorrectClearButton(), refreshStylePopupMenus(), refreshWindowSizes(), registerDataOpener(), restoreFromLibrary(), retranslateUi(), saveStyles(), QLabel::setAlignment(), QWidget::setAttribute(), QPalette::setColor(), QWidget::setFixedSize(), QFont::setPointSize(), QGridLayout::setSpacing(), showAbout(), showRealTimePreview(), slotActivateEditor(), slotActivateEditorSelectAll(), slotClearAll(), slotClearLatex(), slotCopy(), slotDrag(), slotEvaluate(), slotExpandOrShrink(), slotLibrary(), slotLoadStyle(), slotPresetDPISender(), slotSave(), slotSaveStyle(), slotSettings(), slotShowBigPreview(), slotSymbols(), QThread::start(), QTimer::start(), KLFBackend::klfOutput::status, stylesChanged(), KLFConfig::thisVersionMajMinFirstRun, u, KLFConfig::UI, updatePreviewBuilderThreadInput(), and QSize::width().
KLFMainWin::~KLFMainWin | ( | ) | [virtual] |
Definition at line 494 of file klfmainwin.cpp.
References klfDbg, mLatexSymbols, mLibBrowser, mPreviewBuilderThread, mSettingsDialog, mStyleMenu, saveLibraryState(), saveSettings(), saveStyles(), and u.
void KLFMainWin::addWhatsNewText | ( | const QString & | htmlSnipplet | ) | [slot] |
Definition at line 1437 of file klfmainwin.cpp.
References KLFHelpDialogCommon::addExtraText(), and mWhatsNewDialog.
Referenced by KLFMainWin().
void KLFMainWin::alterSetting | ( | altersetting_which | which, |
int | ivalue | ||
) |
This function allows to temporarily modify a given setting with a new value. KLatexFormula will NOT remember the new setting in later executions.
Used eg. for command-line mode.
Note you have to use the correct function for each setting, if the setting requires an int use this function, if it requires a string use alterSetting(altersetting_which, QString).
Definition at line 1768 of file klfmainwin.cpp.
References _settings, _settings_altered, altersetting_BBorderOffset, altersetting_LBorderOffset, altersetting_OutlineFonts, altersetting_RBorderOffset, altersetting_TBorderOffset, KLFBackend::klfSettings::bborderoffset, KLFBackend::klfSettings::lborderoffset, KLFBackend::klfSettings::outlineFonts, KLFBackend::klfSettings::rborderoffset, and KLFBackend::klfSettings::tborderoffset.
Referenced by main(), KLFDBusAppAdaptor::setAlterSetting_i(), and KLFDBusAppAdaptor::setAlterSetting_s().
void KLFMainWin::alterSetting | ( | altersetting_which | which, |
QString | svalue | ||
) |
See alterSetting(altersetting_which, int)
Definition at line 1786 of file klfmainwin.cpp.
References _settings, _settings_altered, altersetting_Dvips, altersetting_Epstopdf, altersetting_Gs, altersetting_Latex, altersetting_TempDir, KLFBackend::klfSettings::dvipsexec, KLFBackend::klfSettings::epstopdfexec, KLFBackend::klfSettings::gsexec, KLFBackend::klfSettings::latexexec, and KLFBackend::klfSettings::tempdir.
void KLFMainWin::applicationLocaleChanged | ( | const QString & | newLocale | ) | [signal] |
Referenced by KLFMainWin(), and setApplicationLocale().
void KLFMainWin::applySettings | ( | const KLFBackend::klfSettings & | s | ) |
Definition at line 1823 of file klfmainwin.cpp.
References _settings, and _settings_altered.
Referenced by KLFSettings::apply().
KLFBackend::klfSettings KLFMainWin::backendSettings | ( | ) | const [inline] |
Definition at line 234 of file klfmainwin.h.
bool KLFMainWin::canOpenData | ( | const QByteArray & | data | ) |
Definition at line 2200 of file klfmainwin.cpp.
References KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, pDataOpeners, QList::size(), and QByteArray::size().
Referenced by KLFLatexEdit::canInsertFromMimeData().
bool KLFMainWin::canOpenData | ( | const QMimeData * | mimeData | ) |
Definition at line 2211 of file klfmainwin.cpp.
References find_list_agreement(), QMimeData::formats(), QString::isEmpty(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, pDataOpeners, and QList::size().
bool KLFMainWin::canOpenFile | ( | const QString & | fileName | ) |
Definition at line 2189 of file klfmainwin.cpp.
References KLF_DEBUG_BLOCK, KLF_FUNC_NAME, klfDbg, pDataOpeners, and QList::size().
void KLFMainWin::childEvent | ( | QChildEvent * | e | ) | [protected] |
Definition at line 1541 of file klfmainwin.cpp.
References QList::append(), QChildEvent::child(), QList::indexOf(), QObject::isWidgetType(), klfDbg, pWindowList, and QList::removeAt().
void KLFMainWin::closeEvent | ( | QCloseEvent * | e | ) | [protected] |
Reimplemented from QWidget.
Definition at line 2802 of file klfmainwin.cpp.
References _ignore_close_event, QWidget::hide(), and quit().
KLFBackend::klfInput KLFMainWin::collectInput | ( | bool | isFinal | ) | [protected] |
Returns the input corresponding to the current GUI state. If isFinal
is TRUE, then the input data may be "remembered" as used (the exact effect depends on the setting), eg. math mode is memorized into combo box choices. Typically isFinal
is TRUE when called from slotEvaluate() and FALSE when called to update the preview builder thread.
Definition at line 1865 of file klfmainwin.cpp.
References KLFBackend::klfInput::bg_color, KLFConfig::customMathModes, KLFBackend::klfInput::dpi, KLFBackend::klfInput::fg_color, klfconfig, KLFBackend::klfInput::latex, KLFBackend::klfInput::mathmode, KLFBackend::klfInput::preamble, u, and KLFConfig::UI.
Referenced by KLFMainWin(), saveSettings(), slotEvaluate(), and updatePreviewBuilderThreadInput().
KLFBackend::klfOutput KLFMainWin::currentKLFBackendOutput | ( | ) | const [inline] |
Definition at line 243 of file klfmainwin.h.
KLFBackend::klfSettings KLFMainWin::currentSettings | ( | ) | const [inline] |
Definition at line 239 of file klfmainwin.h.
Referenced by KLFSettings::apply(), and KLFSettings::reset().
KLFStyle KLFMainWin::currentStyle | ( | ) | const |
Definition at line 2672 of file klfmainwin.cpp.
References KLFStyle::bg_color, QColor::blue(), KLFStyle::dpi, KLFStyle::fg_color, QColor::green(), KLFStyle::mathmode, KLFStyle::name, KLFStyle::overrideBBoxExpand, KLFStyle::preamble, QColor::red(), and u.
Referenced by slotEvaluate(), and slotSaveStyle().
Definition at line 1675 of file klfmainwin.cpp.
References pWindowList, and QList::size().
Referenced by hideEvent().
void KLFMainWin::displayError | ( | const QString & | errormsg | ) | [slot] |
Definition at line 1829 of file klfmainwin.cpp.
References QMessageBox::critical().
void KLFMainWin::evaluateFinished | ( | const KLFBackend::klfOutput & | output | ) | [signal] |
Referenced by slotEvaluate().
bool KLFMainWin::event | ( | QEvent * | e | ) | [protected] |
Reimplemented from QWidget.
Definition at line 1528 of file klfmainwin.cpp.
References KLFConfig::applicationFont, QApplication::font(), klfconfig, klfDbg, QEvent::type(), KLFConfig::UI, and KLFConfig::useSystemAppFont.
Definition at line 1565 of file klfmainwin.cpp.
References QString::arg(), KLFConfig::copyExportProfile, KLFMimeExportProfile::description(), KLFConfig::dragExportProfile, KLFMimeExportProfile::findExportProfile(), QList::indexOf(), QObject::isWidgetType(), QKeyEvent::key(), klf_get_window_geometry(), klf_set_window_geometry(), klfconfig, QKeySequence::matches(), mLatexSymbols, mLibBrowser, mPopup, openFile(), pLastWindowGeometries, pLastWindowShownStatus, pWindowList, QToolTip::showText(), slotCopy(), slotEvaluate(), slotExpand(), slotLibraryButtonRefreshState(), slotSymbolsButtonRefreshState(), QEvent::type(), u, and KLFConfig::UI.
void KLFMainWin::getMissingCmdsFor | ( | const QString & | symbol, |
QStringList * | missingCmds, | ||
QString * | guiText, | ||
bool | wantHtmlText = true |
||
) | [protected] |
Definition at line 1149 of file klfmainwin.cpp.
References QString::arg(), QRegExp::cap(), QRegExp::exactMatch(), KLFLatexSymbolsCache::findSymbol(), QString::indexOf(), QString::isEmpty(), QStringList::join(), KLF_FUNC_NAME, klfDbg, QRegExp::pattern(), KLFLatexSymbol::preamble, QString::replace(), QStringList::replaceInStrings(), KLFLatexSymbolsCache::theCache(), u, and KLFLatexSymbol::valid().
void KLFMainWin::helpLinkAction | ( | const QUrl & | link | ) | [slot] |
Definition at line 1400 of file klfmainwin.cpp.
References QMetaObject::invokeMethod(), KLF_FUNC_NAME, klfDbg, mHelpLinkActions, QDesktopServices::openUrl(), QUrl::path(), QUrl::queryItems(), QUrl::scheme(), and QList::size().
Referenced by KLFMainWin().
void KLFMainWin::hideEvent | ( | QHideEvent * | e | ) | [protected] |
Reimplemented from QWidget.
Definition at line 1703 of file klfmainwin.cpp.
References currentWindowShownStatus(), klf_get_window_geometry(), pLastWindowGeometries, prepareAllWindowShownStatus(), pSavedWindowShownStatus, and setWindowShownStatus().
void KLFMainWin::insertDelimiter | ( | const QString & | delim, |
int | charsBack = 1 |
||
) | [slot] |
Inserts a delimiter delim
, and brings the cursor charsBack
characters back. Eg. you can insert "\mathrm{}"
and bring the cursor 1 space back.
Definition at line 1143 of file klfmainwin.cpp.
References u.
void KLFMainWin::insertSymbol | ( | const KLFLatexSymbol & | symbol | ) | [slot] |
Definition at line 1118 of file klfmainwin.cpp.
References QWidget::activateWindow(), QTextCursor::beginEditBlock(), KLFLatexSymbol::preamble, slotEnsurePreambleCmd(), KLFLatexSymbol::symbol, and u.
Referenced by KLFMainWin().
KLFConfig* KLFMainWin::klfConfig | ( | ) | [inline] |
Definition at line 277 of file klfmainwin.h.
References klfconfig.
KLFLatexEdit * KLFMainWin::latexEdit | ( | ) |
Definition at line 1806 of file klfmainwin.cpp.
References u.
KLFLatexSymbols* KLFMainWin::latexSymbolsWidget | ( | ) | [inline] |
Definition at line 269 of file klfmainwin.h.
KLFLibBrowser* KLFMainWin::libBrowserWidget | ( | ) | [inline] |
Definition at line 268 of file klfmainwin.h.
bool KLFMainWin::loadDefaultStyle | ( | ) | [slot] |
Definition at line 580 of file klfmainwin.cpp.
References loadNamedStyle().
Referenced by KLFMainWin(), and slotClearAll().
void KLFMainWin::loadLibrary | ( | ) | [slot] |
Definition at line 838 of file klfmainwin.cpp.
References QUrl::addQueryItem(), KLFLibResourceEngine::allEntries(), KLFLibBrowser::ArchiveRoleFlag, KLFConfig::Core, KLFLibEngineFactory::createResource(), KLFLibResourceEngine::createSubResource(), QFile::exists(), KLFLibResourceEngine::FeatureSubResourceProps, KLFLibEngineFactory::findFactoryFor(), QUrl::fromLocalFile(), KLFLibBrowser::getOpenResource(), KLFLibBasicWidgetFactory::guessLocalFileScheme(), KLFLibResourceEngine::hasSubResource(), KLFLibBrowser::HistoryRoleFlag, KLFConfig::homeConfigDir, KLFLibResourceEngine::insertEntries(), QString::isEmpty(), kdelocate(), KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfconfig, klfDbg, KLFConfig::libraryFileName, KLFConfig::libraryLibScheme, loadLibrarySavedState(), mHistoryLibResource, mLibBrowser, KLFLibBrowser::NoCloseRoleFlag, KLFLibBrowser::OpenNoRaise, KLFLibBrowser::openResource(), KLFLibEngineFactory::openResource(), KLFLibEngineFactory::openURL(), QUrl::path(), QString::prepend(), QUrl::removeAllQueryItems(), QUrl::scheme(), KLFProgressDialog::setDescriptiveText(), QUrl::setScheme(), KLFLibResourceEngine::setSubResourceProperty(), KLFLibResourceEngine::setTitle(), KLFLibResourceEngine::setViewType(), QList::size(), KLFLibResourceEngine::subResourceList(), KLFLibResourceEngine::SubResPropViewType, and KLFLibResourceEngine::supportedFeatureFlags().
Referenced by KLFMainWin().
void KLFMainWin::loadLibrarySavedState | ( | ) | [slot] |
Definition at line 1013 of file klfmainwin.cpp.
References QDomDocument::documentElement(), QFile::exists(), QDomNode::firstChild(), KLFConfig::homeConfigDir, QDomNode::isNull(), KLF_FUNC_NAME, klfconfig, klfDbg, klfLoadVariantMapFromXML(), KLFConfig::LibraryBrowser, KLFLibBrowser::loadGuiState(), mLibBrowser, QDomNode::nextSibling(), QDomNode::nodeName(), QDomNode::nodeType(), QFile::open(), KLFConfig::restoreURLs, QDomDocument::setContent(), and QDomNode::toElement().
Referenced by loadLibrary().
bool KLFMainWin::loadNamedStyle | ( | const QString & | sty | ) | [slot] |
Definition at line 590 of file klfmainwin.cpp.
References _styles, QList::size(), and slotLoadStyle().
Referenced by loadDefaultStyle().
void KLFMainWin::loadSettings | ( | ) | [slot] |
Definition at line 602 of file klfmainwin.cpp.
References _settings, _settings_altered, KLFConfig::BackendSettings, KLFConfig::bborderoffset, KLFBackend::klfSettings::bborderoffset, KLFBackend::klfSettings::dvipsexec, KLFBackend::klfSettings::epstopdfexec, KLFConfig::execDvips, KLFConfig::execenv, KLFBackend::klfSettings::execenv, KLFConfig::execEpstopdf, KLFConfig::execGs, KLFConfig::execLatex, KLFBackend::klfSettings::gsexec, klfconfig, KLFBackend::klfSettings::latexexec, KLFConfig::lborderoffset, KLFBackend::klfSettings::lborderoffset, KLFConfig::outlineFonts, KLFBackend::klfSettings::outlineFonts, KLFConfig::rborderoffset, KLFBackend::klfSettings::rborderoffset, KLFConfig::tborderoffset, KLFBackend::klfSettings::tborderoffset, KLFConfig::tempDir, and KLFBackend::klfSettings::tempdir.
Referenced by KLFMainWin().
void KLFMainWin::loadStyles | ( | ) | [slot] |
Definition at line 783 of file klfmainwin.cpp.
References _styles, QList::append(), QString::arg(), KLFConfig::homeConfigDir, QList::isEmpty(), kdelocate(), KLF_DATA_STREAM_APP_VERSION, klfconfig, mStyleMenu, refreshStylePopupMenus(), try_load_style_list(), and u.
Referenced by KLFMainWin().
bool KLFMainWin::openData | ( | const QMimeData * | mimeData, |
bool * | openerFound = NULL |
||
) | [slot] |
Definition at line 2256 of file klfmainwin.cpp.
References QMimeData::data(), find_list_agreement(), QMimeData::formats(), QString::isEmpty(), KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfDbg, pDataOpeners, and QList::size().
Referenced by KLFLatexEdit::insertFromMimeData(), openData(), and KLFDBusAppAdaptor::openData().
bool KLFMainWin::openData | ( | const QByteArray & | data | ) | [slot] |
Definition at line 2280 of file klfmainwin.cpp.
References KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfDbg, QByteArray::length(), openData(), pDataOpeners, and QList::size().
bool KLFMainWin::openFile | ( | const QString & | file | ) | [slot] |
Definition at line 2229 of file klfmainwin.cpp.
References QMessageBox::critical(), KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfDbg, pDataOpeners, and QList::size().
Referenced by eventFilter(), KLFDBusAppAdaptor::openFile(), and openFiles().
bool KLFMainWin::openFiles | ( | const QStringList & | fileList | ) | [slot] |
Definition at line 2243 of file klfmainwin.cpp.
References KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfDbg, and openFile().
Referenced by KLFBasicDataOpener::openData(), and KLFDBusAppAdaptor::openFiles().
bool KLFMainWin::openLibFile | ( | const QString & | file, |
bool | showLibrary = true |
||
) | [slot] |
Definition at line 2308 of file klfmainwin.cpp.
References QUrl::addQueryItem(), QUrl::fromLocalFile(), KLFLibBasicWidgetFactory::guessLocalFileScheme(), QString::isEmpty(), KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfDbg, KLFLibEngineFactory::listSubResources(), mLibBrowser, KLFLibBrowser::openResource(), QUrl::setScheme(), and slotLibrary().
Referenced by KLFBasicDataOpener::openFile(), and openLibFiles().
bool KLFMainWin::openLibFiles | ( | const QStringList & | files, |
bool | showLibrary = true |
||
) | [slot] |
Definition at line 2293 of file klfmainwin.cpp.
References KLF_DEBUG_TIME_BLOCK, KLF_FUNC_NAME, klfDbg, openLibFile(), and slotLibrary().
Referenced by KLFDBusAppAdaptor::importCmdlKLFFiles().
KLFLatexSyntaxHighlighter * KLFMainWin::preambleSyntaxHighlighter | ( | ) |
Definition at line 1814 of file klfmainwin.cpp.
References u.
QHash< QWidget *, bool > KLFMainWin::prepareAllWindowShownStatus | ( | bool | visibleStatus, |
bool | mainWindowToo = false |
||
) |
Definition at line 1685 of file klfmainwin.cpp.
References pWindowList, and QList::size().
Referenced by hideEvent().
void KLFMainWin::quit | ( | ) | [slot] |
Definition at line 1511 of file klfmainwin.cpp.
References QWidget::hide(), KLF_DEBUG_BLOCK, KLF_FUNC_NAME, mLatexSymbols, mLibBrowser, mSettingsDialog, and mStyleManager.
Referenced by closeEvent(), and KLFMainWin().
void KLFMainWin::refreshAllWindowStyleSheets | ( | ) | [slot] |
Definition at line 1665 of file klfmainwin.cpp.
References pWindowList, and QList::size().
Referenced by KLFSettings::apply().
void KLFMainWin::refreshShowCorrectClearButton | ( | ) | [slot] |
Definition at line 572 of file klfmainwin.cpp.
References KLFConfig::clearLatexOnly, klfconfig, u, and KLFConfig::UI.
Referenced by KLFSettings::apply(), and KLFMainWin().
void KLFMainWin::refreshStylePopupMenus | ( | ) | [slot] |
Definition at line 711 of file klfmainwin.cpp.
References _styles, QMenu::addAction(), QMenu::addSeparator(), QMenu::clear(), mStyleMenu, QAction::setData(), QList::size(), and slotStyleManager().
Referenced by KLFMainWin(), loadStyles(), retranslateUi(), and slotSaveStyle().
void KLFMainWin::refreshWindowSizes | ( | ) | [slot] |
Definition at line 555 of file klfmainwin.cpp.
References _expandedsize, _shrinkedsize, QWidget::setFixedSize(), QSize::setHeight(), QSize::setWidth(), u, and QWidget::updateGeometry().
Referenced by KLFSettings::apply(), KLFMainWin(), and main().
void KLFMainWin::registerDataOpener | ( | KLFAbstractDataOpener * | dataopener | ) |
Definition at line 1462 of file klfmainwin.cpp.
References QList::append(), KLF_ASSERT_NOT_NULL, and pDataOpeners.
Referenced by KLFMainWin().
void KLFMainWin::registerHelpLinkAction | ( | const QString & | path, |
QObject * | object, | ||
const char * | member, | ||
bool | wantUrlParam | ||
) |
Definition at line 1443 of file klfmainwin.cpp.
References mHelpLinkActions.
void KLFMainWin::registerOutputSaver | ( | KLFAbstractOutputSaver * | outputsaver | ) |
Definition at line 1450 of file klfmainwin.cpp.
References QList::append(), KLF_ASSERT_NOT_NULL, and pOutputSavers.
void KLFMainWin::restoreFromLibrary | ( | const KLFLibEntry & | entry, |
uint | restoreflags | ||
) | [slot] |
Definition at line 1092 of file klfmainwin.cpp.
References QWidget::activateWindow(), KLFLibEntry::latexWithCategoryTagsComments(), KLFLibEntry::preview(), KLFLib::RestoreLatex, KLFLib::RestoreStyle, slotLoadStyle(), slotSetLatex(), KLFLibEntry::style(), QWidget::style(), and u.
Referenced by KLFMainWin().
void KLFMainWin::retranslateUi | ( | bool | alsoBaseUi = true | ) | [slot] |
Definition at line 482 of file klfmainwin.cpp.
References QString::fromUtf8(), refreshStylePopupMenus(), and u.
Referenced by KLFMainWin().
void KLFMainWin::saveLibraryState | ( | ) | [slot] |
Definition at line 1053 of file klfmainwin.cpp.
References QDomDocument::createElement(), KLFConfig::homeConfigDir, klfconfig, klfSaveVariantMapToXML(), mLibBrowser, QFile::open(), KLFLibBrowser::saveGuiState(), and QDomDocument::toByteArray().
Referenced by ~KLFMainWin().
void KLFMainWin::saveSettings | ( | ) | [slot] |
Definition at line 621 of file klfmainwin.cpp.
References _settings, _settings_altered, KLFConfig::BackendSettings, KLFBackend::klfSettings::bborderoffset, KLFConfig::bborderoffset, collectInput(), KLFConfig::colorChooseWidgetCustom, KLFConfig::colorChooseWidgetRecent, KLFColorChooser::colorList(), KLFConfig::copyExportProfile, KLFColorChooseWidget::customColors(), KLFConfig::dragExportProfile, KLFBackend::klfSettings::dvipsexec, KLFConfig::enableRealTimePreview, KLFConfig::enableToolTipPreview, KLFBackend::klfSettings::epstopdfexec, KLFConfig::execDvips, KLFBackend::klfSettings::execenv, KLFConfig::execenv, KLFConfig::execEpstopdf, KLFConfig::execGs, KLFConfig::execLatex, KLFConfig::glowEffect, KLFConfig::glowEffectColor, KLFConfig::glowEffectRadius, KLFBackend::klfSettings::gsexec, QSize::height(), QThread::isRunning(), klfconfig, klfDbg, KLFConfig::labelOutputFixedSize, KLFBackend::klfSettings::latexexec, KLFBackend::klfSettings::lborderoffset, KLFConfig::lborderoffset, KLFConfig::menuExportProfileAffectsCopy, KLFConfig::menuExportProfileAffectsDrag, mPreviewBuilderThread, KLFBackend::klfSettings::outlineFonts, KLFConfig::outlineFonts, pExportProfileQuickMenuActionList, KLFBackend::klfSettings::rborderoffset, KLFConfig::rborderoffset, KLFColorChooseWidget::recentColors(), KLFPreviewBuilderThread::settingsChanged(), QList::size(), QThread::start(), KLFBackend::klfSettings::tborderoffset, KLFConfig::tborderoffset, KLFBackend::klfSettings::tempdir, KLFConfig::tempDir, u, KLFConfig::UI, KLFConfig::userColorList, QSize::width(), and KLFConfig::writeToConfig().
Referenced by KLFSettings::apply(), slotSetExportProfile(), and ~KLFMainWin().
void KLFMainWin::saveStyles | ( | ) | [slot] |
Definition at line 822 of file klfmainwin.cpp.
References _styles, QString::arg(), QMessageBox::critical(), KLFConfig::ensureHomeConfigDir(), KLFConfig::homeConfigDir, KLF_DATA_STREAM_APP_VERSION, klfconfig, klfDataStreamWriteHeader(), and QFile::open().
Referenced by KLFMainWin(), slotSaveStyle(), and ~KLFMainWin().
void KLFMainWin::setApplicationLocale | ( | const QString & | locale | ) | [slot] |
Definition at line 2341 of file klfmainwin.cpp.
References applicationLocaleChanged(), and klf_reload_translations().
Referenced by KLFSettings::apply().
void KLFMainWin::setQuitOnClose | ( | bool | quitOnClose | ) | [slot] |
Definition at line 1505 of file klfmainwin.cpp.
References _ignore_close_event.
KLFSettings* KLFMainWin::settingsDialog | ( | ) | [inline] |
Definition at line 271 of file klfmainwin.h.
Referenced by KLFAddOnDataOpener::openFile().
void KLFMainWin::setTxtLatexFont | ( | const QFont & | f | ) | [slot] |
void KLFMainWin::setTxtPreambleFont | ( | const QFont & | f | ) | [slot] |
void KLFMainWin::setWidgetStyle | ( | const QString & | qtstyle | ) | [slot] |
Definition at line 1474 of file klfmainwin.cpp.
References _widgetstyle, QWidget::create(), QStringList::indexOf(), QString::isNull(), and QStyleFactory::keys().
Definition at line 1696 of file klfmainwin.cpp.
References QHash::begin(), QHash::end(), and QMetaObject::invokeMethod().
Referenced by hideEvent(), and showEvent().
void KLFMainWin::showAbout | ( | ) | [slot] |
Definition at line 1378 of file klfmainwin.cpp.
References mAboutDialog, and KLFAboutDialog::show().
Referenced by KLFMainWin().
void KLFMainWin::showEvent | ( | QShowEvent * | e | ) | [protected] |
Reimplemented from QWidget.
Definition at line 1714 of file klfmainwin.cpp.
References _firstshow, QHash::contains(), KLFConfig::Core, QMetaObject::invokeMethod(), klf_set_window_geometry(), klfconfig, pLastWindowGeometries, pSavedWindowShownStatus, setWindowShownStatus(), and KLFConfig::thisVersionMajMinFirstRun.
void KLFMainWin::showExportMsgLabel | ( | const QString & | msg, |
int | timeout = 3000 |
||
) | [protected] |
Definition at line 695 of file klfmainwin.cpp.
References mExportMsgLabel, and pExportMsgLabelTimerId.
Referenced by slotCopy().
void KLFMainWin::showRealTimePreview | ( | const QImage & | preview, |
bool | latexerror | ||
) | [slot] |
Definition at line 1852 of file klfmainwin.cpp.
References _evaloutput_uptodate, klfDbg, QImage::size(), and u.
Referenced by KLFMainWin().
void KLFMainWin::showSettingsHelpLinkAction | ( | const QUrl & | link | ) | [slot] |
Definition at line 1393 of file klfmainwin.cpp.
References klfDbg, mSettingsDialog, QUrl::queryItemValue(), KLFSettings::show(), and KLFSettings::showControl().
void KLFMainWin::showWhatsNew | ( | ) | [slot] |
Definition at line 1383 of file klfmainwin.cpp.
References QApplication::desktop(), QSize::height(), mWhatsNewDialog, KLFWhatsNewDialog::show(), and QSize::width().
void KLFMainWin::slotActivateEditor | ( | ) | [slot] |
Definition at line 2634 of file klfmainwin.cpp.
References QWidget::activateWindow(), and u.
Referenced by KLFMainWin(), and slotActivateEditorSelectAll().
void KLFMainWin::slotActivateEditorSelectAll | ( | ) | [slot] |
Definition at line 2641 of file klfmainwin.cpp.
References slotActivateEditor(), and u.
Referenced by KLFMainWin().
void KLFMainWin::slotClear | ( | ) | [inline, slot] |
Definition at line 308 of file klfmainwin.h.
void KLFMainWin::slotClearAll | ( | ) | [slot] |
Definition at line 2041 of file klfmainwin.cpp.
References loadDefaultStyle(), and slotClearLatex().
Referenced by KLFMainWin().
void KLFMainWin::slotClearLatex | ( | ) | [slot] |
Definition at line 2037 of file klfmainwin.cpp.
References u.
Referenced by KLFMainWin(), and slotClearAll().
void KLFMainWin::slotCopy | ( | ) | [slot] |
Definition at line 2436 of file klfmainwin.cpp.
References _output, QApplication::clipboard(), KLFConfig::copyExportProfile, KLFMimeExporter::data(), KLFMimeExportProfile::description(), KLFMimeExportProfile::findExportProfile(), QString::isEmpty(), KLF_FUNC_NAME, klfconfig, KLFMimeExporter::mimeExporterLookup(), KLFMimeExportProfile::mimeTypes(), KLFMimeExportProfile::respectiveWinType(), showExportMsgLabel(), KLFConfig::UI, and QWidget::winId().
Referenced by eventFilter(), and KLFMainWin().
void KLFMainWin::slotDrag | ( | ) | [slot] |
Definition at line 2388 of file klfmainwin.cpp.
References _output, QPainter::boundingRect(), KLFMimeExportProfile::description(), KLFConfig::dragExportProfile, QPainter::drawText(), QPainter::fillRect(), KLFMimeExportProfile::findExportProfile(), QPixmap::fromImage(), QPixmap::height(), QSize::height(), QImage::height(), QImage::isNull(), klfconfig, klfDbg, KLFBackend::klfOutput::result, QImage::scaled(), QDrag::setDragCursor(), QPainter::setFont(), QDrag::setHotSpot(), QDrag::setMimeData(), QPainter::setPen(), QFont::setPixelSize(), QDrag::setPixmap(), QPainter::setRenderHint(), QImage::size(), KLFConfig::UI, QPixmap::width(), QSize::width(), and QImage::width().
Referenced by KLFMainWin().
void KLFMainWin::slotEnsurePreambleCmd | ( | const QString & | line | ) | [slot] |
If line
is already in the preamble, then does nothing. Otherwise appends line
to the preamble text.
Definition at line 2107 of file klfmainwin.cpp.
References QTextCursor::beginEditBlock(), QTextCursor::endEditBlock(), QString::indexOf(), QTextCursor::insertText(), QString::length(), QTextCursor::movePosition(), and u.
Referenced by insertSymbol().
void KLFMainWin::slotEvaluate | ( | ) | [slot] |
Definition at line 1892 of file klfmainwin.cpp.
References _evaloutput_uptodate, _output, _settings, KLFBackend::klfSettings::bborderoffset, KLFLibEntry::category(), KLFLibEntry::Category, collectInput(), QMessageBox::critical(), QDateTime::currentDateTime(), currentStyle(), KLFLibEntry::DateTime, KLFLibResourceEngine::defaultSubResource(), KLFBackend::klfOutput::errorstr, evaluateFinished(), KLFSettings::ExecutablePaths, KLFLibResourceEngine::FeatureSubResourceProps, KLFLibResourceEngine::FeatureSubResources, KLFLibResourceEngine::QueryResult::FillRawEntryList, QPixmap::fromImage(), KLFBackend::getLatexFormula(), QSize::height(), QImage::height(), KLFLibResourceEngine::insertEntry(), KLFLibResourceEngine::isReadOnly(), klfconfig, KLFERR_NODVIPSPROG, KLFERR_NOEPSTOPDFPROG, KLFERR_NOGSPROG, KLFERR_NOLATEXPROG, KLFConfig::labelOutputFixedSize, KLFLibEntry::latex(), KLFLibEntry::Latex, KLFBackend::klfInput::latex, KLFBackend::klfSettings::lborderoffset, KLFLibResourceEngine::Query::limit, KLFLibResourceEngine::locked(), KLFLibResourceEngine::Query::matchCondition, mHistoryLibResource, KLFLib::EntryMatchCondition::mkMatchAll(), mSettingsDialog, KLFLibResourceEngine::Query::orderDirection, KLFLibResourceEngine::Query::orderPropId, KLFConfig::previewTooltipMaxSize, KLFLibResourceEngine::query(), KLFBackend::klfSettings::rborderoffset, KLFBackend::klfOutput::result, QImage::scaled(), KLFLibResourceEngine::setLocked(), KLFLibResourceEngine::setSubResourceProperty(), KLFSettings::show(), KLFSettings::showControl(), KLFProgErr::showError(), QImage::size(), KLFLibResourceEngine::Query::skip, KLFBackend::klfOutput::status, KLFLibEntry::style(), KLFLibEntry::Style, KLFLibResourceEngine::subResourceProperty(), KLFLibResourceEngine::SubResPropLocked, KLFLibResourceEngine::supportedFeatureFlags(), KLFLibEntry::tags(), KLFLibEntry::Tags, KLFBackend::klfSettings::tborderoffset, QPixmap::toImage(), u, KLFConfig::UI, KLFLibResourceEngine::Query::wantedEntryProperties, QMessageBox::warning(), QSize::width(), and QImage::width().
Referenced by eventFilter(), KLFMainWin(), and slotEvaluateAndSave().
Definition at line 2157 of file klfmainwin.cpp.
References _output, QMessageBox::critical(), QString::isEmpty(), QImage::isNull(), KLFBackend::klfOutput::result, KLFBackend::saveOutputToFile(), slotEvaluate(), QString::trimmed(), and u.
Referenced by KLFDBusAppAdaptor::evaluateAndSave(), and main().
void KLFMainWin::slotExpand | ( | bool | expanded = true | ) | [slot] |
Definition at line 2081 of file klfmainwin.cpp.
References slotExpandOrShrink(), and u.
Referenced by eventFilter().
void KLFMainWin::slotExpandOrShrink | ( | ) | [slot] |
Definition at line 2067 of file klfmainwin.cpp.
References _expandedsize, _shrinkedsize, QWidget::setFixedSize(), and u.
Referenced by KLFMainWin(), and slotExpand().
void KLFMainWin::slotLibrary | ( | bool | showlib | ) | [slot] |
Definition at line 2048 of file klfmainwin.cpp.
References QWidget::activateWindow(), klfDbg, mLibBrowser, QWidget::raise(), and QWidget::setShown().
Referenced by KLFMainWin(), openLibFile(), and openLibFiles().
void KLFMainWin::slotLibraryButtonRefreshState | ( | bool | on | ) | [slot] |
void KLFMainWin::slotLoadStyle | ( | int | stylenum | ) | [slot] |
Definition at line 2736 of file klfmainwin.cpp.
References _styles, and QList::size().
Referenced by KLFMainWin(), loadNamedStyle(), and restoreFromLibrary().
void KLFMainWin::slotLoadStyle | ( | const KLFStyle & | style | ) | [slot] |
Definition at line 2711 of file klfmainwin.cpp.
References KLFStyle::bg_color, KLFStyle::dpi, KLFStyle::fg_color, KLFStyle::mathmode, KLFStyle::overrideBBoxExpand, KLFStyle::preamble, QColor::setRgb(), QString::simplified(), slotSetPreamble(), and u.
void KLFMainWin::slotPresetDPISender | ( | ) | [slot] |
Definition at line 2663 of file klfmainwin.cpp.
References QAction::data(), and slotSetDPI().
Referenced by KLFMainWin().
void KLFMainWin::slotSave | ( | const QString & | suggestedFname = QString::null | ) | [slot] |
Definition at line 2477 of file klfmainwin.cpp.
References _output, QFileInfo::absolutePath(), QMessageBox::addButton(), QString::arg(), QList::begin(), QMessageBox::clickedButton(), QMap::contains(), QMessageBox::critical(), QList::end(), QMessageBox::exec(), QFile::exists(), format, QFileDialog::getSaveFileName(), QStringList::indexOf(), QString::isEmpty(), QStringList::join(), KLF_FUNC_NAME, klfconfig, KLFConfig::lastSaveDir, pOutputSavers, KLFBackend::saveOutputToFile(), KLFAbstractOutputSaver::saveToFile(), QMessageBox::setDefaultButton(), QMessageBox::setEscapeButton(), QFileInfo::setFile(), QMessageBox::setWindowTitle(), QList::size(), QFileInfo::suffix(), QImageWriter::supportedImageFormats(), QString::toLower(), KLFConfig::UI, and QMessageBox::warning().
Referenced by KLFMainWin().
void KLFMainWin::slotSaveStyle | ( | ) | [slot] |
Definition at line 2743 of file klfmainwin.cpp.
References _styles, QList::append(), currentStyle(), QInputDialog::getText(), QString::isEmpty(), KLFStyle::name, QMessageBox::question(), refreshStylePopupMenus(), saveStyles(), QList::size(), stylesChanged(), and QString::trimmed().
Referenced by KLFMainWin().
void KLFMainWin::slotSetBgColor | ( | const QString & | bgcolor | ) | [slot] |
Definition at line 2147 of file klfmainwin.cpp.
References QColor::setNamedColor(), QColor::setRgb(), and slotSetBgColor().
void KLFMainWin::slotSetBgColor | ( | const QColor & | bgcolor | ) | [slot] |
Definition at line 2143 of file klfmainwin.cpp.
References u.
Referenced by main(), KLFDBusAppAdaptor::setInputData(), and slotSetBgColor().
void KLFMainWin::slotSetDPI | ( | int | DPI | ) | [slot] |
Definition at line 2128 of file klfmainwin.cpp.
References u.
Referenced by main(), KLFDBusAppAdaptor::setInputData(), and slotPresetDPISender().
void KLFMainWin::slotSetExportProfile | ( | const QString & | exportProfile | ) | [slot] |
Definition at line 2348 of file klfmainwin.cpp.
References KLFConfig::copyExportProfile, KLFConfig::dragExportProfile, klfconfig, KLFConfig::menuExportProfileAffectsCopy, KLFConfig::menuExportProfileAffectsDrag, saveSettings(), and KLFConfig::UI.
Referenced by startupFinished().
void KLFMainWin::slotSetFgColor | ( | const QColor & | fgcolor | ) | [slot] |
Definition at line 2133 of file klfmainwin.cpp.
References u.
Referenced by main(), KLFDBusAppAdaptor::setInputData(), and slotSetFgColor().
void KLFMainWin::slotSetFgColor | ( | const QString & | fgcolor | ) | [slot] |
Definition at line 2137 of file klfmainwin.cpp.
References QColor::setNamedColor(), and slotSetFgColor().
void KLFMainWin::slotSetLatex | ( | const QString & | latex | ) | [slot] |
Definition at line 2090 of file klfmainwin.cpp.
References u.
Referenced by main(), restoreFromLibrary(), and KLFDBusAppAdaptor::setInputData().
void KLFMainWin::slotSetMathMode | ( | const QString & | mathmode | ) | [slot] |
Definition at line 2095 of file klfmainwin.cpp.
References QString::simplified(), and u.
Referenced by main(), and KLFDBusAppAdaptor::setInputData().
void KLFMainWin::slotSetPreamble | ( | const QString & | preamble | ) | [slot] |
Definition at line 2102 of file klfmainwin.cpp.
References u.
Referenced by main(), KLFDBusAppAdaptor::setInputData(), and slotLoadStyle().
void KLFMainWin::slotSettings | ( | ) | [slot] |
Definition at line 2796 of file klfmainwin.cpp.
References mSettingsDialog, and KLFSettings::show().
Referenced by KLFMainWin().
void KLFMainWin::slotShowBigPreview | ( | ) | [slot] |
Definition at line 2647 of file klfmainwin.cpp.
References QString::arg(), QWhatsThis::showText(), and u.
Referenced by KLFMainWin().
void KLFMainWin::slotStyleManager | ( | ) | [slot] |
Definition at line 2790 of file klfmainwin.cpp.
References mStyleManager, and QWidget::show().
Referenced by refreshStylePopupMenus().
void KLFMainWin::slotSymbols | ( | bool | showsymbs = true | ) | [slot] |
Definition at line 2059 of file klfmainwin.cpp.
References QWidget::activateWindow(), mLatexSymbols, QWidget::raise(), QWidget::setShown(), and slotSymbolsButtonRefreshState().
Referenced by KLFMainWin().
void KLFMainWin::slotSymbolsButtonRefreshState | ( | bool | on | ) | [slot] |
Definition at line 1373 of file klfmainwin.cpp.
References u.
Referenced by eventFilter(), and slotSymbols().
void KLFMainWin::startupFinished | ( | ) |
called by main.cpp right after show(), just before entering into event loop.
Definition at line 517 of file klfmainwin.cpp.
References QMenu::addAction(), QList::append(), QList::clear(), KLFConfig::copyExportProfile, KLFConfig::dragExportProfile, KLFMimeExportProfile::exportProfileList(), klfconfig, pExportProfileQuickMenuActionList, QAction::setData(), QSignalMapper::setMapping(), QList::size(), slotSetExportProfile(), u, and KLFConfig::UI.
Referenced by main().
KLFStyleManager* KLFMainWin::styleManagerWidget | ( | ) | [inline] |
Definition at line 270 of file klfmainwin.h.
QMenu* KLFMainWin::styleMenu | ( | ) | [inline] |
Definition at line 272 of file klfmainwin.h.
void KLFMainWin::stylesChanged | ( | ) | [signal] |
Referenced by KLFMainWin(), and slotSaveStyle().
KLFLatexSyntaxHighlighter * KLFMainWin::syntaxHighlighter | ( | ) |
Definition at line 1810 of file klfmainwin.cpp.
References u.
void KLFMainWin::timerEvent | ( | QTimerEvent * | e | ) | [protected] |
Definition at line 1736 of file klfmainwin.cpp.
References QColor::alpha(), QPalette::color(), mExportMsgLabel, pExportMsgLabelTimerId, QColor::setAlpha(), QPalette::setColor(), and QTimerEvent::timerId().
bool KLFMainWin::try_load_style_list | ( | const QString & | fileName | ) | [protected] |
Definition at line 751 of file klfmainwin.cpp.
References _styles, QMessageBox::critical(), QFile::exists(), QString::isEmpty(), klfDataStreamReadHeader(), QFile::open(), and QMessageBox::warning().
Referenced by loadStyles().
QFont KLFMainWin::txtLatexFont | ( | ) | const [virtual] |
Definition at line 2694 of file klfmainwin.cpp.
References u.
QFont KLFMainWin::txtPreambleFont | ( | ) | const [virtual] |
Definition at line 2698 of file klfmainwin.cpp.
References u.
void KLFMainWin::unregisterDataOpener | ( | KLFAbstractDataOpener * | dataopener | ) |
Definition at line 1468 of file klfmainwin.cpp.
References pDataOpeners, and QList::removeAll().
void KLFMainWin::unregisterOutputSaver | ( | KLFAbstractOutputSaver * | outputsaver | ) |
Definition at line 1457 of file klfmainwin.cpp.
References pOutputSavers, and QList::removeAll().
void KLFMainWin::updatePreviewBuilderThreadInput | ( | ) | [slot] |
Definition at line 1835 of file klfmainwin.cpp.
References _evaloutput_uptodate, collectInput(), KLFPreviewBuilderThread::inputChanged(), and mPreviewBuilderThread.
Referenced by KLFMainWin().
QString KLFMainWin::widgetStyle | ( | ) | const [inline] |
Definition at line 282 of file klfmainwin.h.
bool KLFMainWin::_evaloutput_uptodate [protected] |
If TRUE, then the output contained in _output is up-to-date, meaning that we favor displaying _output.result instead of the image given by mPreviewBuilderThread.
Definition at line 465 of file klfmainwin.h.
Referenced by KLFMainWin(), showRealTimePreview(), slotEvaluate(), and updatePreviewBuilderThreadInput().
QSize KLFMainWin::_expandedsize [protected] |
Definition at line 482 of file klfmainwin.h.
Referenced by refreshWindowSizes(), and slotExpandOrShrink().
bool KLFMainWin::_firstshow [protected] |
Definition at line 455 of file klfmainwin.h.
Referenced by KLFMainWin(), and showEvent().
bool KLFMainWin::_ignore_close_event [protected] |
Definition at line 494 of file klfmainwin.h.
Referenced by closeEvent(), and setQuitOnClose().
bool KLFMainWin::_loadedlibrary [protected] |
Definition at line 454 of file klfmainwin.h.
Referenced by KLFMainWin().
KLFBackend::klfOutput KLFMainWin::_output [protected] |
Definition at line 460 of file klfmainwin.h.
Referenced by KLFMainWin(), slotCopy(), slotDrag(), slotEvaluate(), slotEvaluateAndSave(), and slotSave().
KLFBackend::klfSettings KLFMainWin::_settings [protected] |
Definition at line 457 of file klfmainwin.h.
Referenced by alterSetting(), applySettings(), KLFMainWin(), loadSettings(), saveSettings(), and slotEvaluate().
bool KLFMainWin::_settings_altered [protected] |
Definition at line 458 of file klfmainwin.h.
Referenced by alterSetting(), applySettings(), loadSettings(), and saveSettings().
QSize KLFMainWin::_shrinkedsize [protected] |
Definition at line 481 of file klfmainwin.h.
Referenced by KLFMainWin(), refreshWindowSizes(), and slotExpandOrShrink().
KLFStyleList KLFMainWin::_styles [protected] |
Definition at line 448 of file klfmainwin.h.
Referenced by KLFMainWin(), loadNamedStyle(), loadStyles(), refreshStylePopupMenus(), saveStyles(), slotLoadStyle(), slotSaveStyle(), and try_load_style_list().
QString KLFMainWin::_widgetstyle [protected] |
Definition at line 508 of file klfmainwin.h.
Referenced by setWidgetStyle().
KLFAboutDialog* KLFMainWin::mAboutDialog [protected] |
Definition at line 430 of file klfmainwin.h.
Referenced by KLFMainWin(), and showAbout().
QLabel* KLFMainWin::mExportMsgLabel [protected] |
Definition at line 469 of file klfmainwin.h.
Referenced by KLFMainWin(), showExportMsgLabel(), and timerEvent().
QList<HelpLinkAction> KLFMainWin::mHelpLinkActions [protected] |
Definition at line 444 of file klfmainwin.h.
Referenced by helpLinkAction(), KLFMainWin(), and registerHelpLinkAction().
KLFLibResourceEngine* KLFMainWin::mHistoryLibResource [protected] |
Definition at line 446 of file klfmainwin.h.
Referenced by loadLibrary(), and slotEvaluate().
KLFLatexSymbols* KLFMainWin::mLatexSymbols [protected] |
Definition at line 427 of file klfmainwin.h.
Referenced by eventFilter(), KLFMainWin(), quit(), slotSymbols(), and ~KLFMainWin().
KLFLibBrowser* KLFMainWin::mLibBrowser [protected] |
Definition at line 426 of file klfmainwin.h.
Referenced by eventFilter(), KLFMainWin(), loadLibrary(), loadLibrarySavedState(), openLibFile(), quit(), saveLibraryState(), slotLibrary(), and ~KLFMainWin().
KLFMainWinPopup* KLFMainWin::mPopup [protected] |
Definition at line 433 of file klfmainwin.h.
Referenced by eventFilter(), and KLFMainWin().
KLFPreviewBuilderThread* KLFMainWin::mPreviewBuilderThread [protected] |
The Thread that will create real-time previews of formulas.
Definition at line 467 of file klfmainwin.h.
Referenced by KLFMainWin(), saveSettings(), updatePreviewBuilderThreadInput(), and ~KLFMainWin().
KLFSettings* KLFMainWin::mSettingsDialog [protected] |
Definition at line 429 of file klfmainwin.h.
Referenced by KLFMainWin(), quit(), showSettingsHelpLinkAction(), slotEvaluate(), slotSettings(), and ~KLFMainWin().
KLFStyleManager* KLFMainWin::mStyleManager [protected] |
Definition at line 428 of file klfmainwin.h.
Referenced by KLFMainWin(), quit(), and slotStyleManager().
QMenu* KLFMainWin::mStyleMenu [protected] |
Definition at line 452 of file klfmainwin.h.
Referenced by loadStyles(), refreshStylePopupMenus(), and ~KLFMainWin().
KLFWhatsNewDialog* KLFMainWin::mWhatsNewDialog [protected] |
Definition at line 431 of file klfmainwin.h.
Referenced by addWhatsNewText(), KLFMainWin(), and showWhatsNew().
QList<KLFAbstractDataOpener*> KLFMainWin::pDataOpeners [protected] |
Definition at line 514 of file klfmainwin.h.
Referenced by canOpenData(), canOpenFile(), openData(), openFile(), registerDataOpener(), and unregisterDataOpener().
int KLFMainWin::pExportMsgLabelTimerId [protected] |
Definition at line 471 of file klfmainwin.h.
Referenced by KLFMainWin(), showExportMsgLabel(), and timerEvent().
QList<QAction*> KLFMainWin::pExportProfileQuickMenuActionList [protected] |
Definition at line 479 of file klfmainwin.h.
Referenced by saveSettings(), and startupFinished().
QHash<QWidget*,QRect> KLFMainWin::pLastWindowGeometries [protected] |
Definition at line 500 of file klfmainwin.h.
Referenced by eventFilter(), hideEvent(), and showEvent().
QHash<QWidget*,bool> KLFMainWin::pLastWindowShownStatus [protected] |
"last" window status flags are used in eventFilter() to detect individual dialog geometries resetting
Definition at line 499 of file klfmainwin.h.
Referenced by eventFilter().
QList<KLFAbstractOutputSaver*> KLFMainWin::pOutputSavers [protected] |
Definition at line 513 of file klfmainwin.h.
Referenced by registerOutputSaver(), slotSave(), and unregisterOutputSaver().
QHash<QWidget*,bool> KLFMainWin::pSavedWindowShownStatus [protected] |
"saved" window status flags are used in hideEvent() to save the individual dialog visible states, as the "last" status flags will be overridden by all the windows hiding.
Definition at line 503 of file klfmainwin.h.
Referenced by hideEvent(), and showEvent().
QList<QWidget*> KLFMainWin::pWindowList [protected] |
Definition at line 496 of file klfmainwin.h.
Referenced by childEvent(), currentWindowShownStatus(), eventFilter(), prepareAllWindowShownStatus(), and refreshAllWindowStyleSheets().
Ui::KLFMainWin* KLFMainWin::u [protected] |
Definition at line 424 of file klfmainwin.h.
Referenced by collectInput(), currentStyle(), eventFilter(), getMissingCmdsFor(), insertDelimiter(), insertSymbol(), KLFMainWin(), latexEdit(), loadStyles(), preambleSyntaxHighlighter(), refreshShowCorrectClearButton(), refreshWindowSizes(), restoreFromLibrary(), retranslateUi(), saveSettings(), setTxtLatexFont(), setTxtPreambleFont(), showRealTimePreview(), slotActivateEditor(), slotActivateEditorSelectAll(), slotClearLatex(), slotEnsurePreambleCmd(), slotEvaluate(), slotEvaluateAndSave(), slotExpand(), slotExpandOrShrink(), slotLibraryButtonRefreshState(), slotLoadStyle(), slotSetBgColor(), slotSetDPI(), slotSetFgColor(), slotSetLatex(), slotSetMathMode(), slotSetPreamble(), slotShowBigPreview(), slotSymbolsButtonRefreshState(), startupFinished(), syntaxHighlighter(), txtLatexFont(), txtPreambleFont(), and ~KLFMainWin().
QString KLFMainWin::widgetStyle [read, write] |
Definition at line 221 of file klfmainwin.h.