Removed some extraneous qDebugs

This commit is contained in:
Mark Long 2016-10-10 17:24:41 -05:00
parent 804a21b665
commit 37f450fd95
3 changed files with 0 additions and 11 deletions

View File

@ -1,6 +1,5 @@
#include "charsetviewer.h"
#include <QDebug>
CharSetViewer::CharSetViewer(QWidget *parent) : QWidget(parent)
{
@ -23,7 +22,6 @@ void CharSetViewer::setFile(BinaryFile *file)
int ypos = 0;
foreach (CharSetCharacter csc, m_charset.allCharacters())
{
qDebug() << "CSC: " << csc.asciiVal();
CharacterWidget *cw = new CharacterWidget(this,csc,4);
cw->showGrid(true);
cw->enableBitShift(true);

View File

@ -4,7 +4,6 @@
#include <QSize>
#include <QPainter>
#include <QBitArray>
#include <QDebug>
CharacterWidget::CharacterWidget(QWidget *parent, CharSetCharacter ch, int scale)
: QWidget(parent), m_character(ch), m_scale(scale)
@ -26,7 +25,6 @@ CharacterWidget::CharacterWidget(QWidget *parent, CharSetCharacter ch, int scale
void CharacterWidget::doRepaint()
{
qDebug() << "doRepaint() begin";
m_pixmap.fill(m_bgcolor);
QPainter painter(&m_pixmap);
@ -34,7 +32,6 @@ void CharacterWidget::doRepaint()
painter.setBrush(m_fgcolor);
QByteArray chardata = m_character.data();
qDebug() << chardata;
for (quint8 yval = 0; yval < 8; yval++)
{
@ -51,7 +48,6 @@ void CharacterWidget::doRepaint()
bits.setBit(5,(line & 0x20));
bits.setBit(6,(line & 0x40));
qDebug() << "Bits: " << bits;
int shiftval = 0;
painter.setBrush(m_fgcolor);
if (m_dobitshift && (line & 0x80)) {
@ -91,7 +87,6 @@ void CharacterWidget::doRepaint()
}
repaint();
qDebug() << "end";
}
void CharacterWidget::paintEvent(QPaintEvent *)

View File

@ -1,5 +1,4 @@
#include "charset.h"
#include <QDebug>
CharSetCharacter::CharSetCharacter(quint8 asciival, QByteArray bytes)
@ -35,12 +34,10 @@ void CharacterSet::buildSetFromSetBlob(QByteArray data)
qWarning("Unexpected character set size: %d (not 768). Resizing.",data.size());
data.resize(768);
}
qDebug() << "BuildSet: " << data;
int val = 32;
for (int idx = 0; idx < 768; idx+=8)
{
QByteArray ch = data.mid(idx,8);
qDebug() << "Added character " << idx / 8 << "Data: " << ch;
CharSetCharacter csc = CharSetCharacter(val,ch);
m_charmap.insert(val,csc);
@ -50,7 +47,6 @@ qDebug() << "BuildSet: " << data;
QList<CharSetCharacter> CharacterSet::allCharacters() const
{
qDebug() << "allCharacters: " << m_charmap.values().count();
return m_charmap.values();