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 » U++ Library support » U++ Widgets - General questions or Mixed problems » Update impossible?
Re: Update impossible? [message #8722 is a reply to message #8716] Tue, 27 March 2007 11:55 Go to previous messageGo to previous message
WebChaot is currently offline  WebChaot
Messages: 53
Registered: September 2006
Location: Austria, Vienna
Member
Hi uno!

>>> Enhanincg core code is not a good idea. Why you need this?

Because some widgets are "combined". For example a drowdown box contains the box itself and the dropdown-button (which is a nested widget).

Maybe there is a possibility to overwrite both paint-methods in a derived widget - but as I wrote, I have not much experience and so I'm not sure, if it possible and if it is, how to do.

>>> 2003/2007 office style have nothing in common with native widgets so creating your own widget is the best way IMO in this case. Am I right?

Most of the office like widgets only have another design. When there is a way to overwrite all paint methods of the widgets, then derived widgets are the best solution for this case.

I had the same problem some month ago where I wrote a gridcontrol. arrayctrl contains headerctrl. I was not able to overwrite paint-method of this header in the derived arrayctrl - so I copied headerctrl and arrayctrl and changed them to my needs Sad

Now I have to look after each release update what changed and have to update my gridcontrol too Sad

All other specific widgets I have to do myself. But maybe its easier in future, when I get answer about the paint-question (because I could use more standard-elements of u++).

WebChaot.

[Updated on: Tue, 27 March 2007 12:57]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MenuBar theming bug in Ubuntu
Next Topic: more containers of widgets
Goto Forum:
  


Current Time: Fri Jul 18 09:56:41 CEST 2025

Total time taken to generate the page: 0.03984 seconds