summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* QMainWindow: compile fix when defining QT_NO_DOCKWIDGETThierry Bastian2009-07-081-2/+1
|
* QMainWindow: fixed a crash in some cases when deleting the widgetThierry Bastian2009-07-082-13/+6
| | | | | | | | This happened because the rubberband used as a gapindicator was not allocated on the heap and might have been deleted by the QMainWindow destructor. Task-number: 257626
* QMainWindow: made use of QPropertyAnimation for animationsThierry Bastian2009-07-084-149/+59
| | | | This required some refactoring as well. Now code is leaner and cleaner
* The offset of cropRect should not depend on the position of the windowBenjamin Poulain2009-07-081-1/+1
| | | | | The rect cropRect should be positioned with the offset to the top-level window, not the screen position.
* On Mac OS X, translate the wrect to the coordinates on screenBenjamin Poulain2009-07-071-7/+16
| | | | | | | | | | | | | | | In the following configuration, wrect was off-screen and the widget was not painted: -scroll area "A" -contains another scrollarea "B" with 2*WRECT_MAX < size < XCOORD_MAX -the widget contained in B has size > XCOORD_MAX -A is scrolled to the the bottom To fix the issue, wrect is moved to the area where the top level window is in the widget coordinate. Task-number: 144779 Reviewed-by: nrc
* ItemViews: _q_fetchMore now uses a timer instead of invokeMethodThierry Bastian2009-07-073-6/+9
|
* Fixes a crash when scrolling a scrollarea with a mouse wheel.Denis Dzyubenko2009-07-072-0/+2
| | | | | | | | | This fixes a crashed introduced in 60e965fd35037f4a27816d2aeccafdff0d6ae9d6 - those lines were removed by accident. Reviewed-by: João Abecasis Author: João Abecasis
* QColumnView: new uses QPropertyAnimation over QTimeLineThierry Bastian2009-07-072-22/+9
|
* Getting rid of compiler warnings on windowsThierry Bastian2009-07-073-9/+5
|
* QColumnView: didn't react to addition of rows/cols in the current viewThierry Bastian2009-07-078-21/+61
| | | | Task-number: 246999
* Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-07-07573-16305/+23370
|\ | | | | | | | | Conflicts: src/network/socket/qlocalsocket.cpp
| * try to fix the accept4 not being found in some older kernelsThiago Macieira2009-07-071-4/+14
| |
| * doc: Explained that you can't add new Q3DockAreas to a Widget.Martin Smith2009-07-071-14/+15
| | | | | | | | | | | | They won't be shown. Task-number: 166508
| * QMainWindow: layout private API cleanupThierry Bastian2009-07-072-35/+35
| | | | | | | | using const references to pass parameter
| * Make sure we send a ValueChanged event if the spinbox value has changedJan-Arve Sæther2009-07-071-0/+9
| | | | | | | | | | | | | | | | | | Unfortunately the codepath for keyPressEvent does not call updateState, so we have to add the same line in two places. Note that updateState() is only called from mousePressEvent() and mouseMoveEvent(). Task-number: 254053
| * ItemViews: it would go into DraggingState even without clicking an itemThierry Bastian2009-07-071-1/+1
| | | | | | | | | | | | | | We now just make sure that we start the drag if there was a pressed index. Task-number: 252643
| * QMenu: with tearoff handle, it would reserve the space for it twiceThierry Bastian2009-07-071-8/+5
| | | | | | | | sizeHint is now fixed
| * QToolBar: better management of positions when hiding/unhidingThierry Bastian2009-07-071-11/+5
| | | | | | | | | | | | | | The toolbar that one would unhide could be packed at the right of the screen. This was because the last toolbar always has a size that fills the space. So if you unhide a toolbar situated after this one, it got "compressed".
| * QFontComboBox: used to emit currentFontChanged twice when setting it.Thierry Bastian2009-07-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | Setting the current font would change the current font and then it would try to select the right model index and get the font only from the text of the combobox. This was resetting the point size of the font, resulting in emitting the signal a second time. In the case of the user, it was also causing signals to be called in a loop. Task-number: 229731
| * QMenu: the scroller now takes the qapp's global strut into accountThierry Bastian2009-07-062-25/+25
| | | | | | | | Task-number: 257118
| * QMenu: scrolling in menus was brokenThierry Bastian2009-07-062-16/+24
| |
| * doc: Included note about the effect of WA_NoMousePropagation.Martin Smith2009-07-061-0/+4
| | | | | | | | Task-number: 162945
| * Phonon: take advantage of more modern compiler to initialize structThierry Bastian2009-07-064-80/+27
| | | | | | | | This was not supported before by MSVC6 and MSVC2002
| * Phonon: Some work done on binary sizeThierry Bastian2009-07-0613-105/+88
| | | | | | | | removing foreach seems to help on Windows
| * QHeaderView::sizeHint: small bug fix and refactorThierry Bastian2009-07-061-5/+5
| |
| * general wording change for some file type namesFrederik Schwarzer2009-07-066-10/+10
| | | | | | | | | | | | | | | | | | | | | | - .ts file -> TS file - .qm file -> QM file - .ui file -> UI file + a handfull of typos I stumbled over Merge-request: 802 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
| * support for id-based translationsOswald Buddenhagen2009-07-063-0/+74
| | | | | | | | | | | | | | | | | | | | | | unlike in an earlier attempt, ids are textual this time. the developer is able to provide a template for the string. when lupdate and lrelease are integrated into the build process, this makes it possible to avoid a round-trip to a dedicated string designer during the early development stage. Requirement-id: QT-435
| * Fix to paint big widgets in a scroll areaBenjamin Poulain2009-07-061-5/+3
| | | | | | | | | | | | | | | | | | | | | | If a big widget is inside a scroll area, and this widget is in the limits of XCOORD_MAX, its child might not be inside the limits. The child is then limited to wrect, but wrect might not be on the screen because the parent is scrolled. To avoid this problem, the widgets position should not influence whether wrect is used or not. Task-number: 144779 Reviewed-by: nrc
| * doc: Added not about Mac OS X.Martin Smith2009-07-061-0/+7
| | | | | | | | | | | | | | On Mac OS X, QMenuBar::clear() does not remove menu items that have been merged into the system menu bar. Task-number: 255222
| * doc: Removed specific reference to Mac OS X.Martin Smith2009-07-061-15/+20
| | | | | | | | Task-number: 256452
| * Moved uniform enum to QGLEngineShaderManager.Kim Motoyoshi Kalland2009-07-034-83/+69
| | | | | | | | | | | | Simplified caching of uniform locations. Reviewed-by: Samuel
| * QHeaderView: code cleanup in sizehint calculationThierry Bastian2009-07-031-9/+3
| |
| * QHeaderView: fixed the sizeHint with hidden sectionsThierry Bastian2009-07-031-4/+8
| | | | | | | | | | | | | | We used to check the 100 first sections and 100 last sections Now we make sure we check 100 visible sections Task-number: 255574
| * Improved the support for input methods in Graphics View.jasplin2009-07-039-10/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch improves the graphics view support for input methods in several ways: * A new ItemAcceptsInputMethod flag is introduced to serve the same purpose for graphics items as WA_InputMethodEnabled does for widgets: Input method support can be controlled individually for each item. * The input method sensitivity of a view (i.e. the value of the WA_InputMethodEnabled flag) is updated dynamically whenever the input method support of the current focus item may change. * Input contexts are reset whenever an item that supports input methods loses focus. Reviewed-by: janarve Task-number: 254492
| * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtVolker Hilsheimer2009-07-036-39/+64
| |\
| | * Drag leave event is delivered, after re-entering the widget.Prasanth Ullattil2009-07-032-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happens only for widgets with focus frames. Since the mouse location at the time of this event will be outside of the focus frame, we cannot use it to identify the widget. Instead, use the QDragManager's currentTarget() to deliver the drag leave event. Task-number: 252088 Reviewed-by: Norwegian Rock Cat
| | * Replace usage of the old, obsolete PrintDlg with PrintDlgEx.Trond Kjernaasen2009-07-031-33/+46
| | | | | | | | | | | | | | | | | | | | | | | | Since we don't support Windows versions < Win 2000, we can just go ahead and replace usage of the old compat dialog. Task-number: 222417 Reviewed-by: Prasanth
| | * Enabled double buffering of window surfaces on Windows.Kim Motoyoshi Kalland2009-07-031-1/+1
| | | | | | | | | | | | | | | | | | Without this, QWindowSurface::flush() doesn't work. Reviewed-by: Samuel
| | * Fix QX11Embed* with x86_64 by reading prop_return as long.Riku Palomäki2009-07-031-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Even though the _XEMBED_INFO property uses 32 bit values, prop_return has 64-bit padded values in 64-bit applications, see man XChangeProperty. Without this fix the XEMBED client will read XEMBED_MAPPED wrong and unmap (hide) itself. Merge-request: 797 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
| | * QToolBar: avoid repaints when entering/leaving a toolbarThierry Bastian2009-07-031-0/+4
| | | | | | | | | | | | | | | | | | HoverEnter/Leave now do nothing. Task-number: 256103
| * | signals -> Q_SIGNALSVolker Hilsheimer2009-07-031-1/+1
| |/
| * doc: Corrected several qdoc warnings.Martin Smith2009-07-033-4/+19
| |
| * Fixed compile of QtCore with some exotic GNU toolchains.Rohan McGovern2009-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes: corelib/kernel/qcore_unix_p.h:127: error: `O_CLOEXEC' undeclared Some toolchains claim to provide glibc >= 2.4 but do not define O_CLOEXEC. An alternative fix might be to define O_CLOEXEC ourselves as we do with some of the system call numbers.
| * QPlainTextEdit pixel dust redrawing problem on clear()mae2009-07-021-3/+2
| | | | | | | | | | With document margins, the mapping from content-coordinates to visual coordinates went wrong.
| * Refactored gesture apiDenis Dzyubenko2009-07-0246-3178/+887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewritten the api almost from scratch, making it simplier and more flexible at the same time. The current implementation will not have complex gseturemanager class inside Qt, but the QGesture base class, which represents both a gesture recognizer and a gesture itself with a set of properties. A set of common gestures that can use used in third-party applications (and in Qt itself internally) is supposed to be found in qstandardgestures.h, and a base class for user-defined gestures is in qgesture.h Gesture implementation for Pan on Windows7 has also been added as a reference implementation for platform gestures.
| * Don't insert text into a text widget when a modifier is pressed.Denis Dzyubenko2009-07-022-2/+4
| | | | | | | | | | | | | | | | For example when an unhandled key sequence (i.e. that has now shortcut assosiated with it) like Alt-L is pressed, we shouldn't insert the 'L' text from the QKeyEvent::text() into the text widget. Reviewed-by: Thomas Zander
| * Correct #include path for qcore_unix_p.hThiago Macieira2009-07-021-1/+1
| |
| * Use void* in the read/write replacementsThiago Macieira2009-07-021-2/+2
| | | | | | | | That's what unistd.h uses: void* can receive any pointer, while char* can't
| * QHeaderView: the sizeHint for section now takes the indicator intoThierry Bastian2009-07-021-1/+1
| | | | | | | | | | | | account for all sections is sorting is enabled. Task-number: 208320
| * Fix build with MSVC2003: apparently the code path I thought was Unix was ↵Thiago Macieira2009-07-021-3/+3
| | | | | | | | also older MSVC