Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Where is the "BrowseSlot" to connect my button with this signal ?

Where is the "BrowseSlot" to connect my button with this signal ?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 436 Views
  • 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.
  • Q Offline
    Q Offline
    Qtzo
    wrote on last edited by
    #1

    Hi all ,
    i'm on Qt Designer 5, and i just want to create a QDialog which load a document , so i need
    to connect my button "Browse" with the real signal "BrowseSlot" , but i don't see this one on the list when i try to edit.
    thanks for help

    jsulmJ 1 Reply Last reply
    0
    • Q Qtzo

      Hi all ,
      i'm on Qt Designer 5, and i just want to create a QDialog which load a document , so i need
      to connect my button "Browse" with the real signal "BrowseSlot" , but i don't see this one on the list when i try to edit.
      thanks for help

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Qtzo You have to create this slot by yourself, where you then show the dialog.
      There is no "BrowseSlot" signal, you connect the clicked() signal of your button with your own slot.

      connect(ui->mybutton, &QPushButton::clicked, this, &MyClass::browseSlot);
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

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