> On Oct. 18, 2014, 10:30 p.m., Jarosław Staniek wrote: > > libs/koreport/items/check/KoReportDesignerItemCheck.cpp, line 54 > > <https://git.reviewboard.kde.org/r/120634/diff/2/?file=320474#file320474line54> > > > > Because it's copied everywhere (except non-rect elements such as line) > > I wonder why is this line so complicated. > > How about having just > > KoReportDesignerItemRectBase::setSceneRect(KoReportDesigner *d)? > > This method itself could then use countProperPoint(*d) and > > minimumSize(*d). > > Then make countProperPoint() private. > > And rename somehow to properPressPoint().
this method already exists - Wojciech ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120634/#review68679 ----------------------------------------------------------- On Oct. 26, 2014, 9:23 p.m., Wojciech Kosowicz wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/120634/ > ----------------------------------------------------------- > > (Updated Oct. 26, 2014, 9:23 p.m.) > > > Review request for Calligra, Michal Poteralski, Adam Pigg, Jarosław Staniek, > and Radosław Wicik. > > > Bugs: 334967 > http://bugs.kde.org/show_bug.cgi?id=334967 > > > Repository: calligra > > > Description > ------- > > Before there was only possible to paint kexi report rect element from leftup > to rightdown. Now it's possible to paint the report element in any directio > > > Diffs > ----- > > libs/koreport/items/check/KoReportDesignerItemCheck.cpp ac62861 > libs/koreport/items/field/KoReportDesignerItemField.cpp f386f9b > libs/koreport/items/image/KoReportDesignerItemImage.cpp b129299 > libs/koreport/items/label/KoReportDesignerItemLabel.cpp 8bebbd2 > libs/koreport/items/text/KoReportDesignerItemText.cpp 7af69c4 > libs/koreport/wrtembed/KoReportDesigner.h d27e263 > libs/koreport/wrtembed/KoReportDesigner.cpp 2e1bd50 > libs/koreport/wrtembed/KoReportDesignerItemRectBase.h 501172a > libs/koreport/wrtembed/KoReportDesignerItemRectBase.cpp 73b7a70 > plugins/reporting/barcode/KoReportDesignerItemBarcode.cpp 43acbd0 > plugins/reporting/maps/KoReportDesignerItemMaps.cpp d97a5ea > plugins/reporting/web/KoReportDesignerItemWeb.cpp b57f3c4 > > Diff: https://git.reviewboard.kde.org/r/120634/diff/ > > > Testing > ------- > > Possible to paint kexi report rect elements in any direction > > > Thanks, > > Wojciech Kosowicz > >
_______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel