Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. click

    Log in to post
    • All categories
    • D

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

      2
      0
      Votes
      2
      Posts
      198
      Views

      johngod

      No need to calculate the position, use linkActivated signal handler https://doc.qt.io/qt-5/qml-qtquick-text.html#linkActivated-signal

    • O

      Unsolved Qt QuickTest and native dialogs
      QML and Qt Quick • qtquicktest native dialog simulate button click • • Oliver Starke CEOS

      1
      0
      Votes
      1
      Posts
      177
      Views

      No one has replied

    • M

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

      8
      0
      Votes
      8
      Posts
      8156
      Views

      M

      @jsulm
      Okay, that helped me a lot. Thank you very much!

    • L

      Solved Mouse pressed with right OR left click check?
      General and Desktop • click qpushbutt right-click • • legitnameyo

      5
      0
      Votes
      5
      Posts
      4752
      Views

      jsulm

      @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

    • K

      Solved Opening dynamically created buttons
      General and Desktop • dynamic button click qstringlist • • Kushan

      11
      0
      Votes
      11
      Posts
      10977
      Views

      K

      @jsulm thanx bro :)

    • L

      Solved Getting only the folder path to a line edit without selecting any file
      General and Desktop • qtcreator folder path button click • • Lasith

      4
      0
      Votes
      4
      Posts
      19624
      Views

      G

      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...

    • A

      Solved Adding own UI to dialog
      General and Desktop • gui button click dialog • • aney

      12
      0
      Votes
      12
      Posts
      11158
      Views

      mrjj

      @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.

    • Ratzz

      Solved sub window shrinks on Linux when opened through main window.
      General and Desktop • linux click • • Ratzz

      9
      0
      Votes
      9
      Posts
      2266
      Views

      SGaist

      In the constructor or in the showEvent ?

    • R

      Translucent window with click-through behaviour
      General and Desktop • transparency window click through translucent • • Rphysx

      3
      0
      Votes
      3
      Posts
      1549
      Views

      R

      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
      1034
      Views

      Chris Kawa

      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.