Navigation

    Qt Forum

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

    • UNSOLVED Emit signal by clicking on the part of the text
      QML and Qt Quick • text click qml signalsslot qml link • • d.sukhomlinov  

      2
      0
      Votes
      2
      Posts
      126
      Views

      No need to calculate the position, use linkActivated signal handler https://doc.qt.io/qt-5/qml-qtquick-text.html#linkActivated-signal
    • UNSOLVED Qt QuickTest and native dialogs
      QML and Qt Quick • button click qtquicktest native dialog simulate • • Oliver Starke CEOS  

      1
      0
      Votes
      1
      Posts
      104
      Views

      No one has replied

    • SOLVED Handing events from children to parent widget?
      General and Desktop • event parent click child passing • • m1212e  

      8
      0
      Votes
      8
      Posts
      5130
      Views

      @jsulm Okay, that helped me a lot. Thank you very much!
    • SOLVED Mouse pressed with right OR left click check?
      General and Desktop • click qpushbutt right-click • • legitnameyo  

      5
      0
      Votes
      5
      Posts
      3310
      Views

      @legitnameyo This is not how it works. You will need to subclass QPushButton and override http://doc.qt.io/qt-5/qwidget.html#mousePressEvent You can find an example here: http://doc.qt.io/qt-5/qtwidgets-widgets-scribble-example.html
    • SOLVED Opening dynamically created buttons
      General and Desktop • button dynamic qstringlist click • • Kushan  

      11
      0
      Votes
      11
      Posts
      9511
      Views

      @jsulm thanx bro :)
    • SOLVED Getting only the folder path to a line edit without selecting any file
      General and Desktop • qtcreator button click folder path • • Lasith  

      4
      0
      Votes
      4
      Posts
      14542
      Views

      just use the filePath without further modification, its already the complete path. This code QDir d = QFileInfo(filePath).absoluteDir(); QString absolute=d.absolutePath(); will lead you to the dir above the selected path...
    • SOLVED Adding own UI to dialog
      General and Desktop • gui button dialog click • • aney  

      12
      0
      Votes
      12
      Posts
      9853
      Views

      @aney Yeah when meta compiler doesn't run, it all get a bit strange. :) In first post , under it. to the right. is Topic Tools button. It can mark as solved.
    • SOLVED sub window shrinks on Linux when opened through main window.
      General and Desktop • linux click • • Ratzz  

      9
      0
      Votes
      9
      Posts
      2153
      Views

      In the constructor or in the showEvent ?
    • Translucent window with click-through behaviour
      General and Desktop • window transparency click translucent through • • Rphysx  

      3
      0
      Votes
      3
      Posts
      1449
      Views

      Win7 & Qt 5.4.2 with QtCreator 3.4.1
    • Menu not working
      General and Desktop • menu click • • A Former User  

      2
      0
      Votes
      2
      Posts
      978
      Views

      Maybe there's a widget that you didn't put into a layout? The default position of such widget is in the upper left corner and the 100px sound like some default size. Try adding this in your main: qApp->setStyleSheet("QWidget { border: 2px solid red;}"); This should put a red frame around every widget so you'll see if anything's there.