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 » Newbie corner » Problems when using layouts
Re: Problems when using layouts [message #27173 is a reply to message #27171] Tue, 29 June 2010 17:36 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

281264 wrote on Tue, 29 June 2010 17:04

2.- So the conclusion is that it is better (from the stand point of C++ modularity) to have different “.lay” files, one for the “main window” and others for the respective dialogs.

I would say it is a matter of taste Very Happy For example if you look at theide, which is pretty complex application, you'll see that there is only single layout file included in ide.h. The separation of modules is used only for .cpp files.

281264 wrote on Tue, 29 June 2010 17:04

3.- What is this?:
Result<<=(double)~dialogo.entrada_a*(double)~dialogo.entrada_b;

What is the role of ~ in the expression?


In Ctrl, operator~() is used as a shorthand for GetData() and operator<<=(Value v) for SetData(Value v). It can save you some typing and increase readability of the code.

Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Message from the system.
Next Topic: is windows SDK needed after Visual Studio 2010
Goto Forum:
  


Current Time: Mon Apr 28 12:22:11 CEST 2025

Total time taken to generate the page: 0.03865 seconds