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++ TheIDE » U++ TheIDE: Layout (Forms) Designer » Widget that not supported yet by TheIDE
Re: Widget that not supported yet by TheIDE [message #10619 is a reply to message #10618] Thu, 19 July 2007 14:15 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13978
Registered: November 2005
Ultimate Member
mrjt wrote on Thu, 19 July 2007 06:18

There are two ways:
1) In the Layout Designer right click and select 'User Class'. You get an empty ctrl that you can layout and you can then set the class type using the panel on the bottom left (eg. to ColumnList).

2) To add a control to the Layout Designer menu and have a preview available while laying out you can create a .usc file in your package and add a script for it. See CtrlLib/CtrlLib.usc for examples.

James.


Add 1:

There are in fact two situations:

- the class of widgets is defined at time layout file is included. In that case you can simply write the name of class into the field; you will only see a an empty rectangle with class name on the screen, but for custom widgets that is enough.

- if the class is defined at the point of .lay inclusion, you can still place it to the layout - just leave the field empty. In this case, you hace to the *public* member variable with the same id as "variable" field to your dialog (or layout) class.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Wrong behaviour when switching from text to graphical mode [BUG]
Next Topic: need Picture control window
Goto Forum:
  


Current Time: Sun May 12 20:27:18 CEST 2024

Total time taken to generate the page: 0.02693 seconds