casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
casa::QtUtilities Class Reference

#include <QtUtilities.h>

Static Public Member Functions

static void putInFrame (QFrame *frame, QWidget *widget)
 Puts the given widget into the given frame. More...
 
static void putInFrame (QFrame *frame, QLayout *layout)
 Puts the given layout into the given frame. More...
 
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. More...
 

Detailed Description

Definition at line 34 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: