第一种,用toolTip的形式
lineEdit->setToolTip("范围为0-220,2位小数");
第二种,用占位符的形式
lineEdit->setPlaceholderText("范围为0-220,2位小数");
第一种,用toolTip的形式
lineEdit->setToolTip("范围为0-220,2位小数");
第二种,用占位符的形式
lineEdit->setPlaceholderText("范围为0-220,2位小数");