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.

enter image description here

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

Popular posts from this blog

Prolog - Listing -

orchardcms - change base url in local copy in Orchard CMS -

linear regression - Trying to get confidence/prediction intervals with `predict.lm` in R, but I keep getting an error regarding my dichotomous variable -