《linux窗口程序设计》
QString frameGeo,s;
frameGeo=s.setNum(frameGeometry().x())+","+
s.setNum(frameGeometry().y())+","+
s.setNum(frameGeometry().width())+","+
s.setNum(frameGeometry().height());
frameGeoLabel->setText(frameGeo); 为什么打印的四个数都是x的坐标啊?
当move包含此Label的dialog时,4个数字会同时改变,但都是显示x的坐标
我又找了书上附带的源码,运行也是这种情况~
运行平台ubuntu 8.04 gnome