Commit Graph

193 Commits

Author SHA1 Message Date
Oleg Romashin
2c3bcf7537 Fixed linking with X11 library 2008-04-22 16:42:22 +03:00
Vladimir Vukicevic
c4af53f54b [qt] fix up AppShell to use postEvent 2008-04-22 05:20:42 -07:00
Vladimir Vukicevic
46848b804e [qt] Get rid of mCreated; rename nsWindow event handlers to sync with Qt names 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
a3cdfb9d2f [qt] remove NativeResize, NativeCreate, NativeShow 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
1d65a1a7f8 [qt] rename mDrawingarea -> mDrawingArea 2008-04-22 04:21:18 -07:00
Vladimir Vukicevic
bdcd3c8c57 [qt] Remove old Gtk-style transparency cruft 2008-04-22 04:21:17 -07:00
Vladimir Vukicevic
389b66ca86 [qt] Get rid of nsCommonWidget; dump everything into nsWindow 2008-04-22 04:21:17 -07:00
Vladimir Vukicevic
9508697b3b [qt theme] Use GetRect() not GetContentRect() in NativeThemeQt
Neither one is correct, but GetRect() happens to work since it's inlined and just
returns a local member.  GetContentRect isn't available since it's a function
defined in gklayout, and widget does not link to layout.  (It happens to work in
libxul builds due to the way libxul is linked, but it shouldn't be used.)
2008-04-22 04:18:32 -07:00
Oleg Romashin
c3a42e1753 branch merge 2008-04-22 14:14:46 +03:00
Oleg Romashin
68c8a6f9b9 Different approach for nsAppshel implementation, based on normal QObject signal 2008-04-22 14:12:52 +03:00
pevanhoj@pevanhoj-laptop
95d68cd4d0 Fix for native theme dropdown f 2008-04-22 12:34:31 +03:00
pevanhoj@pevanhoj-laptop
7d196e0c8c Fix for dropdown focus drawing 2008-04-22 12:33:33 +03:00
pevanhoj@pevanhoj-laptop
ec0e4a5903 Native theming update for scrollbars 2008-04-21 17:48:12 +03:00
peaho@peaho-laptop-linux
599c1b0a1e fix for dropdown min size
ddd
2008-04-21 14:20:32 +03:00
Vladimir Vukicevic
a0bddab33f Comment out X11-specific code to enable Qt Embedded builds 2008-04-20 06:54:27 -07:00
Vladimir Vukicevic
fb6ae72267 Get rid of debug code that uses Qt 4.4 symbols 2008-04-20 01:51:35 -07:00
Vladimir Vukicevic
a8b0f696f7 [qt] Use Qt for double buffering; let Qt handle events that Gecko doesn't want
In particular, the Update event needs to be passed to QWidget::event so that
a Paint event is generated and we can actually do the painting.
2008-04-20 01:37:07 -07:00
vlad
a362c2fd57 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-20 11:16:40 +03:00
romaxa@romaxa.research.nokia.com
41aeedbe96 Fixed missing changes for gfxQtPlatform rename 2008-04-19 20:21:53 +03:00
pekka.vanhoja
8a971971de Fixed textfield rendering in nsNativeThemeQt 2008-04-19 19:10:05 +03:00
pekka.vanhoja
b693c61dfa Fixed textfield rendering in nsNativeThemeQt 2008-04-19 19:10:01 +03:00
pekka.vanhoja
53f3adc289 Updated nsLookAndFeel - modified couple colors, added few *_moz_* colors 2008-04-19 19:09:56 +03:00
romashin
828528e3fd Fixed qt version define 2008-04-19 19:07:34 +03:00
pekka.vanhoja
e6ce1a8872 Fixed misc nsNativeThemeQt rendering 2008-04-19 19:07:29 +03:00
pekka.vanhoja
3855021748 Updated nsLookAndFeel implementation - updated some of the native colors, make it compile also with Qt 4.3 2008-04-19 19:07:20 +03:00
pekka.vanhoja
2e20a5b4a3 Updated nsLookAndFeel implementation - updated some of the native colors 2008-04-19 19:07:15 +03:00
pekka.vanhoja
9c0950966f Updated nsLookAndFeel implementation - button hover works, corrected some of the native colors 2008-04-19 19:07:10 +03:00
pekka.aho
26bee9acc0 native theme zooming fix 2008-04-19 19:06:26 +03:00
pekka.vanhoja
d34c1159b7 Updated nsLookAndFeel implementation 2008-04-19 19:04:37 +03:00
pekka.vanhoja
2c0d2997a0 Started nsLookAndFeel implementation 2008-04-19 19:04:22 +03:00
tero.turtiainen
36934c1a7a Commented out some qDebug spam 2008-04-19 19:03:58 +03:00
vlad
669f03c6b8 Qt: widget/gfx work
- Fix crash on window close
  - Qt expects the QWidget to remain available even after it has
processed a close event. So, use deleteLater() instead of
deleting outright.
  - Also carry around the MozQWidget pointer (though we need to rework
CreateQWidget and ::Initialize) so that we can call dropReceiver

- Fix screen <-> widget coordinate translation
  - Fixes popup menu positioning

- Honor mayWait in nsAppShell::ProcessNextNativeEvent
  - Prevents massive busy-waiting

- Don't pretend to support translucent windows

- Fix embedding widget build failure

- cairo-qpainter: invert source matrix in paint() to get proper
transform (proper positioning of elements drawn using paint())

- Cleaner event handling in mozqwidget -- return full nsEventStatus,
not just boolean, and decide whether to call QWidget::event() based
on that.
2008-04-19 19:02:53 +03:00
romaxa@romaxa.research.nokia.com
e84ddd7185 Remove files added by mistake 2008-04-19 18:56:33 +03:00
tero.turtiainen
e5d1e0d68d Added small checkbox 2008-04-19 18:53:54 +03:00
tero.turtiainen
4bd05430d7 Multiline text field added 2008-04-19 18:53:50 +03:00
romashin
c1c8d1f195 Make optional compilation with Qt cairo-xlib surface (for comparing and bugfixing)
DEFINE QT_XLIB_SURFACE
2008-04-19 18:53:46 +03:00
romashin
367bb0b786 No qt3 support 2008-04-19 18:53:41 +03:00
tero.turtiainen
26654140af Fixed a merge error 2008-04-19 18:53:32 +03:00
tero.turtiainen
86cff9cae4 Updated scrollbars in nsNativeThemeQt 2008-04-19 18:53:28 +03:00
pekka.vanhoja
b45b823a1b Updated nsNativeThemeQt 2008-04-19 18:53:24 +03:00
piia.ruokonen
5c5b9b8ff2 FilePicker implementation 2008-04-19 18:44:21 +03:00
pekka.vanhoja
83192b3ebd Updates to nsNativeThemeQt - draws scrollbar up button 2008-04-19 18:44:16 +03:00
tero.turtiainen
a25cb0598a Removed some useless qDebugs 2008-04-19 18:44:12 +03:00
pekka.vanhoja
bd2acb212b Updates to nsNativeThemeQt - draws radio buttons 2008-04-19 18:44:07 +03:00
pekka.vanhoja
41bfde187f Updates to nsNativeThemeQt - draws line edit and buttons 2008-04-19 18:44:03 +03:00
tero.turtiainen
42a20ad066 Some updates to allow drag&dropping to browser window 2008-04-19 18:43:56 +03:00
pekka.vanhoja
a80aeac131 Added initial version for nsNativeThemeQt - uncomment from nsWidgetFactory components[] to enable it 2008-04-19 18:43:48 +03:00
romashin
687bcca1da Disable directo drawing on X11 screen 2008-04-19 18:43:44 +03:00
pekka.aho
c68de0da1a Sound widget implementation 2008-04-19 18:43:36 +03:00
tero.turtiainen
b731d85945 Dragging from browser implemented 2008-04-19 18:43:32 +03:00
romashin
7831d65b1a Added new cairo-qt surface from Vlad's patch
New created files moved in sandbox/qt_port.. cairo and gfxQPainterSurface
Changes for existing files applyed from 100_qt-qpainter-cairo.diff
Fixed building non deb mozilla with build_non_deb.sh script
Fixed tab-spaces in new created file cairo-qpainter-surface.cpp
2008-04-19 18:43:23 +03:00
pekka.vanhoja
6ff4d879bf Added idle service implementation for qt 2008-04-19 18:41:14 +03:00
pekka.vanhoja
9e1272e4d7 Added qt bidikeyboard implementation 2008-04-19 18:41:10 +03:00
tero.turtiainen
11c3fd0209 Stub implementation of QT drag service 2008-04-19 18:41:02 +03:00
pekka.vanhoja
b742081754 Added qt bidikeyboard implementation 2008-04-19 18:40:58 +03:00
tero.turtiainen
1a988866d2 Fixed Unicode support 2008-04-19 18:40:50 +03:00
tero.turtiainen
0ab5c391bb First implementation of QT clipboard 2008-04-19 18:40:33 +03:00
romashin
4131b7ed74 Add contributor name 2008-04-19 18:39:38 +03:00
romashin
6ce8abc929 Removed debug info 2008-04-19 18:39:26 +03:00
romashin
43e551c093 Fixed double buffering for QT widget 2008-04-19 18:39:14 +03:00
romashin
19f6195025 Fixed broken key handling 2008-04-19 18:38:21 +03:00
romashin
1ba74991a6 Fixed broken key events 2008-04-19 18:38:16 +03:00
romashin
386015ca87 Fixed proper focus setup 2008-04-19 18:38:12 +03:00
romashin
765cb862db Fixed cursor setup on input widgets 2008-04-19 18:38:08 +03:00
romashin
83769d80de Remove debug info 2008-04-19 18:38:04 +03:00
romashin
d7d14605b8 Remove warning 2008-04-19 18:38:00 +03:00
romashin
bf16a34696 Fixed cursor handling 2008-04-19 18:37:55 +03:00
romashin
04a4e96beb Major reimplementation of nsWindow class
Full step by step porting of Gtk2 version
Fixes: some problems with widget resize...
New problems: SetCursor does not work
2008-04-19 18:37:51 +03:00
romashin
5d9e7ad815 Ported key converters from gtk implementation 2008-04-19 18:37:34 +03:00
romashin
9e2d7e5c61 Proper implementation of nsAppShell event queue 2008-04-19 18:35:04 +03:00
romashin
4c2b8323bd Disable debug output 2008-04-19 18:34:51 +03:00
romashin
293a727551 Fixed cairo rendering on top of main widget 2008-04-19 18:34:47 +03:00
romashin
7d4d0c7bfe Commenting 2008-04-19 18:34:20 +03:00
romashin
9579ed0e68 Fixed handle according to example from QCairo 2008-04-19 18:34:14 +03:00
romashin
0b3635f625 Workarround fix for suck compiler 2008-04-19 18:33:59 +03:00
romashin
38128652af Fixed undefined reference for ScreenManagerQt 2008-04-19 18:33:54 +03:00
romaxa@romaxa.research.nokia.com
5eb9eab73c Resurect old widget-qt port on new mozilla trunk 2008-04-19 18:31:50 +03:00
pekka.vanhoja
de03239b68 Removed files from compilation set to make widget module compile for now 2008-04-19 18:28:43 +03:00
Oleg Romashin
790eff22e7 Added Screen Manager
Some fixes and addditional stuff for fonts
2008-04-19 18:14:15 +03:00
Oleg Romashin
ac1b5abc83 Simple nsAppShell QT implementation 2008-04-19 18:14:03 +03:00
Oleg Romashin
877aedcff5 Fixed AppShell Service initialization 2008-04-19 18:13:59 +03:00
Oleg Romashin
afc9daa742 Added some debug info 2008-04-19 18:13:44 +03:00
Oleg Romashin
928de3436e Implemented first runnable QT Gecko Test Embed 2008-04-19 18:13:35 +03:00
Oleg Romashin
d55cb91071 Fixed gfxPlatform initialization
Fixed proper initialization of qt nsWindow
embedding/browser/qt ported for current version of Gecko and QT4
Fixed building of TestQGeckoEmbed application
2008-04-19 18:13:29 +03:00
Oleg Romashin
5c41827b55 Adde modules which not requires implementation 2008-04-19 18:11:21 +03:00
Oleg Romashin
d26ff28c3a Add implementation of nsWindow object 2008-04-19 18:11:13 +03:00
Oleg Romashin
1f79e842ac Add old implementation of mozqwidget and nsCommonWidget 2008-04-19 18:10:45 +03:00
romaxa@romaxa.research.nokia.com
03b2d4c8a8 Fixed building with new QT flags
Disabled QtSql
2008-04-19 18:07:40 +03:00
romaxa@romaxa.research.nokia.com
11fd09a312 Add nsAppShell empty implementation
Disable qt3support
2008-04-19 18:05:49 +03:00
romaxa@romaxa.research.nokia.com
f98baada0a Add base implementation of gfxQtPlatform and widget/qt 2008-04-19 18:02:52 +03:00
mozilla@weilbacher.org
a614a85c71 Bug 380196: Kill QT graphics code, p=sciguyryan, r/sr=roc 2007-06-10 15:13:08 -07:00
enndeakin@sympatico.ca
8b6667e253 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00