DateTimeCtrl

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

DateTimeCtrl

Post by orbitcowboy » Sat Apr 04, 2009 3:53 pm

Hi friends,

im using wxGTK-2.8.10. Is there a generic dialog like this deliverd with wxWidgets library?
http://www.adrive.com/public/f3eb6c83cd ... 17c84.html

This is a screenshot of the GNOME-date-time picker control.

Best regards

Orbitcowboy
OS: Ubuntu 9.04 (32/64-Bit), Debian Lenny (32-Bit)
Compiler: gcc/g++-4.3.3 , gcc/g++-4.4.0
wxWidgets: 2.8.10,2.9.0

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Post by tierra » Sat Apr 04, 2009 4:36 pm

You might be interested in this.

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Sat Apr 04, 2009 4:50 pm

Check the "calendar" sample that comes along wx

orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

Post by orbitcowboy » Sat Apr 04, 2009 5:50 pm

Thanks a lot, i intend to combine the wxCalendarCtrl and MyTimeCtrl (i will it rename to wxTimeCtrl) to one control.

Best regards

Orbitcowboy
OS: Ubuntu 9.04 (32/64-Bit), Debian Lenny (32-Bit)
Compiler: gcc/g++-4.3.3 , gcc/g++-4.4.0
wxWidgets: 2.8.10,2.9.0

orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

Post by orbitcowboy » Wed Apr 08, 2009 7:41 am

Hi friends,

i have created a time settings dialog, which is similar to this on GTK.
Can anybody test it on other plattforms?

Best regards

Orbitcowboy
Attachments
Screenshot-TimeSettings-1.png
wxTimeSettings dialog
Screenshot-TimeSettings-1.png (20.46 KiB) Viewed 1588 times
wxTimeSettings.tar.gz
Linux makefile + source
(11.85 KiB) Downloaded 34 times
Screenshot-wxWidgets.png
wxTimeSettings
Screenshot-wxWidgets.png (32.05 KiB) Viewed 1588 times
OS: Ubuntu 9.04 (32/64-Bit), Debian Lenny (32-Bit)
Compiler: gcc/g++-4.3.3 , gcc/g++-4.4.0
wxWidgets: 2.8.10,2.9.0

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Wed Apr 08, 2009 1:02 pm

Tried building it, it's not unicode-friendly though :( no wxT anywhere so i get dozens of errors

orbitcowboy
I live to help wx-kind
I live to help wx-kind
Posts: 178
Joined: Mon Jul 23, 2007 9:01 am

Post by orbitcowboy » Wed Apr 08, 2009 3:01 pm

Hi,

i tried to fix it, but i am not able to test it on other plattforms. Can you try again?

Best regards

Orbticowboy
Attachments
wxTimeSettings.tar.gz
with wxT()-macros
(12.07 KiB) Downloaded 37 times
OS: Ubuntu 9.04 (32/64-Bit), Debian Lenny (32-Bit)
Compiler: gcc/g++-4.3.3 , gcc/g++-4.4.0
wxWidgets: 2.8.10,2.9.0

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Wed Apr 08, 2009 3:42 pm

Hi,

also change those :

Code: Select all

"&Quit\tAlt-F4"
"&Show Dialog"
"%d

then...see attached image :)
it seems fine, just too small
Attachments
sshot.jpg

MoonKid
Ultimate wxWidgets Guru
Ultimate wxWidgets Guru
Posts: 543
Joined: Wed Apr 05, 2006 9:39 am
Contact:

Post by MoonKid » Sat Jun 27, 2009 6:51 pm

tierra wrote:You might be interested in this.
It is from 2007. Why isn't it in the wx integrated?

User avatar
tierra
Site Admin
Site Admin
Posts: 1343
Joined: Sun Aug 29, 2004 7:14 pm
Location: Salt Lake City, Utah, USA
Contact:

Post by tierra » Tue Jun 30, 2009 12:26 am

MoonKid wrote:
tierra wrote:You might be interested in this.
It is from 2007. Why isn't it in the wx integrated?
All of my comments I made on that page are still the case right now. There isn't a clean patch against wxWidgets for it.

Post Reply