随笔分类 - Qt
摘要:setWindowFlags http://blog.chinaunix.net/uid 23500957 id 3876399.html move()方法,的作用是设置QWidget部件的pos坐标的。即设置左上角的坐标。通过设置左上角的坐标,来达到移动窗口的目的。 QPixmap 类代表图像 h
阅读全文
摘要:在Qt中提供了QDesktopWidget类,提供屏幕的有关信息. 可以这么作: QDesktopWidget d=QApplication::desktop(); int width=d widht(); //屏幕的宽度 int height=d height(); //屏幕的高度 或者简写如下:
阅读全文
浙公网安备 33010602011771号