##// END OF EJS Templates
Improved data update, now widget resize correctly to data, and always reset...
Jeandet Alexis -
r1:595b808665c6 default
parent child
Show More
@@ -7,7 +7,7 QHexEdit::QHexEdit(QWidget *parent) : QS
7 7 {
8 8 qHexEdit_p = new QHexEditPrivate(this);
9 9 setWidget(qHexEdit_p);
10 //setWidgetResizable(true);
10 setWidgetResizable(true);
11 11
12 12 connect(qHexEdit_p, SIGNAL(currentAddressChanged(int)), this, SIGNAL(currentAddressChanged(int)));
13 13 connect(qHexEdit_p, SIGNAL(currentSizeChanged(int)), this, SIGNAL(currentSizeChanged(int)));
@@ -111,6 +111,7 int QHexEdit::cursorPosition()
111 111
112 112 void QHexEdit::setData(const QByteArray &data)
113 113 {
114 verticalScrollBar()->setSliderPosition(verticalScrollBar()->minimum());
114 115 qHexEdit_p->setData(data);
115 116 }
116 117
General Comments 0
You need to be logged in to leave comments. Login now