Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » WithSpin
WithSpin [message #37573] Fri, 19 October 2012 12:43 Go to next message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
Based on dolik's proposal and patch, I have refactored "spin value situation" replacing 'hard coded' Edit*Spin classes with WithSpin template, that can be applied to any widget with MinMax/GetMin/GetMax methods.

In the process, I also added new EditDateSpin, EditTimeSpin widgets (two lines of code Smile.

Mirek
Re: WithSpin [message #37575 is a reply to message #37573] Fri, 19 October 2012 13:01 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

mirek wrote on Fri, 19 October 2012 12:43

Based on dolik's proposal and patch, I have refactored "spin value situation" replacing 'hard coded' Edit*Spin classes with WithSpin template, that can be applied to any widget with MinMax/GetMin/GetMax methods.

In the process, I also added new EditDateSpin, EditTimeSpin widgets (two lines of code Smile.

Mirek

Great,
I was also thinking about the Date variant, but it somehow resulted in compile errors caused by the default value in the template... I'll have to check how you solved it Smile

Honza
Previous Topic: Skylark packs
Next Topic: TcpSocket::Connect now prefers IPv4 over IPv6
Goto Forum:
  


Current Time: Fri May 17 08:52:39 CEST 2024

Total time taken to generate the page: 0.01993 seconds