Replace Pixel Map from from the package Qt in package Wt

Added by Dominik K 2 months ago

Hi,
I would like to replace object Pixel Map from the package Qt in package Wt. What can I replace it with?
Additionaly, can anything replace QLabel in Wt package?

Thank you in advance for your answer.


Replies (1)

RE: Replace Pixel Map from from the package Qt in package Wt - Added by Roel Standaert 2 months ago

Had to look those things up, because I'm less familiar with Qt.

I assume you're referring to QPixmap? It think the closest thing Wt has is WRasterImage.

If you're just looking to draw things, and show them on a web page, you may want to look at WPaintedWidget. You can also check the widget gallery for more examples: https://www.webtoolkit.eu/widgets/graphics-charts

As for QLabel, that looks like it's just for simple text? For that, we've got WText. WLabel is more for when you want to associate it with a form widget.

Hope this helps.

Regards,
Roel

(1-1/1)