Hi,
I´m using my own application in Qt4 (release mode), but the 
QmitkStdMultiWidegtLayout variable never was initialize so the delete statement 
throw a memory access violation.

--- On Mon, 6/8/09, Neuhaus Jochen <[email protected]> wrote:


From: Neuhaus Jochen <[email protected]>
Subject: AW: [mitk-users] Problem with QmitkStdMultiWidget
To: "John Mothe" <[email protected]>, [email protected]
Date: Monday, June 8, 2009, 8:19 AM








Hi,
I just tried it myself. I added some buttons to a view (Functionality) and 
inserted in the respective slot methods one of the changeLayout calls:
 
  m_MultiWidget->changeLayoutToDefault();
  m_MultiWidget->changeLayoutToWidget1();
  m_MultiWidget->changeLayoutToBig3D();
 
For me, it works without problems (in a debug build). The layout changes as 
expected. Do you use the OpenCherry MainApp or your own application? 
 
Regards 
  Jochen 
 



Von: John Mothe [mailto:[email protected]] 
Gesendet: Sonntag, 7. Juni 2009 19:30
An: [email protected]
Betreff: Re: [mitk-users] Problem with QmitkStdMultiWidget
 





Can you help me?

 

I´m trying to change the QmitkStdMultiWidget layout but I get a access 
violation.


--- On Tue, 6/2/09, John Mothe <[email protected]> wrote:


From: John Mothe <[email protected]>
Subject: [mitk-users] Problem with QmitkStdMultiWidget
To: [email protected]
Date: Tuesday, June 2, 2009, 8:14 AM






Hi,

I´m using the QmitkStdMultiWidget  widget in a my project with Qt4 .In order to 
change the layout to changeLayoutToBig3d() (or other layout distribution) I get 
a memory access violation , I think that is the  line  delete 
QmitkStdMultiWidgetLayout; because I don´t know where is initialize that 
variable.

In mitk with qt3 the QmitkStdMultiWidgetLayout variable is initialize in the 
line QmitkStdMultiWidgetLayout = new QHBoxLayout( this, 2, 2, 
"QmitkStdMultiWidgetLayout");  but in qt4 this line was remove or I don´t know 
where is it.

How can I solve this error?

 

Thanks
 

-----Inline Attachment Follows-----

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get

-----Inline Attachment Follows-----

_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
 


      
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to