Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. multiple
    Log in to post

    • SOLVED Multiple, identical instances of WebView, dynamically created
      Qt WebKit • qwebview multiple • • McLion  

      5
      0
      Votes
      5
      Posts
      2224
      Views

      @Konstantin-Tokarev said in Multiple, identical instances of WebView, dynamically created: Approach with multiple views is optimal when you want all those pages to be present on screen at the same time, or have indpendent "tabs" like in a browser with separate navigation histories and possibility to do background work like playing music This is about what we do. The screen is divided into various sections that are used for various menus, sub-menus, lists ... and more. These need to be loaded and shown/hidden separately or at the same time. The GUI is completely based on webpages with html/css/php/js. I have it working pretty smart now, though there are some limits like a key can not be sent to a webGUI that is hidden for instance, which would be great to preload a GUI section before showing.
    • UNSOLVED Multiple Sql drivers and database connections in one application
      General and Desktop • sql sqlite multiple oracle • • Vagabond  

      3
      0
      Votes
      3
      Posts
      4640
      Views

      @kshegunov Thanks I will try that.
    • Connect one object to many objects of same type.
      General and Desktop • connect objects multiple • • code_fodder  

      8
      0
      Votes
      8
      Posts
      2860
      Views

      @SGaist Thanks, I looked into QSignalMapper, but it seems to have limitations, for example you can only pass one parameter and you can really just map one slot/signal. I could probably make it work by passing a structure (and register that with the meta compiler), and then use multiple QSignalMappers... but, at least for my case, I find that creating my own object to be much simpler both to implement and to read.
    • SetContextProperty multiple files
      QML and Qt Quick • qml files multiple reference error • • neovius  

      2
      0
      Votes
      2
      Posts
      1363
      Views

      Hi @neovius and Welcome, When i change the backlight slider, the signal is emitted, and received. but i still get the warning when starting the application : That is because you are creating QML component before setting the context property and thus naturally it wont be able to access that method at very first time. http://doc.qt.io/qt-5/qtqml-cppintegration-exposecppattributes.html#exposing-properties http://doc.qt.io/qt-5/qtqml-cppintegration-exposecppattributes.html#exposing-methods-including-qt-slots
    • [solved] Create top level QT project to build multiple projects
      General and Desktop • build pro file multiple • • code_fodder  

      12
      0
      Votes
      12
      Posts
      7980
      Views

      Another post recently linked back to this one, so I wanted to augment this with a couple more relevant links for setting up a manageable, maintainable qmake SUBDIRS structure: https://www.toptal.com/qt/vital-guide-qmake https://wiki.qt.io/QMake-top-level-srcdir-and-builddir Which helped me set up a working example: https://github.com/219-design/qt-qml-project-template-with-ci/blob/6af6488d74e1dc97a/main_gui.pro
    • Question on desktop layout with multiple-monitors
      General and Desktop • desktop multiple monitor rect • • pmh4514  

      2
      0
      Votes
      2
      Posts
      1752
      Views

      @pmh4514 maybe you can use the QDesktopWidget int QDesktopWidget::screenNumber(const QWidget * widget = 0) const Returns the index of the screen that contains the largest part of widget, or -1 if the widget not on a screen.
    • [SOLVED]Possible? Multiple QSerialPort Threads Simultaneously Independently
      General and Desktop • qserialport threads terminal multiple independent simultaneously • • Sen Li  

      18
      0
      Votes
      18
      Posts
      7913
      Views

      @SGaist Thank you very much for your tips! I probably should give up on the serial thread. It is beyond my ability to play with that problem.