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.
  • N Offline
    N Offline
    Natascha
    wrote on 1 Sept 2017, 09:17 last edited by kshegunov 9 Jan 2017, 09:19
    #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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 3 Sept 2017, 21:08 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
      • N Offline
        N Offline
        Natascha
        wrote on 4 Sept 2017, 14:45 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 4 Sept 2017, 21:12 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

          1/4

          1 Sept 2017, 09:17

          • Login

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