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. Click event for the push notifications
Forum Updated to NodeBB v4.3 + New Features

Click event for the push notifications

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.4k Views 2 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.
  • NataschaN Offline
    NataschaN Offline
    Natascha
    wrote on last edited by kshegunov
    #1

    Hello everybody!

    I have programmed the push notifications (hereinafter referred to as PN) with the example "Qt Notifier". It has also worked well. Now, this example does not show how to program an click event on the PN, that gets the app to the foreground.

    I have found no other examples on this topic on the net.

    Does anyone know a good source on this topic or knows someone exactly which method from which class can be used for this?

    Thank you and best regards

    [German: https://forum.qt.io/topic/82851/push-notifications]
    [Russian: https://forum.qt.io/topic/82870/сообщения-push-notifications]

    [Added crosslinks ~kshegunov]

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      AFAIK, it's something you have to do at the activity level (note that I haven't tested it yet).

      You can check that stack overflow thread which might give you a useful pointer to get started.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • NataschaN Offline
        NataschaN Offline
        Natascha
        wrote on last edited by
        #3

        Thank you very much for your help. It's a good link.
        I've still found an another good source here.

        1 Reply Last reply
        2
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You're welcome !

          If that answers you question, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

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