QT hide show label code example
Example: QT hide show 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
}