Page 1 of 1

ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Thu Dec 22 2022 9:24 am
by Navadvipa Chandra d
ToolBar::allowedAreas not work in CopperSpice Designer. allowedAreas should expand into many small boolean values. But there is no such thing and no editing of this property in the "Property Editor" is possible.

Thank you!
With best regards, Navadvipa Chandra das.

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Sun Dec 25 2022 2:26 pm
by crispina
Yes I had the same issue. CS Designer generates the following XML when adding a toolbar

Code: Select all

<widget class="QToolBar" name="toolBar">
   <property name="windowTitle" stdset="0">
    <string>toolBar</string>
   </property>
   <attribute name="toolBarArea">
    <enum></enum>
   </attribute>
   <attribute name="toolBarBreak">
    <bool>false</bool>
   </attribute>
  </widget>
and you get the compile error
error: expected unqualified-id before ‘,’ token MainWindow->addToolBar(Qt::, toolBar);
If you change the enum tag to

Code: Select all

  <enum>TopToolBarArea</enum>

then the code compiles without any issues.

I have put a full code CopperSpice toolbar example on my github page below.

https://github.com/crispinalan/copperspice-toolbar-example

I hope this helps.

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Mon Dec 26 2022 4:41 am
by barbara
Thanks for the additional information. We will have someone on our team see what is causing this to happen.

Barbara

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Mon Dec 26 2022 7:08 pm
by Navadvipa Chandra d
Hare Krishna Alan, Barbara and All!

Thank you so much for your concern! I hope version 1.8.1 will be released soon and this problem will no longer be there! I also really hope that the new version will be compiled by the GCC 12.2 compiler. I also really hope that it will be possible to compile in Debug mode.

Thakn you!
Hare Krishna!
With best regards, Navadvipa Chandra das.

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Mon Dec 26 2022 8:24 pm
by barbara
Please keep in mind that CopperSpice is an open source product and everyone is welcome to submit a pull request on github at any time. Any submissions will go through a code review and full CI testing before being merged to the main branch.

Barbara

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Tue Dec 27 2022 1:15 pm
by crispina
See CS Designer dialog with button box post.

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Wed Dec 28 2022 6:14 pm
by barbara
We have found the issue with "ToolBar::allowedArea" and we are in testing Designer.

Barbara

Re: ToolBar::allowedAreas not work in CopperSpice Designer

Posted: Fri Feb 03 2023 10:52 pm
by barbara
All reported issues in this thread have been corrected in Designer.

* * CS Designer 1.0.2 was released on January 31 2023

Pre-built binary files can be found on our download site
https://download.copperspice.com/designer/binary/

Source code and pre-built binary files can be also be found on github
https://github.com/copperspice/cs_designer