Logo Search packages:      
Sourcecode: kdenlive version File versions

int StatusBarMessageLabel::availableTextWidth (  )  const [private, slot]

Returns the available width in pixels for the text.

Definition at line 268 of file statusbarmessagelabel.cpp.

Referenced by assureVisibleText(), paintEvent(), and widthGap().

                                                    {
    const int buttonWidth = 0; /*(m_type == ErrorMessage) ?
                            m_closeButton->width() + BorderGap : 0;*/
    return width() - m_pixmap.width() - (BorderGap * 4) - buttonWidth;
}


Generated by  Doxygen 1.6.0   Back to index