Re: [Development] Renaming QGenericItemModel

2025-05-20 Thread Richard Gustavsen via Development
> > I would like to come up with some C++ template class that gives type-safe > access to the model while also respecting QAIM requirements, but doesn’t > require any usage of QModelIndex, role values etc. I suspect that “Adaptor” > will be a good term to use for such a class. Something along t

[Development] Requesting a repository for the Figma Style Generator Tool

2024-12-03 Thread Richard Gustavsen via Development
Hi, I would like to request for a new repository: Name of the repository: qt-labs/figma-style-generator.git Description: A tool for generating Quick Controls styles from Figma designs Responsible person: Richard Moe Gustavsen Gerrit user/email: Richard / richard.gustav...@qt.io The UI Team has d

Re: [Development] Nominating Oliver Eftevaag as maintainer of Qt Quick Dialogs

2024-12-03 Thread Richard Gustavsen via Development
+1 -Richard > On 29 Nov 2024, at 22:29, Shawn Rutledge via Development > wrote: > > I’m nominating Oliver Eftevaag as the maintainer of Qt Quick Dialogs. He was > instrumental in the process of rewriting the old version to use Qt Quick > Controls 2 and refining the API that the dialogs now

Re: [Development] Qt Examples need to be self-contained

2024-03-08 Thread Richard Gustavsen via Development
I would argue that putting actually shared resources into such libraries is a good idea Looking at https://code.qt.io/cgit/qt/qtdeclarative.git/tree/examples/quick/shared, it mostly contains QML controls, like Slider.qml and TextField.qml. The examples using those components should really be

Re: [Development] Nominating Matthias Rauter for approval status

2024-01-30 Thread Richard Gustavsen via Development
+1 -Richard On 30 Jan 2024, at 13:11, Paul Tvete via Development wrote: Hi, I would like to nominate Matthias Rauter as an approver for the Qt Project. Matthias has been working on Qt for more than a year now. In this time, he has done great work on Qt Location and Qt SVG, among other. I ha

Re: [Development] QSortFilterProxyModel: recursiveFilteringEnabled

2023-09-25 Thread Richard Gustavsen via Development
> On 21 Sep 2023, at 19:44, László Papp wrote: > > Thanks! > > Since both QML and KDE have had this use case, and now, I also have it, as > well as another person on Stack Overflow, should we propose a public API in > Qt for this? > > I think this would be a great addition to the public int

Re: [Development] QSortFilterProxyModel: recursiveFilteringEnabled

2023-09-21 Thread Richard Gustavsen via Development
On 21 Sep 2023, at 14:10, László Papp wrote: Thanks! So, something like this? https://api.kde.org/frameworks/kitemmodels/html/index.html E.g. KDescendantsProxyModel or that would also require further work? Yes, that could work. And then you give that model to QSFPM to filter away rows that

Re: [Development] QSortFilterProxyModel: recursiveFilteringEnabled

2023-09-21 Thread Richard Gustavsen via Development
You basically want top flatten a tree model into a list (or table) model, and then remove the rows that have children, and then sort the list. Note that sorting such a list of leafs would be different from how QSFPM works today, where it sorts the children of each parent node locally, without ta

Re: [Development] Nominating Santhosh Kumar Selvaraj for approver rights

2023-06-20 Thread Richard Gustavsen via Development
+1 Richard 20. jun. 2023 kl. 20:58 skrev Jan-Arve Sæther via Development :  Hello all, I would like to nominate Santhosh Kumar Selvaraj for approver rights in the Qt project. Santhosh is a member of the UI Team, and has been working on improvement to our styles, dark mode support, palette

Re: [Development] How to fix TableView's API break?

2022-12-21 Thread Richard Gustavsen via Development
Neither is ideal and I would've strongly preferred to stick to (row,column) everywhere. Everything else is an API trap waiting to happen. Now that modelIndex() has been reverted to fix the SiC, I agree, we should consider deprecating/replacing the other two remaining functions that takes a colu

Re: [Development] How to fix TableView's API break?

2022-12-20 Thread Richard Gustavsen via Development
https://codereview.qt-project.org/c/qt/qtdeclarative/+/449862 -Richard ___ Development mailing list Development@qt-project.org https://lists.qt-project.org/listinfo/development

Re: [Development] How to fix TableView's API break?

2022-12-19 Thread Richard Gustavsen via Development
Does anyone know? The rationale behind it is that you normally would like to address a cell in a table using x, y coordinates. x maps horizontally and y maps vertically (to be consistent with e.g Item.x and Item.y). This means that x maps to columns and y maps to rows. itemAtCell(column, row) f

Re: [Development] How to fix TableView's API break?

2022-12-19 Thread Richard Gustavsen via Development
>> Item itemAtCell(int column, int row) > >> positionViewAtCell(int column, int row, PositionMode mode, point offset, >> rect subRect) > > To me this is quite weird. This must be the *only* place in Qt model/view > APIs where (column,row) is used instead of (row,column), and I don't seem to >

Re: [Development] Nominating Axel Spoerl as approver

2022-12-05 Thread Richard Gustavsen via Development
+1 Fra: Development på vegne av Eirik Aavitsland via Development Sendt: mandag 5. desember 2022 11:05 Til: development@qt-project.org Emne: Re: [Development] Nominating Axel Spoerl as approver +1 On 12/5/22 10:57, Volker Hilsheimer via Development wrote: > Hi,

Re: [Development] Redesigning QML value types

2022-09-21 Thread Richard Gustavsen
> 1. Value types are passed by value > 2. Everything is a reference Most languages have a way to specify this in the signature. Swift has the “inout” keyword, c# has “ref”. Have you considered this as an option as well? BR, Richard ___ Development mai

