casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
casa::QtUtilities Class Reference

#include <QtUtilities.h>

List of all members.

Static Public Member Functions

static void putInFrame (QFrame *frame, QWidget *widget)
 Puts the given widget into the given frame.
static void putInFrame (QFrame *frame, QLayout *layout)
 Puts the given layout into the given frame.
static QScrollArea * putInScrollArea (QWidget *widget, bool showFrame=false)
 Puts the given widget into a QScrollArea, then replaces the widget in its parent's layout (if applicable), then returns the scroll area.

Detailed Description

Definition at line 36 of file QtUtilities.h.


Member Function Documentation

static void casa::QtUtilities::putInFrame ( QFrame *  frame,
QWidget *  widget 
) [static]

Puts the given widget into the given frame.

static void casa::QtUtilities::putInFrame ( QFrame *  frame,
QLayout *  layout 
) [static]

Puts the given layout into the given frame.

If the given frame already has a layout, it is deleted.

static QScrollArea* casa::QtUtilities::putInScrollArea ( QWidget *  widget,
bool  showFrame = false 
) [static]

Puts the given widget into a QScrollArea, then replaces the widget in its parent's layout (if applicable), then returns the scroll area.


The documentation for this class was generated from the following file: