Quick Access Toolbar modification

#1
I found that it is not possible to add drop-down lists to the standard quick access toolbar by using the option "customize UI..."
I tried to add the color drop-down list by editing the file "Default.cui" as follows, but nothing significant happened...
Is there any suggestion?



<QuickAccessToolbar UID="ITC_QAT_TOOLBAR1" Visible="true">
<ModifiedRev MinorVersion="330" UserVersion="17"/>
<Name ID="30205">Quick Access Toolbar</Name>
<QuickAccessToolbarStandardItem MenuMacroID="qnew" UID="ID_QAT_New"/>
<QuickAccessToolbarStandardItem MenuMacroID="open" UID="ID_QAT_Open"/>
<QuickAccessToolbarStandardItem MenuMacroID="save" UID="ID_QAT_Save"/>
<QuickAccessToolbarStandardItem MenuMacroID="saveas" UID="ID_QAT_SaveAs"/>
<QuickAccessToolbarStandardItem MenuMacroID="print" UID="ID_QAT_Print"/>
<QuickAccessToolbarControl UID="rbnctrl-undo">
<GreyedOutExpression>HASUNDO=0</GreyedOutExpression>
</QuickAccessToolbarControl>
<QuickAccessToolbarControl UID="rbnctrl-redo">
<GreyedOutExpression>HASREDO=0</GreyedOutExpression>
</QuickAccessToolbarControl>
<QuickAccessToolbarControl UID="rbnctrl-workspace"/>
<QuickAccessToolbarControl UID="rbnctrl-layer-qat"/>
<QuickAccessToolbarControl UID="rbnctrl-color-qat"/>
<QuickAccessToolbarStandardItem MenuMacroID="layercontrolfilter" UID="ID_QAT_LayerControlFilter"/>
<QuickAccessToolbarStandardItem MenuMacroID="erase" UID="ID_QAT_Delete" Visible="false"/>
<QuickAccessToolbarStandardItem MenuMacroID="help" UID="ID_QAT_Help" Visible="false"/>
</QuickAccessToolbar>

Re: Quick Access Toolbar modification

#2
Hi apa,
Question 1 : What is this drop-down menu <QuickAccessToolbarControl UID="rbnctrl-color-qat"/>
ScreenShot_20231108103010.jpeg
ScreenShot_20231108103010.jpeg (13.58 KiB) Viewed 1410 times
Is it this menu?

Question 2 : Do you try to use only the palette Tools > Customize the use UI ? Instead of opening the .cui file!

Patrick

EDIT:
Your choice of rbnctrl-color-qat don't work for me : I mean this is a macro menu.
ScreenShot_20231108111133.jpeg
ScreenShot_20231108111133.jpeg (19.78 KiB) Viewed 1403 times
I tried this ; The "Select the color" menu ?
ScreenShot_20231108105421.jpeg
ScreenShot_20231108105421.jpeg (30 KiB) Viewed 1409 times
Patrick Depoix
Architecte D.P.L.G. & Historien-chercheur en histoire de l'Architecture

Re: Quick Access Toolbar modification

#3
Thank you very much!

I added the "Select the color" button and it works, however, I am accustomed to the dropdown list. Moreover, I would also like to add "rbnctrl-linetype" and "rbnctrl-lineweight"...

"rbnctrl-color", "rbnctrl-linetype" and "rbnctrl-linetype" are ribon items, and I thought I could make them inhabit the quick access toolbar the same way "rbnctrl-layer" does...


A2Q1:
The drop-down menu "rbnctrl-color" is this:
1.png
1.png (15.88 KiB) Viewed 1400 times
Beneath it are the "rbnctrl-linetype" and "rbnctrl-lineweight" dropdown lists.

A2Q2:
I tried to use "Customize UI" but theese entities (as well as "rbnctrl-color", "rbnctrl-linetype" and "rbnctrl-lineweight") are not editable via the "Customize UI" dialog box:
2.png
2.png (44.03 KiB) Viewed 1400 times