Simsys / qhexedit2

Binary Editor for Qt
GNU Lesser General Public License v2.1
364 stars 143 forks source link

Definitiion of QHexEdit properties #22

Closed hcw70 closed 9 years ago

hcw70 commented 9 years ago

It would be great to include the following get/set functions also in the definition of Q_PROPERTY, so they become designable in QT Designer when using the QHexEditor as a QT plugin:

/*! Switch the address area on or off.
  \param addressArea true (show it), false (hide it).
  */
void setAddressArea(bool addressArea);

/*! Set the minimum width of the address area.
  \param addressWidth Width in characters.
  */
void setAddressWidth(int addressWidth);

/*! Switch the ascii area on or off.
  \param asciiArea true (show it), false (hide it).
  */
void setAsciiArea(bool asciiArea);

/*! Switch the highlighting feature on or of.
  \param mode true (show it), false (hide it).
  */
void setHighlighting(bool mode);

Kind regards

Hauke

Simsys commented 9 years ago

fixed, see https://github.com/Simsys/qhexedit2/commit/5d7a4e6d90cdee97a3fdd1b2f4c1d089a37ac754

thanks for reporting this

hcw70 commented 9 years ago

Thanks for fixing this! Regards Hauke