Re: [Development] Nominating Volker Hilsheimer as maintainer of Qt Speech

2022-06-13 Thread Richard Gustavsen
+1 -Richard > On Jun 13, 2022, at 9:19 AM, Frederik Gladhorn wrote: > > Hello :) > > I've lately not had time to contribute to Qt (personal life keeping me busy). > Since Volker and others did a great job porting Qt Speech to Qt 6, they know > the code better than me by this time. I'd like to

Re: [Development] Nominating Volker Hilsheimer as co-maintainer of Qt Widgets

2022-02-17 Thread Richard Gustavsen
This has now taken effect, and the Wiki has been updated (https://wiki.qt.io/Maintainers). Congratulations Volker! Best Regards, Richard Moe Gustavsen Principal Engineer The Qt Company Oslo, Norway On 25 Jan 2022, at 09:38, Richard Gustavsen mailto:richard.gustav...@qt.io>> wrote: Hi a

Re: [Development] XCB platform plugin maintainer change

2022-02-01 Thread Richard Gustavsen
+1 -Richard > On 1 Feb 2022, at 11:08, Eirik Aavitsland wrote: > > +1 > > On 2/1/22 10:50 AM, Gatis Paeglis wrote: >> Hi all, >> I would like to propose a change in Qt's Linux/XCB maintainership. >> Since 2019, I have moved full time to the Qt for MCUs project and >> there is no time left for

[Development] Nominating Volker Hilsheimer as co-maintainer of Qt Widgets

2022-01-25 Thread Richard Gustavsen
Hi all! I would like to propose a change in the maintenance of Qt Widgets [1]. I’m the current maintainer of the module, but I’m happy to inform you that Volker Hilsheimer has agreed to join me as a co-maintainer. Volker is one of the biggest contributors to Widgets [2], and has been helping ou

Re: [Development] Nominating Morten Sørvig as maintainer of high-DPI

2022-01-03 Thread Richard Gustavsen
+1 Richard On 20 Dec 2021, at 16:35, Tor Arne Vestbø mailto:tor.arne.ves...@qt.io>> wrote: Hello all, I’d like to nominate Morten Sørvig as maintainer of high-DPI in the Qt Project [1]. Morten has been instrumental in the development of Qt’s high-DPI support, and has been the de-factor main

Re: [Development] Nominating Doris Verria as Approver

2021-10-27 Thread Richard Gustavsen
+1 Fra: Development på vegne av Paul Wicking Sendt: onsdag 27. oktober 2021 12:09 Til: Volker Hilsheimer Kopi: development@qt-project.org Emne: Re: [Development] Nominating Doris Verria as Approver +1 > On 27 Oct 2021, at 11:56, Volker Hilsheimer wrote: > >

Re: [Development] Nominating Oliver Eftevaag as Approver

2021-10-27 Thread Richard Gustavsen
+1 Fra: Development på vegne av Shawn Rutledge Sendt: onsdag 27. oktober 2021 10:34 Til: development@qt-project.org Emne: Re: [Development] Nominating Oliver Eftevaag as Approver +1 On 2021 Oct 27, at 06:25, Paul Wicking mailto:paul.wick...@qt.io>> wrote: Hi

Re: [Development] Proposal: let's use Markdown for the dist/changes changelog

2020-11-03 Thread Richard Gustavsen
> But I didn’t like it when we generate a point-release changelog that says > there are only minor changes, when I know for a fact that some significant > bugs got fixed, and should be mentioned, even though the author forgot to > add a ChangeLog to the git commit. So a few years ago, before each

[Development] Nominating Christian Ehrlicher for Approver

2018-11-20 Thread Richard Gustavsen
Hi, I'd like to nominate Christian Ehrlicher for approver rights. He has done a lot of work in Qt, especially Widgets and Item Views, with more than 150 patches being merged during the last year. He has also been equally active in Jira, verifying bug reports, identifying duplicates, etc. His

Re: [Development] Un-inlining members allowed?

2018-10-23 Thread Richard Gustavsen
Even if it's binary compatible, it sounds fragile. If the inlined function is e.g accessing symbols from the private class, someone might later come along and remove those symbols if they appear not to be used from anywhere, unknowingly of the fact that some apps still do through an old inlined

Re: [Development] Consistently flaky test QTabWidget test

2018-05-02 Thread Richard Gustavsen
tst_QWindow::requestUpdate is also causing problems. Two patches to solve that: https://codereview.qt-project.org/#/c/228024/ https://codereview.qt-project.org/#/c/228027/

Re: [Development] Consistently flaky test QTabWidget test

2018-05-02 Thread Richard Gustavsen
I'll take a look! -Richard Fra: Development på vegne av Thiago Macieira Sendt: 2. mai 2018 09:46:40 Til: development@qt-project.org Emne: Re: [Development] Consistently flaky test QTabWidget test On Wednesday, 2 May 2018 00:29:18 PDT Thiago Macieira wrote: >

Re: [Development] Repository request: MaterialWidgets

2017-11-01 Thread Richard Gustavsen
30.10.2017, 17:18, "iman ahmadvand" : > Well. > If it's OK to add new classes then we can create our classes And do the style > related things in private part until Qt6 release, on that time we can move > our changes to QStyle API. Adding new and missing controls into QtWidgets, like QSwitch, i

Re: [Development] Widgets maintainers

2017-07-07 Thread Richard Gustavsen
evelopment@qt-project.org Kopi: Marc Mutz; Richard Gustavsen; Gabriel de Dietrich; andreas.aardal.hans...@gmail.com; Jan-Arve Sæther; Eskil Abrahamsen Blomfeldt Emne: Re: [Development] Widgets maintainers Hello all, hello Marc, First of all, thank you very much for taking care of the widgets