官术网_书友最值得收藏!

Questions

Try these questions to test your knowledge of this chapter:

  1. We use a message box to tell users that they are already viewing the first or last image while they are trying to see the previous one before the first image, or the next one after the last image. But there is another way to deal with this situation—disable prevAction when users are viewing the first image, and disable nextAction when users are viewing the last image. How is this implemented?
  2. Our menu items or tool buttons only contain text. How could we add an icon image to them?
  3. We use QGraphicsView.scale to zoom in or out of an image view, but how do you rotate an image view?
  4. What does moc do? What actions do the SIGNAL and SLOT macros perform?
主站蜘蛛池模板: 万载县| 莎车县| 阳谷县| 类乌齐县| 囊谦县| 新蔡县| 三门峡市| 汤原县| 遂昌县| 娄底市| 浙江省| 康乐县| 贵阳市| 宁南县| 高邮市| 云和县| 漳平市| 繁昌县| 德江县| 泸西县| 安图县| 宝山区| 蒲城县| 新沂市| 顺昌县| 确山县| 札达县| 承德县| 招远市| 高陵县| 大荔县| 和硕县| 阿拉尔市| 宁波市| 柳河县| 无为县| 嘉黎县| 城固县| 佛山市| 神农架林区| 哈密市|