summaryrefslogtreecommitdiffstats
path: root/src/gui
Commit message (Collapse)AuthorAgeFilesLines
* split up qguivariant into two filesLars Knoll2011-05-063-37/+240
| | | | | | Move everything that will end up in QtWidgets into a qwidgetsvariant.cpp file. Currently this is QIcon and QSizePolicy only.
* move QPalette into QtGuiLars Knoll2011-05-0610-21/+30
| | | | | also add QGuiApplication::palette() for the default application palette.
* comment out references to QDragManager for nowLars Knoll2011-05-061-4/+6
|
* Get rid of qt_qpa_set_cursor from QGuiApplication for now.Samuel Rødal2011-05-063-5/+2
|
* Get rid of stale QWidget-stuff from QGuiApplication.Samuel Rødal2011-05-063-226/+10
|
* compile fixesLars Knoll2011-05-054-1/+3
|
* remove qwidget dependencies from keymapperLars Knoll2011-05-056-6/+7
| | | | | Remove the QWidget dependencies from keymapper and move it back into guikernel.
* move gesture event into qgesture.*Lars Knoll2011-05-056-415/+412
| | | | | Since QGesture stays in QtWidgets for now, move the event there as well.
* compile fixesLars Knoll2011-05-051-1/+3
|
* remove some more qapp dependenciesLars Knoll2011-05-059-32/+20
|
* special directory for stuff we want to move from widgets to guiLars Knoll2011-05-0521-12/+34
| | | | | | | Create a special to_be_moved directory, that will contain files that are to be moved from QtWidgets to QtGui. This will allow us to do a first split of the libraries rather fast and we can then start pulling in these classes one by one.
* move some more files into proper placesLars Knoll2011-05-0514-6/+2
|
* remove some dependencies to QTextEditLars Knoll2011-05-054-17/+15
| | | | | | | QSyntaxHighlighter is now free of dependencies to QtWidgets. QTextImageHandler still needs some work to get the url resolving to work again.
* remove some QApplication dependenciesLars Knoll2011-05-053-27/+3
|
* QPixmapFilter will live in QtWidgetsLars Knoll2011-05-055-4/+5
| | | | | | | | The class is only used for QGraphicsEffect. When merging QtOpenGL into Gui and Widgets, the GL nased pixmap filters will also need to be moved into effects/ and the pixmapFilter() method in QPaintEngineEx can get removed.
* Get rid of more QWidget / QApplication dependencies.Samuel Rødal2011-05-0414-66/+64
|
* remove QWidget dependencies.Lars Knoll2011-05-043-4/+0
|
* separate QPrinter and QPrintDialogLars Knoll2011-05-048-42/+32
| | | | Removed all dependencies QPrinter had on QPrintDialog.
* More QApplication prefixes changed.Samuel Rødal2011-05-046-10/+10
|
* qdrawutil is for QtWidgetsLars Knoll2011-05-046-6/+4
| | | | the methods don't make sense for QML based apps
* Use base-class prefix instead of QApplication:: where possible.Samuel Rødal2011-05-043-17/+17
|
* Move some cursor handling to QGuiApplication from QApplication.Samuel Rødal2011-05-049-311/+317
|
* that signal has moved to QGuiApplicationLars Knoll2011-05-041-1/+0
|
* remove some unused codeLars Knoll2011-05-043-57/+0
| | | | | QPaintDeviceRedirection is not being used any more. Remove all code related to it.
* QStylePainter belongs in QtWidgetsLars Knoll2011-05-044-3/+3
| | | | | Move it into the styles/ directory that will end up in the QtWidgets library
* Move KeyPlatform and currentPlatform() to QGuiApplicationPrivate.Samuel Rødal2011-05-046-182/+185
|
* Closing of popups in QWidgetWindow.Samuel Rødal2011-05-042-1/+5
|
* Remove unused variable.Samuel Rødal2011-05-043-6/+0
|
* move platform specific files out of the wayLars Knoll2011-05-04143-0/+0
| | | | | | | Keep the files as reference to implement the lighthouse plugins, but move them away from the main directory hierachy as they won't be part of Qt5 in any case.
* Implemented enter / leave events for QWidget.Samuel Rødal2011-05-043-10/+32
|
* More fixes...Samuel Rødal2011-05-041-0/+6
|
* Improved handling of child windows.Samuel Rødal2011-05-045-37/+37
| | | | Don't force-create QWindows until they're explicitly created or shown.
* forgot this fileLars Knoll2011-05-041-0/+94
|
* moving some more files around.Lars Knoll2011-05-0415-15/+15
|
* split kernel/ up according to the future library splitLars Knoll2011-05-04110-106/+28
| | | | | | | Create a guikernel/ directory that contains the files that'll go into libQtGui. What remains in kernel/ will go into QtWidgets. In addition to that image/, painting/ and text will end up int QtGui.
* remove constructorLars Knoll2011-05-041-3/+0
|
* Merge remote branch 'origin/master' into refactorLars Knoll2011-05-0453-460/+988
|\
| * Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtbase-stagingGunnar Sletta2011-05-041-0/+8
| |\
| | * Include pixel size of font in exported HTML from QTextDocumentEskil Abrahamsen Blomfeldt2011-05-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When you copy-pasted rich text in which the font size had been set using setPixelSize() the font size would be mysteriously forgotten. The pixel size property in QTextCharFormat was added ad hoc, and not integrated in the HTML exporter. Task-number: QT-4792 Reviewed-by: Gunnar (cherry picked from commit 5aa5c2e2935c1829cc6965198968699f17c24ec0)
| * | Merge branch 'master' of scm.dev.nokia.troll.no:qt/qtbase-stagingGunnar Sletta2011-05-041-1/+5
| |\|
| | * Move private headers into versioned subdirectoryMarius Storm-Olsen2011-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | This will allow us to expose private headers in a controlled manner, and ensure that they are not used by accident. This also means that we internally will have to enable the private headers for the modules we wish to use in the project.
| | * Add module.prf, and install MODULE_PRI for each moduleMarius Storm-Olsen2011-05-021-0/+4
| | | | | | | | | | | | Output warning if not present
| * | Compile on WindowsEskil Abrahamsen Blomfeldt2011-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The SPI_FONTSMOOTHINGCONTRAST macro is not defined everywhere. When the code was refactored, the workaround for this was lost. This resubmits the work-around to make it compile. Reviewed-by: Samuel (cherry picked from commit 4c3630c1fcd2b3008f540a8906a19c533604f36a)
| * | Remove warningsJørgen Lind2011-05-042-1/+2
| | | | | | | | | | | | (cherry picked from commit 9625c564877414695a9706acf34bc8719018ef06)
| * | Lighthouse: Fix virtual desktopwidgetJørgen Lind2011-05-042-9/+4
| | | | | | | | | | | | (cherry picked from commit 69c759f5b84c2f6a44377e5f72cfe9d5bf7344c6)
| * | Support gamma correction of text on GLEskil Abrahamsen Blomfeldt2011-05-032-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the SRGB framebuffer extension in GL is available, we can support gamma correction of text with a gamma of 2.1. On Mac this is sufficient for gamma correcting subpixel antialiased text. Gray antialiasing should not be gamma corrected on Mac. On Windows, the user can potentially set the gamma value to anything between 1.0 and 2.2 (or something like that). We support anything that resembles 1.0 closely enough by pushing the text out without any correction (like before). We also support anything that resembles 2.1 (the gamma hardcoded in GL's SRGB extension) by turning on the extension before blending the text. In between the two, we'll use gray antialiasing to avoid differing too much from the raster engine (which is our reference in this.) For gray antialiasing on Windows, we use a constant gamma of 2.3 which has been determined by experimentation. Since this is close enough to 2.1 we do gamma correction with SRGB extension. The distance limit of 0.2 is determined by some experimentation. Reviewed-by: Samuel (cherry picked from commit 79ba7cceca5e4029876ace2121edd25b08ae14ce)
| * | Make pixel size a qreal in QRawFontEskil Abrahamsen Blomfeldt2011-05-022-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | The pixel size in the font engines is already a floating point value. For maximum flexibility, we should expose this in the public API. Task-number: QTBUG-18817 Reviewed-by: Jiang Jiang (cherry picked from commit ac9e63b58533a3215106ed9da82cff3a3e3dda3a)
| * | Support more items for QTextCharFormat::VerticalAlignment enum for custom ↵Dmitry Zelenkovsky2011-05-022-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text objects. * QTextCharFormat::AlignNormal - support text format descent, place text object bottom on (baseline - descent). * QTextCharFormat::AlignBottom - place text object bottom on baseline. * QTextCharFormat::AlignTop - Still not supported. * Any other vertical alignment is mapped QTextCharFormat::AlignBottom. Add new enum AlignBaseline for custom inline objects to take into account font baseline. Merge-request: 2578 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> (cherry picked from commit ee9455ed2a83084692d969c398ecb91bcd4fc33a)
| * | Use maximum ascent/descent/leading from fallback fonts in shapingJiang Jiang2011-04-296-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When shaping a QScriptItem with a multi font engine, currently we only take the ascent/descent/leading from the primary (first) font engine in that multi font engine, however, subsequent engines used during shaping may have larger ascent/descent/leading, disregarding them may cause clipping issues in some cases. It's fixed by checking each font engine used in the shaping process and take the maximum value instead of the first one. On ATSUI we merely make it compile. Task-number: QTBUG-16719 Reviewed-by: Eskil (cherry picked from commit c501403cb5a0c9ec21b00e0c2f640ae85566e0cf)
| * | Another ugly hack to make bidi cursor work with Core TextJiang Jiang2011-04-291-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the text is wrapped with LRE/LRO/RLE/RLO override/embed marks, Core Text in Mac OS X 10.5 doesn't produce an empty glyph at the beginning of the glyphs (while it does in Mac OS X 10.6), thus we need to prepend an empty glyph here, otherwise cursor position calculation will consider the first two characters as a ligature of the same glyph. Reviewed-by: Eskil (cherry picked from commit a36ac6c34bafa801c2c30d76f59e4a3594efc4d5)