summaryrefslogtreecommitdiffstats
path: root/doc/codesnippets/doc/src/snippets/code/src_gui_image_qpixmap.cpp
blob: baa53379487e9e4a6d4ba54cb4ca2e37923363cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//! [0]
static const char * const start_xpm[]={
    "16 15 8 1",
    "a c #cec6bd",
....
//! [0]


//! [1]
myPixmap = QPixmap()
myPixmap.setMask(myPixmap.createHeuristicMask())
//! [1]