0

I am trying to design a simple GUI using Qt Designer (with python).

I have already created two 'tabs' (pages), in the first tab a user can input variables and get let's say a calculated result. In the second tab, I would like to display a text document and equations which supplement the background info for the calculation performed in the first tab. How can I do this from Qt Designer?

For short/one line texts, it is possible to use one of the 'display widgets'. But my problem is with 'lager texts' and 'equation'.

Julien Marrec
  • 11,605
  • 4
  • 46
  • 63
  • please show us what u have done... – m2j Dec 07 '16 at 15:14
  • 1
    You'd probably want to use `QTextBrowser`, and write code to generate the background information using the html subset supported by Qt. Equations would have to be rendered into images. You could also render it into html/mathjax and use a web view to render it. The choice really is yours, but there's nothing in Designer itself that has much to do with your content: you'll have to generate it programmatically. – Kuba hasn't forgotten Monica Dec 07 '16 at 15:33
  • Thank you! QTextBrowser works fine for me. – PyNovice Dec 07 '16 at 16:04

0 Answers0