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

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?
主站蜘蛛池模板: 昌图县| 合阳县| 上高县| 弋阳县| 宜阳县| 西乡县| 惠来县| 华蓥市| 莲花县| 汨罗市| 泾源县| 武夷山市| 合肥市| 义马市| 布尔津县| 武平县| 青河县| 聊城市| 雷波县| 临夏市| 中牟县| 吴江市| 中阳县| 陇川县| 凤冈县| 吉安市| 玉龙| 泌阳县| 新昌县| 合作市| 峨眉山市| 手游| 扬州市| 伊春市| 施秉县| 台中县| 团风县| 沂南县| 闽清县| 分宜县| 泸西县|