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. Removal of TWM frames

Removal of TWM frames

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.3k 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.
  • D Offline
    D Offline
    dbetsing
    wrote on last edited by
    #1

    Hi,

    I am building an application for Redhat using TWM and QT 4.7.2 I wish to prevent the user from iconizing, moving, closing, etc the popups from outside my application, so desire removing the TWM applied frame. The problem I have is that when attempting to use the QT window flags, in TWM

    1. Qt::Dialog | Qt::WindowStaysOnTopHint| Qt::FramelessWindowHint, doesn't appear to remove the frame in TWM like it does elsewhere

    2. Qt::Dialog | Qt::WindowStaysOnTopHint| Qt::X11BypassWindowManagerHint | Qt::FramelessWindowHint removes the frame, but then won't let me set focus on an entry field to input data (ie. clicking on a QLineEdit field does not insert the cursor for me to enter data)

    3. Qt::Popup | Qt::WindowStaysOnTopHint| Qt::FramelessWindowHint also removes the frame and allows for entries, but clicking elsewhere on the display automatically dismisses the popup.

    Are there any suggestion on how I can get a popup with no frames, will stay up even when the user clicks elsewhere, and will allow focus to change within the popup? For instance, is there a way to set the popup like 3) above, but bypass the event that closes the window?

    Any help would be appreciated.

    Thanks

    Doug

    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