Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Polish
  4. Okno modalne nadrzedne

Okno modalne nadrzedne

Scheduled Pinned Locked Moved Polish
4 Posts 2 Posters 2.4k 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.
  • P Offline
    P Offline
    piyak
    wrote on last edited by
    #1

    Czy wie ktoś jak zrobić zeby aplikacja QMainWindow wyswietlala sie jako okno modalne nadrzedne i okno modalne systemowe?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Zerknij w "WindowFlags":http://qt-project.org/doc/qt-4.8/qt.html#WindowType-enum. Można je ustawić na każdej pochodnej QWidget za pomocą setWindowFlags(). Można też zaglądnąć na "QWidget::setWindowModality()":http://qt-project.org/doc/qt-4.8/qwidget.html#windowModality-prop.

      (Z(:^

      1 Reply Last reply
      0
      • P Offline
        P Offline
        piyak
        wrote on last edited by
        #3

        Wielkie dzięki sierdzio :]

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Nie ma sprawy. Nie dodałem, ale WindowFlags to nie tylko ta jedna tabelka, ale też 2 pod spodem, tam są te najciekawsze opcje.

          (Z(:^

          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