@@ -7,8 +7,8 registerWidget::registerWidget(const QSt | |||
|
7 | 7 | { |
|
8 | 8 | p_address = address; |
|
9 | 9 | p_value = 0; |
|
10 | p_addressEl = new regWidgetElement(QString("0x%1").arg(p_address,8,16).replace(" ","0"),QFont("Utopia", 12),10,4); | |
|
11 | p_fieldsEl = new bitfieldsElement(QString("%1").arg(p_value,32,2).replace(" ","0"),QFont("Utopia", 12),4,4); | |
|
10 | p_addressEl = new regWidgetElement(QString("0x%1").arg((uint)p_address,8,16).replace(" ","0"),QFont("Utopia", 12),10,4); | |
|
11 | p_fieldsEl = new bitfieldsElement(QString("%1").arg((uint)p_value,32,2).replace(" ","0"),QFont("Utopia", 12),4,4); | |
|
12 | 12 | p_nameEl = new regWidgetElement(name,QFont("Utopia", 12,QFont::Bold),4,4); |
|
13 | 13 | p_xMargins = 4; |
|
14 | 14 | p_yMargins = 4; |
General Comments 0
You need to be logged in to leave comments.
Login now