Live data from Hacker News

GitQlient – a multi-platform GUI-oriented Git client written with Qt

francescmm.github.io

1–10 of 66 posts

Re: GitQlient – a multi-platform GUI-oriented Git client written with Qt

#5
Is anyone aware of a publicly available code base to look into when searching for high quality Qt-based (desktop) applications? Think chromium-quality software quality code base. I am looking for inspiring patterns and also things such as naming schemes as I regularly change my mind when it comes to developing Qt based applications with regard to:

  - naming things (e.g. should signals/slots be prefixed (sigFoo() -> onFooBared())
  - how to deal with signal functions actually not implemented (clang-tidy warnings)
  - how to break up large main window classes in a reasonable manner
and so on. Typically I immerse myself in one of the larger code bases I'm aware of (Android, Firefox, Chromium, Tensorflow, and some others) and regularly discover pretty useful patterns I can make use of. However, I was unlucky to find something for Qt based.

Re: GitQlient – a multi-platform GUI-oriented Git client written with Qt

#7
post #5

Is anyone aware of a publicly available code base to look into when searching for high quality Qt-based (desktop) applications? Think chromium-quality software quality code base. I am looking for inspiring patterns and also things such as naming schemes as I regularly change my mind when it comes to developing Qt based applications with regard to: - naming things (e.g. should signals/slots be prefixed (sigFoo() -> on…

You could look at KDE, I don't know about the quality but it's a big enough public effort that it should be well reviewed. https://en.wikipedia.org/wiki/KDE_Projects

Re: GitQlient – a multi-platform GUI-oriented Git client written with Qt

#8
post #5

Is anyone aware of a publicly available code base to look into when searching for high quality Qt-based (desktop) applications? Think chromium-quality software quality code base. I am looking for inspiring patterns and also things such as naming schemes as I regularly change my mind when it comes to developing Qt based applications with regard to: - naming things (e.g. should signals/slots be prefixed (sigFoo() -> on…

The KDE applications would seem like a good place to start.

https://kde.org/applications/office

Re: GitQlient – a multi-platform GUI-oriented Git client written with Qt

#9
post #5

Is anyone aware of a publicly available code base to look into when searching for high quality Qt-based (desktop) applications? Think chromium-quality software quality code base. I am looking for inspiring patterns and also things such as naming schemes as I regularly change my mind when it comes to developing Qt based applications with regard to: - naming things (e.g. should signals/slots be prefixed (sigFoo() -> on…

Qt itself, like for example https://github.com/qt/qttools?

Re: GitQlient – a multi-platform GUI-oriented Git client written with Qt

#10
post #9
post #5

Is anyone aware of a publicly available code base to look into when searching for high quality Qt-based (desktop) applications? Think chromium-quality software quality code base. I am looking for inspiring patterns and also things such as naming schemes as I regularly change my mind when it comes to developing Qt based applications with regard to: - naming things (e.g. should signals/slots be prefixed (sigFoo() -> on…

Qt itself, like for example https://github.com/qt/qttools ?

Good suggestion. Code snippets showing the naming style they use:

    connect(contextShortcut, SIGNAL(activated()), this, SLOT(showContextDock()));

    connect(m_messageView->selectionModel(),
        SIGNAL(currentColumnChanged(QModelIndex,QModelIndex)),
        SLOT(updateLatestModel(QModelIndex)));
Taken from https://github.com/qt/qttools/blob/7ec161d6f/src/linguist/li...
Post reply on HN