Feature Request: Alias field next to contents

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
chrisb
Veteran
Posts: 54313
Joined: Tue Mar 17, 2015 9:14 am

Re: Feature Request: Alias field next to contents

Post by chrisb »

uwestoehr wrote: Thu Mar 12, 2020 9:29 pm I think when creating a new spreadsheet one wants to work with it so it should directly be shown.
+1
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Feature Request: Alias field next to contents

Post by uwestoehr »

I wanted to learn about the alias feature and realized that the Wiki page:
Spreadsheet_Workbench
needs to be revised. Maybe here is a volunteer who could update it a bit?
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Feature Request: Alias field next to contents

Post by TheMarkster »

How about this for a tooltip?

Refer to cell by alias, for example Spreadsheet.my_alias_name instead of Spreadsheet.B1
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Feature Request: Alias field next to contents

Post by uwestoehr »

TheMarkster wrote: Thu Mar 12, 2020 11:01 pm Refer to cell by alias, for example Spreadsheet.my_alias_name instead of Spreadsheet.B1
Sounds good, however maybe this

"Refer to cell by alias name, for example\n Spreadsheet.alias_name instead of Spreadsheet.B1"
(note the line break)
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Feature Request: Alias field next to contents

Post by sgrogan »

This thread is one of the very cool things about freecad :)
"fight the good fight"
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: Feature Request: Alias field next to contents

Post by uwestoehr »

many thanks!
Sergey_1
Posts: 3
Joined: Mon Mar 16, 2020 3:09 am

Re: Feature Request: Alias field next to contents

Post by Sergey_1 »

Big thanks for your so fast job!

It is a pity that there is nothing like "FCAliasEdit" widget over the entire program.
But isn't it better to have some common validation Alias/Name/label instead of creating new Implementation for an every Workbench or table cell?

Is it possible to rename for example the widget "LineEdit" widget to "FCCellEdit" so everyone don't have to use it instead of "FCAliasEdit"?
TheMarkster
Veteran
Posts: 5513
Joined: Thu Apr 05, 2018 1:53 am

Re: Feature Request: Alias field next to contents

Post by TheMarkster »

It would make sense to have the same validation for all workbenches. The spreadsheet validation (I think anyway) requires the alias would be a valid python2 variable. Spreadsheet alias validation could be relaxed some now that we've moved to python3, which I believe allows characters other than only a-z and 0-9. Sketcher at this time doesn't validate constraint names at all.
User avatar
adrianinsaval
Veteran
Posts: 5553
Joined: Thu Apr 05, 2018 5:15 pm

Re: Feature Request: Alias field next to contents

Post by adrianinsaval »

Now that this is merged, shouldn't the Set Alias button be removed? it serves no purpose now. AFAIK the only property that is shown in that window and can't be controlled from the other buttons is the display unit, maybe the button can be changed to set display unit instead of alias? What do you guys think?
Post Reply