QImage leftBootImage(":/boot_left_small.png");QImage rightBootImage(":/boot_right_small.png");QSectionBoot::QSectionBoot(bool Init, QGraphicsItem *parent) :QRailItem(Init, parent){ fshowBoot = true; fbootImage = &leftBootImage;}
QImage leftBootImage(":/boot_left_small.png");QImage rightBootImage(":/boot_right_small.png");
C++ (Qt)if( leftBootImage.isNull() ) leftBootImage.load(":/boot_left_small.png");
QAction * action = contextMenu.addAction(QIcon(":/resources/icons/boot.png"),trUtf8("Башмаки"),this,SLOT(requestForShowBootForSection()));
<RCC> <qresource prefix="/"> <file alias="agree.png">resources/icons/agree.png</file> <file alias="align_bottom.png">resources/icons/align_bottom.png</file> <file alias="align_center.png">resources/icons/align_center.png</file> <file alias="align_left.png">resources/icons/align_left.png</file> <file alias="align_middle.png">resources/icons/align_middle.png</file> <file alias="align_right.png">resources/icons/align_right.png</file> <file alias="align_top.png">resources/icons/align_top.png</file> <file alias="anchor.png">resources/icons/anchor.png</file> <file alias="anchor_after.png">resources/icons/anchor_after.png</file> <file alias="anchor_before.png">resources/icons/anchor_before.png</file>