parley
practicemainwindow.cpp
Go to the documentation of this file.
48 m_stateMachine = new PracticeStateMachine(m_guiFrontend, mainWindow->parleyDocument(), sessionManager, this);
90 toggleAnswerState->setHelpText(i18n("When you answered, Parley will display that the answer was right or wrong.\nThis shortcut changes how the answer is counted."));
120 m_animation->setStartValue(QRect(QPoint(0, -m_floatingToolBar->height()), m_floatingToolBar->size()));
131 if (m_animation->direction() == QAbstractAnimation::Backward && pos.y() <= m_floatingToolBar->height()) {
135 if (m_animation->direction() == QAbstractAnimation::Forward && pos.y() > (m_floatingToolBar->height() + 20)) {
160 QString knownLangLocale = m_mainWindow->parleyDocument()->document()->identifier(Prefs::knownLanguage()).locale();
166 QString learningLangLocale = m_mainWindow->parleyDocument()->document()->identifier(Prefs::learningLanguage()).locale();
Type type() const
Definition: guifrontend.h:35
void practiceFinished()
Definition: practicemainwindow.cpp:175
void stopPractice()
void setDefaultAction(QAction *action)
Definition: parleymainwindow.h:41
virtual void modeWidgetDestroyed(QObject *obj=0)
To be called prior to deleting a modeWidget.
Definition: guifrontend.cpp:431
virtual void setVisible(bool visible)
~PracticeMainWindow()
Definition: practicemainwindow.cpp:63
void setStartValue(const QVariant &value)
int y() const
void setGeometry(int x, int y, int w, int h)
void resize(int w, int h)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
void stop()
void setLayout(QLayout *layout)
void setIconSize(const QSize &size)
void enterPressed()
virtual bool event(QEvent *event)
Definition: practicemainwindow.cpp:127
void setAutoRaise(bool enable)
Definition: languagesettings.h:10
sizeHint
PracticeMainWindow(SessionManagerBase *sessionManager, ParleyMainWindow *mainWindow=0)
Definition: practicemainwindow.cpp:37
virtual void resizeEvent(QResizeEvent *e)
Definition: practicemainwindow.cpp:117
void addStretch(int stretch)
void setEndValue(const QVariant &value)
void setDuration(int msecs)
void startPractice()
Definition: practicemainwindow.cpp:155
void setKnownLangFont(const QFont &font)
Definition: guifrontend.cpp:223
void setAutoFillBackground(bool enabled)
void start(QAbstractAnimation::DeletionPolicy policy)
ParleyDocument * parleyDocument()
Return the ParleyDocument member object.
Definition: parleymainwindow.cpp:413
void setToolButtonStyle(Qt::ToolButtonStyle style)
void setDirection(Direction direction)
void setLearningLangFont(const QFont &font)
Definition: guifrontend.cpp:228
height
void toggleFullScreenMode(bool fullScreen)
Definition: practicemainwindow.cpp:144
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.