QT show hide label code example
Example: QT show hide label
void MainWindow::display()
{
label->setVisible(!label->isVisible());// Set the status as the opposite
}
void MainWindow::display()
{
label->setVisible(!label->isVisible());// Set the status as the opposite
}