summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* qlinecontrol_p_p.h isn't actually used at all, remove file.Alan Alpert2009-07-141-105/+0
|
* Replace Q_ASSERT with qWarningAlan Alpert2009-07-141-2/+4
| | | | This is probably more correct, but is also the way it used to behave.
* Actually, some of that can't be moved back into QLineEditAlan Alpert2009-07-142-38/+43
| | | | | Also it should be executed a little later to avoid accidental behaviour changes.
* Move some keypad navigation code back out of QLineControlAlan Alpert2009-07-142-50/+48
|
* Fix some minor mistakesAlan Alpert2009-07-102-4/+4
|
* Accidental Behavioural changes have been identified and rectified.Alan Alpert2009-07-081-4/+11
| | | | | | createStandardContextMenu should still only cut/copy in normal echo mode and the Qt3Support function validateAndSet will again only set if it is validated.
* Fixed one of the QT3_SUPPORT constructors.Alan Alpert2009-07-081-8/+3
| | | | | It was accidentally left commented out instead of working with QLineControl.
* Forgot to bring in the change to QAbstractSpinBoxAlan Alpert2009-07-072-3/+3
| | | | | | QAbstractSpinBox had some code using QLineEdit internals, this had to be move to use QLineControl as well. This commit also includes fixing some typos in my last commit.
* Finish remaining TODOs for QLineControlAlan Alpert2009-07-073-11/+23
| | | | | Didn't notice there were still some TODO markers left. They have now all been done.
* Manually integrate 099a32d121 to QLineControlAlan Alpert2009-07-071-1/+2
| | | | | This change to QLineEdit didn't merge, as it needs to be applied to QLineControl in this case.
* Manual cherrypick of QLineControl from kinetic-declarativeui-qfxlineeditAlan Alpert2009-07-079-1840/+3010
| | | | | | | | | | Splits out the control logic of QLineEdit into QLineControl, which is somewhat similar to QTextEdit. This was originally worked on in the ianws-qt-lineedit-textedit-research repository, and then further developed in kinetic in the kinetic-declarativeui-qfxlineedit branch. Note that this also includes a tiny change to qvalidator.h which allows validators to be used in qml.
* 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
* Don't compile the FD_CLOEXEC-safe accept4 call if we don't know about ↵Thiago Macieira2009-07-021-1/+1
| | | | SOCK_CLOEXEC
* Revert "Add support for creating the object alongside the Data structure in ↵Thiago Macieira2009-07-021-47/+0
| | | | | | | | | | | | | | | | QSharedPointer" This reverts commit fb51a10ee0451274a430227566ae26efb2ac4474. Sorry, it didn't work. I can fix the MSVC error, but the problem is that older GCC versions (4.2) fail with the following code: template<typename T> struct Buffer { char buffer[128] __attribute__((aligned(__alignof__(T)))); }; The same works fine in GCC 4.4.
* Experimental: allow QSharedPointer to be used with forward declarations that ↵Thiago Macieira2009-07-021-1/+1
| | | | | | | | | | | | | are declared in this file. The one-definition rule allows the forward declaration appearing below to apply to code that was earlier. Therefore, if the compiler finds out how to delete the object, we can allow a QSharedPointer of a forward- declared-type. This means the actual problem is just a warning with g++. To catch the error, we need a separate .cpp file and I'd rather run this as an external test.
* Add support for creating the object alongside the Data structure inThiago Macieira2009-07-021-0/+47
| | | | | | | | | one go. This avoids one memory allocation. Currently, we only support calling the default constructors. I will *NOT* implement argument passing for C++03. I will implement it with rvalue references for C++0x-capable compilers.
* Add qobject_cast for QSharedPointer.Thiago Macieira2009-07-023-0/+110
| | | | | | | | | This obviously only works for classes that derive from QObject. And you must remember that QSharedPointer controls the QObject's lifetime, not the QObject parent-child relationship. Reviewed-by: dt Reviewed-by: Bradley T. Hughes
* Use the safe versions of the network system calls I have just added.Thiago Macieira2009-07-027-49/+88
| | | | Reviewed-By: ossi
* Add the support for the EINTR- and CLOEXEC-safe network calls too.Thiago Macieira2009-07-022-1/+155
| | | | | | | | The SOCK_NONBLOCK, SOCK_CLOEXEC and accept4(2) calls are Linux-specific. Other platforms get the same behaviour through emulation. Reviewed-By: ossi
* Port gui/embedded to the EINTR-safe functions.Thiago Macieira2009-07-0220-84/+118
| | | | | | | I think I found two file descriptor that aren't closed. One seems like a genuine leak, the other seems intentional. Reviewed-By: ossi