summaryrefslogtreecommitdiff
path: root/utils/regtools/qeditor/regedit.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/qeditor/regedit.h')
-rw-r--r--utils/regtools/qeditor/regedit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/regtools/qeditor/regedit.h b/utils/regtools/qeditor/regedit.h
index 2540500f29..893ec73421 100644
--- a/utils/regtools/qeditor/regedit.h
+++ b/utils/regtools/qeditor/regedit.h
@@ -165,6 +165,7 @@ public:
165 RegFieldEditPanel(const soc_desc::field_ref_t& ref, QWidget *parent = 0); 165 RegFieldEditPanel(const soc_desc::field_ref_t& ref, QWidget *parent = 0);
166 soc_desc::field_ref_t GetField(); 166 soc_desc::field_ref_t GetField();
167 void UpdateWidth(); 167 void UpdateWidth();
168 void UpdateRange();
168 169
169signals: 170signals:
170 void OnModified(); 171 void OnModified();
@@ -203,12 +204,14 @@ protected slots:
203 void OnRegFieldDelete(); 204 void OnRegFieldDelete();
204 void OnRegFieldNew(); 205 void OnRegFieldNew();
205 void OnWidthChanged(int size); 206 void OnWidthChanged(int size);
207 void OnAccessChanged(int access);
206 void OnFieldModified(); 208 void OnFieldModified();
207 void OnDescEdited(); 209 void OnDescEdited();
208 void OnVariantActivated(QTableWidgetItem *item); 210 void OnVariantActivated(QTableWidgetItem *item);
209 void OnVariantValueChanged(QTableWidgetItem *item); 211 void OnVariantValueChanged(QTableWidgetItem *item);
210 void OnFieldRemove(int index); 212 void OnFieldRemove(int index);
211 void OnFieldCreate(); 213 void OnFieldCreate();
214 void OnBitrangeModified(int index);
212 215
213protected: 216protected:
214 void DoModify(); 217 void DoModify();
@@ -228,8 +231,10 @@ protected:
228 QAction *m_delete_action; 231 QAction *m_delete_action;
229 QPoint m_menu_point; 232 QPoint m_menu_point;
230 SocFieldItemDelegate *m_variant_delegate; 233 SocFieldItemDelegate *m_variant_delegate;
234 SocAccessItemDelegate *m_access_delegate;
231 SocFieldEditorCreator *m_variant_editor; 235 SocFieldEditorCreator *m_variant_editor;
232 QButtonGroup *m_reg_size_group; 236 QButtonGroup *m_reg_size_group;
237 QButtonGroup *m_reg_access_group;
233}; 238};
234 239
235class RegEdit : public QWidget, public DocumentTab 240class RegEdit : public QWidget, public DocumentTab