Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editable ascii #51

Closed
wants to merge 5 commits into from
Closed

Editable ascii #51

wants to merge 5 commits into from

Conversation

firexx
Copy link

@firexx firexx commented Dec 20, 2016

No description provided.

@Simsys
Copy link
Owner

Simsys commented Dec 20, 2016

Some additional remarks:

There are some changes in this pull request, which are not necessary. There is no need to change the interface to the outside world (qhexedit.h), to introduce the possibility to use the ascii area for input. There are some people using QHexEdit as a library and if we change the interface, they have to change their code. They will not like to do this. This is bad for the acceptance of QHexEdit.

We need no class CursorPosition. We can use a QHexEdit private variable _editAreaIsAscii and handle all inside QHexEdit Class. The cursorposition should remain qint64. The _editAreaIsAscii value is not interesting for the outside world, I think.

You created an extra method keyPressedEventAscii(). In this method there is some code parts identical to the original keyPressedEvent(). We do not want to double source code. That is bad to maintain. Please do not double code parts.

Thanks again for Your work. I know, that it is not easy to accept my demands, because You invested a lot of time into QHexEdit. But I want to bind things together.

I would be very happy, if You could submit a pull request with no conflicts, with the above mentioned changed and request, which addresses only the feature asciiArea edit (and nothing else).

@Simsys
Copy link
Owner

Simsys commented Dec 20, 2016

Please first rebase to v0.8.2, then input/merge the changes.

Thank You so much

@firexx
Copy link
Author

firexx commented Dec 20, 2016 via email

@firexx
Copy link
Author

firexx commented Dec 20, 2016

make it again better

@firexx firexx closed this Dec 20, 2016
@Simsys Simsys mentioned this pull request Dec 22, 2016
@firexx firexx deleted the edit_ascii branch December 23, 2016 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants