Qt - 设置QLabel的可视性(visible)

设置QLabel的可视性(visible)


本文地址: http://blog.csdn.net/caroline_wendy/article/details/24035677


Qt应用中, 有时候, 需要隐藏标签(label), 使用setVisible(bool)函数, 即可;

具体应用:

QLabel* l;
l->setVisible (false); //标签不可视


你可能感兴趣的:(标签,qt,隐藏,Mystra,可视性)