[Qt-creator] Presenter Window
Nicolas Arnaud-Cormos
nicolas.arnaud-cormos at kdab.com
Fri Mar 25 10:52:33 CET 2011
On Friday 25 March 2011 10:11:07 Leandro T. C. Melo wrote:
> On 3/24/2011 4:44 PM, ext Nicolas Arnaud-Cormos wrote:
> > Hi,
> >
> > I'm doing trainings from time to time, and I'm using Qt Creator as my
> > editor during the trainings.
> > The basic setup is a dual-screen setup: my laptop and the beamer. I'm
> > using this setup because I can display the slide on the beamer, and see
> > the next slides+notes on the laptop.
> >
> > As you can imagine, it doesn't play well with Qt Creator, so I created a
> > new window to clone the current editor, and a menu item to display it.
> > So now I can work on my laptop and students see what I'm typing.
> > Whenever I change the editor in Qt Creator, it's changed in the
> > presenter window, the cursor are synced and the current line stay in the
> > middle of the presenter window.
> >
> > I tested it and it's working quite well (minus one crash when removing
> > all editors), my question is: does it make sense to clean it up and do a
> > merge request? or put in another way, are you interested in such a
> > feature? I can totally understand the answer is no.
> >
> > It's not a new plugin (can't do it like that, as it needs some internal
> > classes), but the patch is really small:
> > For those interested:
> > http://qt.gitorious.org/+kdab-developers/qt-creator/kdab-qt-
> > creator/commits/presenter
>
> Hi Nicolas,
>
> I wonder whether this would actually be a more generic use case which
> would allow somehow detaching the editor... Then, in your case, perhaps
> splitting it and moving it to the other screen would be a good approach?
This could be indeed an interesting feature: detaching an editor to put it on
another screen.
But still I need file synchronisation (when changing the file in the main
window, it will change the file in the detached editor), and current line
synchronisation (keep the line with the cursor in the middle of the screen).
So even with the "detached editor" feature, I would need another "synchronize
editor" feature on top of that for my own use-case.
I can maybe give it a try, as the detached editor feature can also be
interested for normal coding.
Thanks for the feedback,
Nicolas
--
Nicolas Arnaud-Cormos | nicolas.arnaud-cormos at kdab.com | Software Engineer
KDAB (USA) LLC, a KDAB Group company
Tel. USA +1-866-777-KDAB(5322), Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions
More information about the Qt-creator-old
mailing list