[mythtv] [mythtv-commits] mythtv commit: r18030 - in trunk/mythplugins/mythgallery by paulh
Paul Harrison
mythtv at dsl.pipex.com
Sun Aug 3 17:35:20 UTC 2008
Stuart Morgan wrote:
> On Sunday 03 August 2008 17:57:29 Paul Harrison wrote:
>
>> Is there any reason you haven't created some generic dialogs like the
>> old OK dialog or the OK/Cancel ones etc. I think it would be nice if
>> there was some predefined dialogs like that so we don't have to start
>> from scratch each time.
>>
>
> At the time I converted mythgallery I hadn't decided if the Yes/No/Ok dialogs
> were really needed or if the menu dialog would work. I'm now planning to add
> a dual purpose dialog for simple confirmation - Cancel + Ok with the Cancel
> button being shown only if it's required. I can do this tonight, it shouldn't
> take very long.
>
> I'm trying to avoid creating an unnecessary number of dialogs, there were too
> many in the old UI. However where a particular dialog can be justified and is
> used in more than one place then I'll add it to the base.
>
>
You'll get extra points if you can make them modal ;-) That would make
converting the many existing dialogs over a lot easier. Same with the
popup menu dialogs.
> I'm currently creating a file browsing dialog for looking up a file on the
> local filesystem and returning it's path.
>
There one of those in MythArchive you might be able to use? fileselector.cpp
Paul H.
More information about the mythtv-dev
mailing list