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

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?
主站蜘蛛池模板: 阳西县| 平顶山市| 长海县| 嘉祥县| 杂多县| 福鼎市| 惠来县| 淄博市| 邓州市| 普格县| 白玉县| 麻江县| 隆回县| 漾濞| 孟村| 务川| 宜良县| 奉贤区| 巫山县| 新乡市| 慈溪市| 永善县| 三亚市| 黄浦区| 望奎县| 北京市| 新疆| 贵南县| 罗田县| 伊吾县| 仙游县| 德江县| 平塘县| 北川| 海城市| 都江堰市| 亳州市| 平定县| 揭西县| 汝城县| 昭觉县|