[Kde-games-devel] Review Request 108606: Add an option to change the row height

Albert Astals Cid aacid at kde.org
Sun Jan 27 19:16:08 UTC 2013


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



src/configPage.ui
<http://git.reviewboard.kde.org/r/108606/#comment20008>

    This is the name you can use to get hold of the spinbox if you want to use it, see the generated ui_configPage.h file



src/itemdelegate.h
<http://git.reviewboard.kde.org/r/108606/#comment20006>

    If you realize delegate you are substituting is a QItemDelegate not a Styled one, this should fix your "painting" problems when you remove the ::paint method.


- Albert Astals Cid


On Jan. 27, 2013, 11:49 a.m., Ian Simpson wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108606/
> -----------------------------------------------------------
> 
> (Updated Jan. 27, 2013, 11:49 a.m.)
> 
> 
> Review request for KDE Games.
> 
> 
> Description
> -------
> 
> Adds a configuration option to set the row height of the tableview.
> 
> Would have liked to prevent the height being set smaller than the font size. I tried to figure out how to get hold of the rowHeight spinbox in order to set its minimum value to that of the font size when it was changed, but couldn't. Anyone give me a hint? :-)
> 
> Other than that it seems to work OK.
> 
> 
> This addresses bug 309428.
>     http://bugs.kde.org/show_bug.cgi?id=309428
> 
> 
> Diffs
> -----
> 
>   src/CMakeLists.txt 1a0f3a8 
>   src/configPage.ui 5382a33 
>   src/itemdelegate.h PRE-CREATION 
>   src/itemdelegate.cpp PRE-CREATION 
>   src/kiriki.h 357b771 
>   src/kiriki.cpp 4571d8f 
>   src/kiriki.kcfg 785991a 
> 
> Diff: http://git.reviewboard.kde.org/r/108606/diff/
> 
> 
> Testing
> -------
> 
> Simply played a few games, changing the font size and row height.
> 
> 
> Thanks,
> 
> Ian Simpson
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-games-devel/attachments/20130127/1b785d81/attachment.html>


More information about the kde-games-devel mailing list