asd
This commit is contained in:
@@ -15,9 +15,6 @@ ChatWidget::ChatWidget(QWidget *parent)
|
||||
vbox.addWidget(&header);
|
||||
vbox.addWidget(&view);
|
||||
vbox.addWidget(&input);
|
||||
|
||||
// QFont font("Segoe UI", 15, QFont::Normal, false);
|
||||
// this->font = font;
|
||||
}
|
||||
|
||||
ChatWidget::~ChatWidget()
|
||||
@@ -30,14 +27,4 @@ void ChatWidget::paintEvent(QPaintEvent *)
|
||||
QPainter painter (this);
|
||||
|
||||
painter.fillRect(rect(), ColorScheme::getInstance().ChatBackground);
|
||||
|
||||
// QColor color (255, 0, 0);
|
||||
|
||||
// painter.setPen(color);
|
||||
|
||||
// painter.setFont(this->font);
|
||||
// painter.drawRect(0, 0, width() - 1, height() - 1);
|
||||
|
||||
// QString text = "test text";
|
||||
// painter.drawText(20, 20, text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user