Find/replace tool bar wasn't usable in very small width editors.

E.g. in split editors with small main window. We now have line edits
with a minimum size and use a flow layout for the replace buttons (which
will reduce width when necessary by laying out vertically).

Flow layout is taken from the Qt examples.

Task-number: QTCREATORBUG-3279
Change-Id: Ic07d4d3e75e3d928d6b53534adb42481ce26256b
Reviewed-on: http://codereview.qt.nokia.com/666
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
This commit is contained in:
con
2011-06-23 14:35:45 +02:00
committed by Eike Ziller
parent fbce58bf8c
commit 78fa1bb0aa
6 changed files with 300 additions and 150 deletions

View File

@@ -20,7 +20,6 @@ SOURCES += mainwindow.cpp \
tabpositionindicator.cpp \
fancyactionbar.cpp \
fancytabwidget.cpp \
flowlayout.cpp \
generalsettings.cpp \
filemanager.cpp \
uniqueidmanager.cpp \
@@ -99,7 +98,6 @@ HEADERS += mainwindow.h \
tabpositionindicator.h \
fancyactionbar.h \
fancytabwidget.h \
flowlayout.h \
generalsettings.h \
filemanager.h \
uniqueidmanager.h \