A bit more placeholder UI around the texture display rect

This commit is contained in:
baldurk
2015-07-10 17:13:05 +02:00
parent 048e3ddb6e
commit 87f085d588
3 changed files with 179 additions and 34 deletions
+10 -1
View File
@@ -16,6 +16,15 @@ CustomPaintWidget::~CustomPaintWidget()
void CustomPaintWidget::paintEvent(QPaintEvent *e)
{
if(m_Output) m_Output->Display();
if(m_Output)
{
m_Output->Display();
}
else
{
QPainter p(this);
p.setBrush(QBrush(Qt::black));
p.drawRect(rect());
}
}