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 #27180 is a reply to message #27173] Tue, 29 June 2010 19:19 Go to previous messageGo to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

dolik.rce wrote on Tue, 29 June 2010 19:36

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



I say
Quote:

In C++ isolation - by modules, because combine header files and combine layout files OR split header files and split layout files.
(I split dialogo and main window into different files)


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Tue, 29 June 2010 19:19]

Report message to a moderator

 
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 08:53:55 CEST 2025

Total time taken to generate the page: 0.01066 seconds