Hi,
since Revision #17782 the new QmitkStdMultiWidget is online.
The QmitkStdMultiWidget.ui is removed because it is not longer in use. The
RenderWindows and the Qt Layout is created in the constructor of
QmitkStdMultiWidget.
Each 2D RenderWindow shows up their names of their layout direction in the left
bottom corner. A popup menu bar will shown up in the right top corner when the
mouse enter and hide when the mouse leave the window. For the moment just two
of five buttons are working. The other are not implemented yet.
The Property Button of the popup menu bar includes different lists for changing
the layout design and/or direction. For changing the layout design you can
choose between the old MITK standard layouts: standard layout, 2D images up +
3D bottom, Transversal -, Sagittal -, Coronal plane, .... Each layout includes
splitter between the windows. With the splitters you can change the size of a
window and hide a window by moving the splitter to the border. The possibility
to change the layout direction is not implemented yet.
The FullScreen Button will maximize the current window by the first click. If
you click a second time, the former view design will be reconstruct. When you
change during the FullScreenMode the Layout Design by the Property button, the
FullScreenMode is switch to off so by the next click the window will maximize
again. For the moment we reconstruct the former view with the initial splitter
positions and initial window sizes. The next step can be, to store the sizes of
each window to reconstruct the former window scene.
Best regards,
Diana
Von: Stefan Dänzer [mailto:[email protected]]
Gesendet: Mittwoch, 10. Juni 2009 12:29
An: John Mothe
Cc: Neuhaus Jochen; [email protected]
Betreff: Re: [mitk-users] Problem with QmitkStdMultiWidget
The problem is solved in the version available at http://svn2.mitk.org
<http://svn2.mitk.org/> where QmitkStdMultiWidget::QmitkStdMultiWidgetLayout
is initialized in the constructor of QmitkStdMultiWidget
Stefan
On Tue, Jun 9, 2009 at 5:51 PM, <[email protected]> wrote:
Hi,
I have generated a project using the bundle generator. I've managed to load my
app as a plugin to the new MainApp. As a first step I tried to set up the
rendering widget to only show one 2D image rendering window (imported .tif
file). I tried to manage this by a call to
QmitkStdMultiWidget::changeLayoutToWidget1().
I'm having the same problem. In changeLayoutTo... the object
QmitkStdMultiWidgetLayout is deleted, but the variable has not been initialized.
I tried a workaround by commenting the deletion out, but didn't get an
appropriate result. The layout of the widgets didn't change, but I got this
intereseting console output during the call to QmitkStdMultiWidgetLayout = new
QHBoxLayout(this); : "QLayout: Attempting to add QLayout "" to
QmitkStdMultiWidget "QmitkStdMultiWidgetUi", which already has a layout"
Stefan
On Jun 8, 2009 11:15am, John Mothe <[email protected]> wrote:
> 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
>
>
>
>
>
>
>
>
--
--
Stefan Daenzer
Körnerplatz 8
04107 Leipzig
Tel.: +49-176-61157550
"Work like you don't need the money, love like you've never been hurt and dance
like no one is watching." - Randall G Leighton
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users