[Python] Rotating symbols in QTableWidgetItem, pyqt5

Discussão em 'Python' iniciado por Stack, Setembro 25, 2024.

  1. Stack

    Stack Membro Participativo

    I develop trading application and need to indicate the direction of price channel. What I have now is the combination of '\|/' rotated by 90 degree using class VerticalTextDelegate as it was described here. The result is ok for me. But now when support and resistance lines are co-directional (both go up or both go down) I need to show if they are expanding or contracting. I use symbols '∕ ↖' which have different slope then '/\', but class VerticalTextDelegate does not work. The result is at the third cell. Symbols are in place, but are not rotated

    What do I do wrong? '∕ ↖' are not typical symbols, but are the best fit for my task. I found them here

    Continue reading...

Compartilhe esta Página