[kde-edu]: Review Request: [Cantor] Improved Script editor window

Miha Cancula miha.cancula at gmail.com
Tue May 4 11:06:55 CEST 2010



> On 2010-05-03 21:43:17, Alexander Rieder wrote:
> > Hi,
> > I'll do a more in depth review tomorrow, but here are the first problems:
> > I've tried to compile Cantor with your patch applied, and it failed.
> > I had to adjust the following things:
> > - cantor_part.cpp line 558: change KAction to QAction
> > - scripteditorwidget.cpp line 50: change KTextEditor to KTextEditor::Editor
> > 
> > From a first glance the functionality looks nice, but again I'll do more testing tomorrow probably.

Of course, that should KTextEditor::Editor, I missed it when I addded it as a member and then removed again. 

I really thought actionCollection()->action() returns a KAction, and it worked this way. I'll fix it and update as soon as I get home.


- Miha


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/3878/#review5382
-----------------------------------------------------------


On 2010-05-03 21:12:26, Miha Cancula wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.kde.org/r/3878/
> -----------------------------------------------------------
> 
> (Updated 2010-05-03 21:12:26)
> 
> 
> Review request for KDE-Edu and Alexander Rieder.
> 
> 
> Summary
> -------
> 
> Change the script editor to use XmlGui for actions, with complete KTextEditor toolbars and menus.
> 
> The patch is a little rough still, with unneeded whitespace changes, I will probably update it soon. There are also some leftover debug calls and error checks. You can see the code and comment on it. I will also explain and/or correct any wtf-moments that may have occured. 
> 
> I realize that trunk is in a soft treeze right now, and that this isn't a killer feature, so I think there's no rush to get it commited. I would like some feedback on it.
> 
> 
> Diffs
> -----
> 
>   /trunk/KDE/kdeedu/cantor/src/CMakeLists.txt 1120620 
>   /trunk/KDE/kdeedu/cantor/src/cantor.cpp 1120620 
>   /trunk/KDE/kdeedu/cantor/src/cantor_part.h 1120620 
>   /trunk/KDE/kdeedu/cantor/src/cantor_part.cpp 1120620 
>   /trunk/KDE/kdeedu/cantor/src/cantor_scripteditor.rc PRE-CREATION 
>   /trunk/KDE/kdeedu/cantor/src/scripteditorwidget.h 1120620 
>   /trunk/KDE/kdeedu/cantor/src/scripteditorwidget.cpp 1120620 
> 
> Diff: http://reviewboard.kde.org/r/3878/diff
> 
> 
> Testing
> -------
> 
> The GUI looks and behaves properly. I tried some different ways of closing the script editor and the running session and it behaved as expected in all of them. 
> 
> It was tested with last week's trunk.
> 
> 
> Screenshots
> -----------
> 
> Script editor with KTextEditor's menus
>   http://reviewboard.kde.org/r/3878/s/385/
> 
> 
> Thanks,
> 
> Miha
> 
>



More information about the kde-edu mailing list