Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Tips for a Newbie developing a cross-platform Database Navigator
Qt 6.11 is out! See what's new in the release blog

Tips for a Newbie developing a cross-platform Database Navigator

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 503 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XurumelouS
    wrote on last edited by
    #1

    Hello guys,

    I'm developing an open-source database navigator application focused on developers. I'm aware of the amount of softwares like this, but I have an specific target: be similar to Sequelpro (https://www.sequelpro.com/) over Linux, MacOS and Windows, but supporting more servers than just MySQL. Since I use these three OS regularly, I really miss Sequelpro while developing on Linux and Windows.

    The problem is, I'm, professionally, a PHP developer and I don't have developed in C++ for years and never used Qt before (I'm really enjoying it). So, I would like to have someone with experience in both C++ and Qt to take a look at the sources and give me some tips to make it better. I'm sure it will be amazingly helpful.

    There are some points I'm completely lost:

    • Properly structure the code.
    • Resize column bar and similar one inside the tabs.
    • Show icon in the windows task bar after connection window is closed (I'm pretty sure I'm handling the windows in a bad way).
    • Show the connection window on top when the user wants to open a new connection tab.
    • Correctly paginate results from QSqlTableModel (I could not find a LIMIT option there).

    Some to-dos that I'm aware:

    • Create adapters for database servers, right now MySQL is hard coded in the DatabaseConnection class.
    • Add the option the select the driver of the item above in the connection window.

    Of course, it's still brand new and I still have a lot to do, but I think it is time to get a restructure before going for more features.

    Here is the source: https://bitbucket.org/xurumelous/thoth

    It looks like this right now: http://i.imgur.com/nIeLq5b.png

    Thank you in advance!

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved