Search found 72 matches

by xtemp09
Mon Mar 11, 2024 5:15 am
Forum: Developers corner
Topic: Usage of C++20/23
Replies: 15
Views: 2139

Re: Usage of C++20/23

@AlexSzatmary, the first link you provided says:
C++14 is the highest possible for FreeCAD 0.19 while at least C++17 is required for FreeCAD 0.20.
while the other one does not say anything about requirements.
by xtemp09
Sun Mar 10, 2024 10:03 am
Forum: Developers corner
Topic: Usage of C++20/23
Replies: 15
Views: 2139

Re: Usage of C++20/23

wmayer wrote: Fri Feb 03, 2023 9:57 am
and many more, like std::span
Is also a C++20 feature.
QSpan has been integrated in qt/qtbase, it requires only C++17.
by xtemp09
Fri Mar 01, 2024 12:17 pm
Forum: Developers corner
Topic: Emit signal in c++ and connect to it in python.
Replies: 5
Views: 661

Re: Emit signal in c++ and connect to it in python.

Code: Select all

class TaskAssemblyCreateView(QtCore.QObject):
looks Qt to me

I don't know the answer, but if I were you, I would create a QAction and connected triggered function (perhaps, even a lambda) and the signal.
by xtemp09
Sun Feb 18, 2024 12:18 pm
Forum: UX/UI Design
Topic: Qt fonts and widgets size (width)
Replies: 3
Views: 446

Re: Qt fonts and widgets size (width)

So I've had to guess some ways to dimension things. Layouts are supposed to automatically adjust position and size, so programmers would not get to guess dimensions. Typically, I use a combination of layouts, horizontal and vertical, tweaking sizePolicy . What is the question? Do you want to adjust...
by xtemp09
Mon Feb 05, 2024 11:33 am
Forum: Developers corner
Topic: connect(ui->deflection,SIGNAL(xx()),this,SLOT(xxx())); /
Replies: 4
Views: 515

Re: connect(ui->deflection,SIGNAL(xx()),this,SLOT(xxx())); /

勾心豆角, have you forgotten to add Q_OBJECT macro in the definition of the class?
by xtemp09
Mon Jan 15, 2024 10:44 am
Forum: Developers corner
Topic: Debug build fails : Libpack faulty
Replies: 13
Views: 5869

Re: Debug build fails : Libpack faulty

Is there a way to get rid of libfmt and use std::format instead? If FreeCAD so dependent on boost, boost::format will do the job. Qt also offers quantinormous ways to format the string. It is also possible to add the source code of libfmt into FreeCAD using git submodules or just embed it, like zipi...
by xtemp09
Mon Jan 15, 2024 6:34 am
Forum: Developers corner
Topic: Usage of standard Qt methods to load position of QWidget
Replies: 2
Views: 4562

Re: Usage of standard Qt methods to load position of QWidget

I ought to add that (dis)appearance of a screen is a very frequent situation for laptop users. It's common for those ones who use VirtualBox or VMware. If the developers don't want to use standard Qt methods to show widgets, I can propose the following stupid solution: Screen configuration is the nu...
by xtemp09
Sun Jan 14, 2024 7:20 pm
Forum: Developers corner
Topic: Usage of standard Qt methods to load position of QWidget
Replies: 2
Views: 4562

Usage of standard Qt methods to load position of QWidget

maxwxyz has recently created an issue about window position ( #11979 . Possibly connected: #11142 ). Briefly, once (a) monitor(s) disconnected, FreeCAD loads saved position, even if widgets are off-screen. If I understood correctly the source code of FreeCAD , the above mentioned QDialog is created ...
by xtemp09
Sun Jun 25, 2023 12:36 pm
Forum: UX/UI Design
Topic: Draft for Ribbon / Modern UI
Replies: 41
Views: 33321

Re: Draft for Ribbon / Modern UI

Excellent! I tried to implement Ribbon UI for FreeCAD using SARibbon. Sadly, it looked out of place and is not portable.

Could you provide some screenshots on different OSes (MacOS, Windows, Linux)?
by xtemp09
Sat Jun 24, 2023 9:37 am
Forum: Форум на русском языке
Topic: Чертить в 2D на бумаге. [Решено]
Replies: 8
Views: 7623

Re: Чертить в 2D на бумаге. [Решено]

Я пользовал LibreCAD и был бескрайне доволен им. Сложные вещи я бы делал в нём.