split imageselector
* image updating in seperate class ImageSwitcher * image selection in class ImageSelector
This commit is contained in:
@@ -168,3 +168,9 @@ void MainWindow::setBackgroundOpacity(unsigned int backgroundOpacity)
|
||||
{
|
||||
this->backgroundOpacity = backgroundOpacity;
|
||||
}
|
||||
|
||||
void MainWindow::warn(std::string text)
|
||||
{
|
||||
QLabel *label = this->findChild<QLabel*>("image");
|
||||
label->setText(text.c_str());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user