Home · All Namespaces · All Classes |
#include <layoutvisualizationwrapper.h>
Public Types | |
enum | WrappingMode { NoWrap, WrapRightEdgeToLeft, WrapLeftEdgeToRight } |
Public Member Functions | |
LayoutVisualizationWrapper (QGraphicsLinearLayout &layout) | |
virtual | ~LayoutVisualizationWrapper () |
void | setWrappingMode (WrappingMode mode) |
A helper class for wrapping the visual appearance of a widget that has a linear layout. The visualization wrapper shows the right edge of the widget next to the left edge and vice versa.
Only the visual appearance gets wrapped, nothing is done to the actual layout or its contents.
LayoutVisualizationWrapper::LayoutVisualizationWrapper | ( | QGraphicsLinearLayout & | layout | ) |
Constructs a new layout visualization wrapper using layout.
layout | the layout that gets wrapped. |
LayoutVisualizationWrapper::~LayoutVisualizationWrapper | ( | ) | [virtual] |
Destructor.
void LayoutVisualizationWrapper::setWrappingMode | ( | LayoutVisualizationWrapper::WrappingMode | mode | ) |
Sets the wrapping mode.
mode | the new wrapping mode. |
Copyright © 2011 Nokia Corporation | Generated on Thu Jul 7 2011 22:14:50 Doxygen 1.7.1 |
MeeGo Touch |