Logo Search packages:      
Sourcecode: yzis version File versions  Download package

void YView::updateMode (  ) 

Update the GUI when current mode has changed. Updates the status bar and informs the GUI through guiUpdateMode, which should update the cursor shape.

Can't be called until the GUI has been initialized.

Definition at line 292 of file view.cpp.

References currentMode(), YViewIface::guiStatusBar(), YViewIface::guiUpdateMode(), isRecording(), YStatusBarIface::setMode(), and YMode::toString().

Referenced by YSession::createView(), YModePool::pop(), YModePool::push(), and YBuffer::updateAllViews().

    QString mode;

    mode = currentMode()->toString();
    if (isRecording())
        mode += _(" { Recording }");

    if (guiStatusBar())

Generated by  Doxygen 1.6.0   Back to index