Summary: | Automatically create "Caption label" when creating other widgets | ||
---|---|---|---|
Product: | [Applications] KEXI | Reporter: | Dimitrios T Tanis <dimitrios.tanis> |
Component: | Forms | Assignee: | Jesus Menera <jesus> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | jesus |
Priority: | NOR | ||
Version First Reported In: | 3.0.x | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | software creates the word "Label" before the label name automatically |
Description
Dimitrios T Tanis
2011-07-26 21:24:21 UTC
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
|