PyQt QtDesigner Custom Widgets

Поделиться
HTML-код
  • Опубликовано: 13 дек 2024

Комментарии • 10

  • @MadPonyInteractive
    @MadPonyInteractive  Год назад

    For more recent versions of PySide6 you need to set the Direction enum for this example to work.
    So you need to replace:
    self.marginsAnim.Forward
    with:
    self.marginsAnim.Direction.Forward
    And:
    self.marginsAnim.Backward
    with:
    self.marginsAnim.Direction.Backward

  • @breakthecode119
    @breakthecode119 6 месяцев назад

    Thanks for the video @MadPonyIteractive. I really found it helpful.

  • @ade4200
    @ade4200 5 месяцев назад

    how does it work when it displays the button in top left? you have not set geometry or a layout. i cannot get it to show a button at that stage.

  • @learningforever957
    @learningforever957 6 месяцев назад

    that was very useful and very well explained, thans a lot mate!

  • @mihax209
    @mihax209 7 месяцев назад +1

    Thank you! I've been trying to look for a solution online for just this but I couldn't find the exact wordings. Promoting is just the feature I was missing

  • @JedHelmers-ub3ue
    @JedHelmers-ub3ue Год назад

    Awesome! Do you know much about creating a custom plugin so we can use custom components inside of Qt Designer?

    • @MadPonyInteractive
      @MadPonyInteractive  Год назад

      I can't say for sure but I believe you need C++ for that.

    • @JedHelmers-ub3ue
      @JedHelmers-ub3ue Год назад

      @@MadPonyInteractive *shrieks in horror* NOOooooo! That was my fear. Thanks for the speedy reply!

    • @learningforever957
      @learningforever957 6 месяцев назад

      @@JedHelmers-ub3ue is possible. You need to add a component that is the bass of you r custom component and then right click and in the promote to, there will be your custom component to choose.

  • @AmgadElsaiegh
    @AmgadElsaiegh 2 года назад +1

    very good, thank you