Version: 3.0.x (Calligra 3.0.x) (using KDE 4.6.0) OS: Linux There could be an option to automatically generate labels, using as captions, captions defined in table design, when placing a widget on a form. Reproducible: Didn't try Expected Results: There could be a toggle button labeled "Auto create Captions" on the form designer toolbar. When that button is pressed, adding any data widget (text box, text editor, image box, combo box, etc) would also add next to it (on the left) a special label widget. That label would be "paired" to the widget aka grouped and have a special Caption property that would be assigned to the same table column as the widget and pull the label's caption from the column's caption (not column's data) stated in table design (see wish https://bugs.kde.org/show_bug.cgi?id=278581). This could be a serious productivity booster when designing complex forms/reports. I am wishing this for 3.0, although you are welcome to adjust if it seems a long shot. Also this could ALSO be applied to reports.
Agreed, and we have had AutoFields in Kexi 1.x since 2005. These were available using drag & drop: http://www.kexi-project.org/pics/1.1/propeditor_groups.png http://mail.kde.org/pipermail/kexi/2005-November/000031.html I found out that having AutoFields made of the composite widget does not work well with layouts (or even pixel-positioning) so disabled the feature while porting Kexi to KDE/Qt 4, hoping it will be reimplemented.
1) In the second link you say "- text label is displayed automatically on the left (or top) hand (can be hidden); the text is the same as field's caption or name defined in the Table Designer." Q: Field Caption and Name are not the same ONE property? I am asking this because it is the reason I posted Bug 278296. 2) If not, I think there should be TWO properties: Field Name (to be used as the table's column name) and Caption (to be used for all UI purposes, forms, reports, etc. kind of a permanent alias) 3) For the layout issue with the composite widget: IDEA: Why not implement it as a seperate layout? There could be TWO normal widgets (a label and any other) held inside a Horizontal Layout. That could be even more versatily as it would provide all the goodies of Layouts (eg changing the existing layout, streching, size constraints, etc.). So in a nutshell, having AutoFields enabled would create the widgets inside a seperate layout. What do you think of that idea?
'caption' and 'name' are two distinct properties of columns. The former meant to be is user-visible although in current Kexi names are visible here and there. And of course only names can be used in SQL. Regarding your idea, autofields have been implemented using horizontal layout already in Kexi 1.x The problem is that with them you won't achieve arranging like this: http://www.kexi-project.org/pics/1.1.1/form_combobox_m.png where both labels and actual widgets are aligned to left. Basically, the actual widgets (like combo on the screen shot) are not feely resizeable but are resized in response for resizing the master horizontal layout of the autofield.
e.g. please look at the effect of misalignment at http://kexi.pl/en/images/e/e1/Kexi_2007.1_user_mode.png
Created attachment 183588 [details] software creates the word "Label" before the label name automatically The KEXI 3.2.0 Windows version adds a text "Label" before the label name automatically. Example I create a label name: "Contact" The software automatically create the label name: "Label Contact" -Ps Great job guys I like and love your software