Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. [SOLVED] window maximize signal
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] window maximize signal

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 4 Posters 3.5k Views 1 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.
  • D Offline
    D Offline
    david.luggen
    wrote on last edited by
    #1

    Hi there

    I want to save my windows geometry every time it changes. Are there any signals I can use for this. I thought best way would be something with a connect like:

    @
    connect(this->window, SIGNAL(resized()), ..., ...);
    @

    But it wasn't possible to find something useful, therefore I post it quickly!

    Thx for any help.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      How about reacting to a resize event in your main window?

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        If you do that (you can by reimplementing the relevant virtual method), don't forget to call the baseclass implementation for them in your reimplementation. Otherwise, you're going to see some funny results...

        1 Reply Last reply
        0
        • C Offline
          C Offline
          CreMindES
          wrote on last edited by
          #4

          Maybe you want to check out "QResizeEvent":/doc/qt-4.8/qresizeevent.html class ;)

          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