From be70fd89be787e2b24604f9ba785b87c1f8f1d22 Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Sat, 26 Jun 2010 07:59:23 +0000 Subject: Theme Editor: Added an edit menu with a find/replace function (copied from an LGPL library) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27137 a1c6a512-1295-4272-9138-f99709370657 --- utils/themeeditor/gui/skindocument.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'utils/themeeditor/gui/skindocument.cpp') diff --git a/utils/themeeditor/gui/skindocument.cpp b/utils/themeeditor/gui/skindocument.cpp index 6863ff5..f8206e1 100644 --- a/utils/themeeditor/gui/skindocument.cpp +++ b/utils/themeeditor/gui/skindocument.cpp @@ -151,6 +151,12 @@ void SkinDocument::setupUI() QObject::connect(device, SIGNAL(settingsChanged()), this, SLOT(deviceChanged())); + /* Attaching the find/replace dialog */ + findReplace = new FindReplaceDialog(this); + findReplace->setModal(false); + findReplace->setTextEdit(editor); + findReplace->hide(); + settingsChanged(); } -- cgit v1.1