diff options
author | Artur Duque de Souza <artur.souza@openbossa.org> | 2009-11-05 03:57:09 (GMT) |
---|---|---|
committer | Artur Duque de Souza <artur.souza@openbossa.org> | 2009-11-05 03:59:19 (GMT) |
commit | 5e04d74a9fd339384bd6808ff6edc4c47f99fee0 (patch) | |
tree | 59d7a6cbf21dd98a62294806471f53cc4ea97d96 /examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro | |
parent | 7940327801724560b9193fef1b5d849412fbd6f3 (diff) | |
download | Qt-5e04d74a9fd339384bd6808ff6edc4c47f99fee0.zip Qt-5e04d74a9fd339384bd6808ff6edc4c47f99fee0.tar.gz Qt-5e04d74a9fd339384bd6808ff6edc4c47f99fee0.tar.bz2 |
Weather Anchor Layout example
This was a design that was not possible before with the other
layouts. To do this, the developer would need to hardcode all the
positions and resize would not work.
Besides the fact that we use "pixmap widgets" no it's not totally
usefull widgets, it shows how anchors can help developers an designers
with to create applications with new layouts.
Signed-off-by: Artur Duque de Souza <artur.souza@openbossa.org>
Diffstat (limited to 'examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro')
-rw-r--r-- | examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro b/examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro new file mode 100644 index 0000000..8b1803b --- /dev/null +++ b/examples/graphicsview/weatheranchorlayout/weatheranchorlayout.pro @@ -0,0 +1,16 @@ +###################################################################### +# Automatically generated by qmake (2.01a) Tue May 12 15:22:25 2009 +###################################################################### + +# Input +SOURCES += main.cpp +RESOURCES += weatheranchorlayout.qrc + +# install +target.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/weatheranchorlayout +sources.files = $$SOURCES $$HEADERS $$RESOURCES weatheranchorlayout.pro +sources.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/weatheranchorlayout +INSTALLS += target sources + +TARGET = weatheranchorlayout_example +CONFIG += console |