关闭

how to use dialog

328人阅读 评论(0) 收藏 举报

 主要有两种:

So far we have used several convenience static functions from both QMessageBox and QFileDialog. These functions create a dialog, initialize it, and call exec() on it. It is also possible, although less convenient, to create a QMessageBox or a QFileDialog widget like any other widget and explicitly call exec(), or even show(), on it.

一是调用静态函数

一是基本的方法,用于自建的对话框(modal or modaless)

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:104007次
    • 积分:1518
    • 等级:
    • 排名:千里之外
    • 原创:42篇
    • 转载:37篇
    • 译文:0篇
    • 评论:8条
    最新评论