창 설치 동작

1651 단어 Qt
setWindowFlags 인터페이스 설정 창의 WindowStaysOnTopHint 속성 을 사용 하여 정상 동작 을 수행 합 니 다.
인터페이스
Qt::WindowFlags windowFlags() const
void setWindowFlags(Qt::WindowFlags type)

창 을 꼭대기 에 놓다.
  • 알림 창 시스템 이 창 은 모든 다른 창 위 에 있어 야 합 니 다.X11 의 일부 창 관리자 에 서 는 이 표지 가 올 바 르 게 작 동 하도록 Qt::X11BypassWindowManagerHint 을 전달 해 야 합 니 다.
  • setWindowFlags(windowFlags()| Qt::WindowStaysOnTopHint);
    

    창 밑받침
  • 알림 창 시스템 이 창 은 모든 다른 창의 아래쪽 에 있어 야 합 니 다.
  • setWindowFlags(windowFlags()| Qt::WindowStaysOnBottomHin);
    

    좋은 웹페이지 즐겨찾기