python - Qt Designer - clickable area to generate map -
using python 2.7.3 , qt designer 4.8.2: i'm new qt, how may create simple grid area clickable generate map? image below illustrates intend.
in essence main issue grid area, i'm unable see 'off shelf' within qt.
one (clunky?) solution draw map image using label widget pixmap set. can achieve click-ability listening mousepressevent
on widget, upon can qmouseevent
object contains mouse x, y position (both global , relative clicked widget). can used determine on image clicked.
Comments
Post a Comment