Qt状态栏(statusbar)的使用

状态栏显示的信息分3种 1. 通常信息,用QLabel 表明 2. 永久信息,文本会一直显示在状态栏的最右边。 3. 临时信息,指定信息现实的时间。时间到即信息消失web //QLabel *locationLabel; locationLabel = new QLabel("July"); locationLabel->setAlignment(Qt::AlignCenter); locatio
相关文章
相关标签/搜索