okteta
bytearrayview.cpp
Go to the documentation of this file.
40 ByteArrayView::ByteArrayView( ByteArrayDocument* document, ByteArrayViewProfileSynchronizer* synchronizer )
49 ByteArrayView::ByteArrayView( ByteArrayView* other, ByteArrayViewProfileSynchronizer* synchronizer,
125 connect( mWidget, SIGNAL(selectionChanged(Okteta::AddressRange)), SLOT(onSelectionChanged(Okteta::AddressRange)) );
126 connect( mWidget, SIGNAL(cursorPositionChanged(Okteta::Address)), SIGNAL(cursorPositionChanged(Okteta::Address)) );
131 connect( mWidget, SIGNAL(offsetColumnVisibleChanged(bool)), SIGNAL(offsetColumnVisibleChanged(bool)) );
133 connect( mWidget, SIGNAL(visibleByteArrayCodingsChanged(int)), SIGNAL(visibleByteArrayCodingsChanged(int)) );
136 connect( mWidget, SIGNAL(showsNonprintingChanged(bool)), SIGNAL(showsNonprintingChanged(bool)) );
143 ByteArrayViewProfileSynchronizer* ByteArrayView::synchronizer() const { return mByteArrayViewProfileSynchronizer; }
148 bool ByteArrayView::hasFocus() const { return mWidget->focusWidget()->hasFocus(); } // TODO: does this work?
bool showsNonprinting() const
Definition: bytearrayview.cpp:286
QChar substituteChar() const
Definition: bytearrayjanusview.cpp:323
Definition: abstractview.h:38
void showsNonprintingChanged(bool showsNonprinting)
void offsetCodingChanged(int offsetCoding)
ByteArrayView(ByteArrayDocument *document, ByteArrayViewProfileSynchronizer *synchronizer)
Definition: bytearrayview.cpp:40
could it be useful to hide the data access behind an iterator? * class KDataBufferIterator { public: ...
Definition: abstractbytearraymodel.h:79
void setLayoutStyle(int layoutStyle)
Definition: bytearrayjanusview.cpp:313
int offsetCoding() const
Definition: bytearrayjanusview.cpp:263
void layoutStyleChanged(int layoutStyle)
void overwriteModeChanged(bool overwriteMode)
void setZoomLevel(double Level)
Definition: bytearrayjanusview.cpp:125
QRect cursorRect() const
Definition: bytearrayjanusview.cpp:177
void setSelection(Okteta::Address start, Okteta::Address end)
Definition: bytearrayview.cpp:276
void setNoOfGroupedBytes(int noOfGroupedBytes)
Definition: bytearrayjanusview.cpp:288
void setUndefinedChar(QChar undefinedChar)
Definition: bytearrayjanusview.cpp:298
void setNoOfBytesPerLine(int noOfBytesPerLine)
Definition: bytearrayjanusview.cpp:190
void readOnlyChanged(bool isReadOnly)
void hasSelectedDataChanged(bool hasSelectedData)
void setByteArrayModel(AbstractByteArrayModel *byteArrayModel)
Definition: bytearrayjanusview.cpp:46
void setSubstituteChar(QChar substituteChar)
Definition: bytearrayview.cpp:358
void setFirstLineOffset(Address firstLineOffset)
Definition: bytearrayjanusview.cpp:186
QString charCodingName() const
Definition: bytearrayview.cpp:255
int noOfBytesPerLine() const
Definition: bytearrayview.cpp:244
void setViewModus(int viewModus)
Definition: bytearrayview.cpp:405
void ensureVisible(const AddressRange &range)
Definition: bytearrayjanusview.cpp:243
void setValueCoding(int valueCoding)
Definition: bytearrayview.cpp:260
void setCursorPosition(Address cursorPosition)
Definition: bytearrayjanusview.cpp:165
bool isOverwriteMode() const
Definition: bytearrayview.cpp:311
void setSubstituteChar(QChar substituteChar)
Definition: bytearrayjanusview.cpp:293
void setVisibleCodings(int columns)
Definition: bytearrayjanusview.cpp:318
virtual void selectAllData(bool selectAll)
Definition: bytearrayview.cpp:173
bool offsetColumnVisible() const
Definition: bytearrayjanusview.cpp:258
void propagateFont(const QFont &font)
Definition: bytearrayjanusview.cpp:373
int byteSpacingWidth() const
Definition: bytearrayview.cpp:378
ByteArrayViewProfileSynchronizer * synchronizer() const
Definition: bytearrayview.cpp:143
void setSelectionCursorPosition(Address index)
Definition: bytearrayjanusview.cpp:169
int noOfGroupedBytes() const
Definition: bytearrayjanusview.cpp:336
void setRange(const Okteta::AddressRange &range)
Definition: bytearrayselection.cpp:35
Okteta::Address firstLineOffset() const
Definition: bytearrayview.cpp:240
void setCharCoding(const QString &charCodingName)
Definition: bytearrayview.cpp:265
void viewModusChanged(int viewModus)
void insert(const QByteArray &byteArray)
Definition: bytearrayjanusview.cpp:248
int binaryGapWidth() const
Definition: bytearrayjanusview.cpp:344
bool canReadData(const QMimeData *data) const
Definition: bytearrayjanusview.cpp:160
void valueCodingChanged(int valueCoding)
virtual bool hasSelectedData() const
Definition: bytearrayview.cpp:178
int visibleByteArrayCodings() const
Definition: bytearrayview.cpp:306
void charCodecChanged(const QString &charCodingName)
double zoomLevel() const
Definition: bytearrayjanusview.cpp:130
bool isOverwriteOnly() const
Definition: bytearrayjanusview.cpp:349
virtual const AbstractModelSelection * modelSelection() const
Definition: bytearrayview.cpp:145
void setLayoutStyle(int layoutStyle)
Definition: bytearrayview.cpp:336
void setMarking(const AddressRange &marking)
Definition: bytearrayjanusview.cpp:238
virtual QMimeData * copySelectedData() const
Definition: bytearrayview.cpp:183
Okteta::AddressRange selection() const
Definition: bytearrayview.cpp:271
void substituteCharChanged(QChar substituteChar)
void setViewPos(const QPoint &pos)
Definition: bytearrayjanusview.cpp:359
virtual Size size() const =0
Okteta::Address cursorPosition() const
Definition: bytearrayview.cpp:227
void setShowsNonprinting(bool showsNonprinting=true)
Definition: bytearrayview.cpp:316
void setNoOfGroupedBytes(int noOfGroupedBytes)
Definition: bytearrayview.cpp:321
bool hasSelectedData() const
Definition: bytearrayjanusview.cpp:140
void toggleOffsetColumn(bool visible)
Definition: bytearrayjanusview.cpp:303
void setViewModus(int viewModus)
Definition: bytearrayjanusview.cpp:51
void pasteData(const QMimeData *data)
Definition: bytearrayjanusview.cpp:150
void zoomLevelChanged(double Level)
int groupSpacingWidth() const
Definition: bytearrayjanusview.cpp:340
virtual QMimeData * cutSelectedData()
Definition: bytearrayview.cpp:193
void undefinedCharChanged(QChar undefinedChar)
void setValueCoding(int valueCoding)
Definition: bytearrayjanusview.cpp:218
void focusChanged(bool hasFocus)
Address cursorPosition() const
Definition: bytearrayjanusview.cpp:173
void setMarking(const Okteta::AddressRange &range, bool ensureVisible=false)
Definition: bytearrayview.cpp:351
void setView(ByteArrayView *view)
Definition: bytearrayviewprofilesynchronizer.cpp:50
void setStartOffset(Address startOffset)
Definition: bytearrayjanusview.cpp:182
void setVisibleByteArrayCodings(int columns)
Definition: bytearrayview.cpp:346
void setCursorPosition(Okteta::Address cursorPosition)
Definition: bytearrayview.cpp:217
void setNoOfBytesPerLine(int noOfBytesPerLine)
Definition: bytearrayview.cpp:341
void setOffsetCoding(int offsetCoding)
Definition: bytearrayjanusview.cpp:308
void setReadOnly(bool isReadOnly)
Definition: bytearrayjanusview.cpp:123
int noOfBytesPerLine() const
Definition: bytearrayjanusview.cpp:202
void insert(const QByteArray &byteArray)
Definition: bytearrayview.cpp:281
virtual Okteta::AbstractByteArrayModel * content() const
Definition: bytearraydocument.cpp:61
int noOfGroupedBytes() const
Definition: bytearrayview.cpp:382
int layoutStyle() const
Definition: bytearrayjanusview.cpp:268
void selectedDataChanged(const Kasten2::AbstractModelSelection *modelSelection)
void setShowsNonprinting(bool showsNonprinting=true)
Definition: bytearrayjanusview.cpp:283
int byteSpacingWidth() const
Definition: bytearrayjanusview.cpp:332
void setUndefinedChar(QChar undefinedChar)
Definition: bytearrayview.cpp:363
bool isOverwriteMode() const
Definition: bytearrayjanusview.cpp:278
QChar undefinedChar() const
Definition: bytearrayjanusview.cpp:327
bool isReadOnly() const
Definition: bytearrayjanusview.cpp:122
virtual void insertData(const QMimeData *data)
Definition: bytearrayview.cpp:188
bool isOverwriteOnly() const
Definition: bytearrayview.cpp:395
int groupSpacingWidth() const
Definition: bytearrayview.cpp:386
QChar substituteChar() const
Definition: bytearrayview.cpp:369
void setOverwriteMode(bool overwriteMode)
Definition: bytearrayview.cpp:400
AddressRange selection() const
Definition: bytearrayjanusview.cpp:228
void setSelection(Address start, Address end)
Definition: bytearrayjanusview.cpp:233
Address startOffset() const
Definition: bytearrayjanusview.cpp:194
void noOfBytesPerLineChanged(int noOfBytesPerLine)
virtual void setZoomLevel(double Level)
Definition: bytearrayview.cpp:162
bool offsetColumnVisible() const
Definition: bytearrayview.cpp:291
void setOffsetCoding(int offsetCoding)
Definition: bytearrayview.cpp:331
void visibleByteArrayCodingsChanged(int columns)
Definition: bytearraydocument.h:54
int visibleCodings() const
Definition: bytearrayjanusview.cpp:273
int valueCoding() const
Definition: bytearrayjanusview.cpp:208
void selectAll(bool selectAll)
Definition: bytearrayjanusview.cpp:135
void cursorPositionChanged(Okteta::Address cursorPosition)
virtual void deleteSelectedData()
Definition: bytearrayview.cpp:200
QMimeData * selectionAsMimeData() const
Definition: bytearrayjanusview.cpp:145
QString charCodingName() const
Definition: bytearrayjanusview.cpp:213
Address firstLineOffset() const
Definition: bytearrayjanusview.cpp:198
Okteta::Address startOffset() const
Definition: bytearrayview.cpp:236
bool showsNonprinting() const
Definition: bytearrayjanusview.cpp:253
void setOverwriteMode(bool overwriteMode)
Definition: bytearrayjanusview.cpp:354
void removeSelectedData()
Definition: bytearrayjanusview.cpp:155
void offsetColumnVisibleChanged(bool visible)
void toggleOffsetColumn(bool visible)
Definition: bytearrayview.cpp:326
void titleChanged(const QString &newTitle)
Definition: bytearrayview.h:51
virtual bool canReadData(const QMimeData *data) const
Definition: bytearrayview.cpp:205
void noOfGroupedBytesChanged(int noOfGroupedBytes)
void setSelectionCursorPosition(Okteta::Address index)
Definition: bytearrayview.cpp:222
void setCharCoding(const QString &charCodingName)
Definition: bytearrayjanusview.cpp:223
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:04:07 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.