652 views
in GUI Development by

Hello, 

I'm trying to create more options on the FeedDialog, creating FeedButtons to be chosen and the new ones don't work properly. 
I mean, when I click on the new ones, it doesn't select them.

I've changed the slot onUpdate in the FeedWindow and FeedDialog, setting the new FeedButtons.

The image shows it, 4 on the top are the original ones and on the bottom are the new ones. 

1 Answer

+1 vote
by

Hi Lucas,

in order to add more options to the buttons / dialogs, please make the following changes:

  • Add more frames to the image Cutter::PaperStripe
  • Enhance the class PaperFeed in order to support more Types (within the method OnSetType)
  • Enhance the class FeedButton in order to support more Types (within the method OnSetType)
  • Add additional buttons to the FeedDialog and enhance the method onUpdate()
  • Finally, adapt the limits of the property PaperType within the Cutter::DeviceClass (within the method OnSetPaperType)

Does it work?

Best regards,

Manfred.

by
Hi Manfred, I was missing this last part.
Thanks a lot!

Have a great day

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...