Hello all,
i have inserted a second QToolBar at the bottom of QMainWindow,
this toolbar in my desire should be shown/hided-enabled by user.
like a search bar in webbrowser.
Qt Code:
if (! m_findReplaceBar->isVisible()) { m_findReplaceBar->show(); QPropertyAnimation *a = m_findReplaceBar->m_animator; if (a) { a-> setEndValue(rect); rect.setTop(rect.bottom()); a->setStartValue(rect); a->start(); } }To copy to clipboard, switch view to plain text mode
i found it after calling show() for the toolbar, the space which for the full rage of toolbar is preserved while not updated together with
the toolbar's animation.
Unbenannt.jpg
well the example is above. it loooooks so ugly
Bookmarks