PyQt Custom Windows

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 7

  • @vujuskteez2947
    @vujuskteez2947 2 роки тому +4

    9:30 right when I just scrolled down checking the video description 😂

  • @shahzaibhassan6504
    @shahzaibhassan6504 Рік тому +1

    Man absolutely insane, Can i get the code for this? (No problem if you dont have it.)
    Also you deserve a sub, i am subscribing you man.

    • @MadPonyInteractive
      @MadPonyInteractive  Рік тому

      Hi thanks you for the nice words. I havent worked on this for a while but you can check the code in my GitHub: github.com/MadPonyInteractive/MadQt

    • @shahzaibhassan6504
      @shahzaibhassan6504 Рік тому

      Thanks!

  • @MadPonyInteractive
    @MadPonyInteractive  3 роки тому

    I forgot to add an important flag that is responsible for minimization when you press the app icon in the taskbar and that is the Qt.WindowMinimizeButtonHint
    So the full flags would be:
    self.setWindowFlags(Qt.FramelessWindowHint|Qt.WindowMaximizeButtonHint|Qt.WindowMinimizeButtonHint)
    ^ is a python operator called XOR

  • @ta_inez_a451
    @ta_inez_a451 Рік тому

    i have gigantic problem with applying Qt. commands, I use Pyqt6 and there type object 'Qt' has no attribute 'FramelessWindowHint'
    I NEED HELP 😢

    • @RatCaptain-2320
      @RatCaptain-2320 2 місяці тому

      If you still need it try this "Qt.WindowType.FramelessWindowHint"