Qt-Gebouw/drukbox.cpp

14 lines
238 B
C++
Raw Permalink Normal View History

2022-04-06 16:01:47 +00:00
#include "drukbox.h"
2022-04-06 17:17:51 +00:00
Drukbox::Drukbox(QTextBrowser *a): browser(a){
2022-04-06 16:01:47 +00:00
}
2022-04-06 17:17:51 +00:00
void Drukbox::toonText(std::string s){
browser->append(QString::fromStdString(s));
browser->update();
2022-04-06 16:01:47 +00:00
}
void Drukbox::clearMedium(){
2022-04-06 17:17:51 +00:00
browser->clear();
2022-04-06 16:01:47 +00:00
}