aboutsummaryrefslogtreecommitdiff
path: root/src/corelib/layout
AgeCommit message (Collapse)Author
2010-11-16Changes: M*LayoutPolicy - fix layout-inside-layout refreshingJohn Tapsell
RevBy: TrustMe Details: The trouble is that Qt does a lot more than set the geometry when you call "setGeometry()". It also updates right-to-left and margins. So must be ensure that we call setGeometry at the right time. A big thanks to jhalonen for an excellent test app.
2010-11-16Fixes: NB#201081 - layout animation resets widget opacityJohn Tapsell
RevBy: Stanislav Ionascu Details: If the css has: MBasicLayoutAnimationStyle { animate-opacity: false; } Then do not modify the opacity at all. Adds a unit test to check this.
2010-11-15Changes: MLayout - unbreak layout direction changeJohn Tapsell
RevBy; Mike Fabian Details: Optimizing the layouts caused layout-direction changes to be ignored - e.g. when changing to a RTL language. Thanks to Mike Fabian and Bjorn Schnabel for tracking this down and writing the unit test included in this patch.
2010-11-09Changes: Whitespace fixes and minor comment fixes for M*LayoutPolicyJohn Tapsell
RevBy: Stanislav Ionascu, Armin Berres
2010-11-09Changes: Speed up layouts by a factor of 3.John Tapsell
RevBy: Stanislav Ionascu, Armin Berres Details: We are now only 10% slower than the QGraphicsLayouts, and for a well understood reason that we can't optimize away. (We have to reset the contents margins every single time because Qt doesn't tell us when they change). Optimised using pt_mlayout benchmark.
2010-11-02Changes: MLayout - only make the layout height-for-width if the policy is ↵John Tapsell
height-for-width RevBy: Stanislav Ionascu
2010-11-02Changes: Fix resize problem with layoutsJohn Tapsell
RevBy: Stanislav Ionascu Details: Includes a benchmark test for the layouts
2010-10-27Changes: change M_EXPORT to M_{CORE,VIEWS,EXTENSIONS,SETTINGS}_EXPORTHolger Schröder
RevBy: Armin, Mirek Details: Unter windows the M_*_EXPORT macros are mandatory. and so they needed to be adapted after the split of libmeegotouch to libmeegotouchcore, *views, *settings, and *extensions. Initial patch by Thierry Bastian
2010-10-25Fixes: NB#187570 Application crashes when adding buttons and stretch to ↵Joaquim Rocha
MLinearLayoutPolicy when notifyAllWidgetsOfLayoutPosition is enabled RevBy: John Tapsell Details: Prevent the usage of a non-existing index to retrieve an object from a sequence.
2010-09-14Changes: MAbstractLayoutPolicy - removed Q_DECL_DEPRECATED from methodsDaniel d'Andrada
RevBy: TrustMe Details: Removed Q_DECL_DEPRECATED from setObjectName() and objectName(). Replaced it with mWarning() messages and "\deprecated" documentation. Q_DECL_DEPRECATED caused apps that are built with -Werror to not compile.
2010-09-09Changes: MFlowLayoutPolicy - only pass constraint if the item ↵John Tapsell
hasHeightForWidth() RevBy: Jörgen Details: Provide a workaround for NB#189826
2010-09-07Changes: MAbstractLayoutPolicy - Rename from setObjectName to setStyleName, ↵John Tapsell
to mimic MWidgetController RevBy: Stanislav
2010-08-31Changes: Doxygen syntax fixesJohn Tapsell
RevBy: TrustMe Details: Fix incorrect doxygen tag usage.
2010-08-19Changes: MLinearLayoutPolicy - fix hiding itemsJohn Tapsell
RevBy: TrustMe
2010-08-14Fixes: NB#185277 ↵John Tapsell
MLinearLayoutPolicyPrivate::notifyAllWidgetsOfLayoutPosition() only takes in consideration one policy for a button group RevBy: TrustMe Includes unit test
2010-08-13Changes: New images for layout policies documentationDaniel d'Andrada
RevBy: TrustMe
2010-08-05Changes: MLayout - Fallback to orientation of activeWindow if not attached ↵John Tapsell
to a window RevBy: TrustMe Details: When a layout is attached to an item or placed inside another layout, we don't get notified. So we need to guess at what the correct orientation is before hand. We do this by taking the orientation of the currently active window if we are not attached to any window. This fixes several unit test failures.
2010-08-02Changes: Don't query MApplication::activeWindow in MLayout constructorTomas Junnonen
RevBy: John Tapsell Details: The activeWindow says nothing of the layout, also it crashes if MComponentData is not fully initialized.
2010-06-16Changes: Added functionality into MLinearLayoutPolicy for automatically ↵DUI-Team Symbio
setting layout positions for the widget items inside the layout. RevBy: Tomas Junnonen Details: When enabled, the functionality assigns proper layout positions to widget items by using the MWidgetController::setLayoutPosition() method. If the functionality is disabled the layout position property of the items are reset back to initial value.
2010-05-24Changes: MLayout - Do not assume removeAt() has no either side effectsJohn Tapsell
RevBy: Mike Fabian
2010-05-21Changes: MLayout - Animate where the items are drawn, using a translation ↵John Tapsell
animation RevBy: Mike FABIAN
2010-05-20Changes: MLinearLayoutPolicy did not correctly set the stretch for itemsJohn Tapsell
RevBy: Mike Fabian
2010-04-13Changes: duiitemstate.h is no longer exported and should not be a public headerJohn Tapsell
RevBy: TrustMe
2010-04-12Changes: Renamed module descriptionsTomas Junnonen
RevBy: TrustMe Details: Removed Dui references
2010-04-12Changes: Renamed dui to meegotouchTomas Junnonen
By: Holger, Daniel, Janne RevBy: Tomas, Holger
2010-04-06Changes: Fixes to public headersTomas Junnonen
By: Holger RevBy: Tomas Details: - Removed DuiSceneWindowAnimator - Remove dead camelcase headers, add missing forwarding lowercase headers - Remove camelcase headers for internal classes - Split library headers into PUBLIC_HEADERS, PRIVATE_HEADERS
2010-04-01Changes: Modularized libduiTomas Junnonen
RevBy: Tomas, Holger Details: Libdui is split into modules as follows: - extensions: application extensions and mashup components - settings: settingslanguage - views: widget views - corelib: everything else