Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Quiting Qt app by Alert Message
Forum Updated to NodeBB v4.3 + New Features

Quiting Qt app by Alert Message

Scheduled Pinned Locked Moved Solved Mobile and Embedded
23 Posts 3 Posters 4.1k 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.
  • J.HilkJ J.Hilk

    @Vineela what does your MainWindow header file look like ?

    especially the keyPressEvent function declaration, I would expect something like this

    protected:
        void keyPressEvent (QKeyEvent* event)override;
    

    ?

    VineelaV Offline
    VineelaV Offline
    Vineela
    wrote on last edited by
    #21

    @J.Hilk well
    protected:
    void keyPressEvent (QKeyEvent* event)override;
    I've added this to my header MainWindow all working awesome
    thnk u so much for your kind patience .

    J.HilkJ 1 Reply Last reply
    0
    • VineelaV Vineela

      @J.Hilk well
      protected:
      void keyPressEvent (QKeyEvent* event)override;
      I've added this to my header MainWindow all working awesome
      thnk u so much for your kind patience .

      J.HilkJ Online
      J.HilkJ Online
      J.Hilk
      Moderators
      wrote on last edited by
      #22

      @Vineela
      you're welcome. :)

      I'm glad it's now working for you!


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      VineelaV 1 Reply Last reply
      1
      • J.HilkJ J.Hilk

        @Vineela
        you're welcome. :)

        I'm glad it's now working for you!

        VineelaV Offline
        VineelaV Offline
        Vineela
        wrote on last edited by
        #23

        @J.Hilk oh yes it is working great ; P

        1 Reply Last reply
        0

        • Login

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