Thorbjørn Lindeijer
20636f529b
Unified the three fake tooltip copies
...
Reviewed-by: mae
2010-04-15 15:08:51 +02:00
mae
1a772c1b31
some minor popup tuning
2010-04-09 14:15:21 +02:00
mae
0c7312e05d
if a tooltip, do as tooltip do
...
The fake tooltip duplication is not nice.
2010-04-09 13:48:43 +02:00
mae
d49f1e34ea
use correct tooltip foreground role and drop the unnecessary auto fill
2010-04-09 13:27:43 +02:00
mae
8eedde33c5
Implement tooltips for snippets
2010-04-09 12:59:49 +02:00
mae
17579bb97f
Make completion box hide on an editor undo operation
2010-03-29 16:45:41 +02:00
Roberto Raggi
fd8581b07f
Ensure the completion box is initialized before computing its size hint.
2010-03-29 12:20:56 +02:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
con
92cb4fca3f
Use mini scrollbars for popups on Mac.
2010-02-19 16:26:42 +01:00
Thorbjørn Lindeijer
99af2f9cca
Fixed the border of the completion widget
...
Broke in f14c50dabc
2010-02-17 15:19:10 +01:00
Thorbjørn Lindeijer
f14c50dabc
Simplified the structure of the CompletionWidget
...
Done-with: Roberto Raggi <roberto.raggi@nokia.com >
2010-02-17 10:48:05 +01:00
Roberto Raggi
7360976861
Removed the extra frame around our completion box when compiling for Q_WS_MAC.
...
Yeah, now it looks as bad as the native completion widget :)
Reported by Nigel.
2010-01-28 16:57:37 +01:00
Martin Aumüller
fc1780f126
don't allow keys with empty text to reset the currently selected completion item
...
forwarding keys with empty text() does not restrict the matching items, but
updating the list of possible completions resets the currently selected item to
the first one
2010-01-21 18:10:54 +01:00
con
585f7f8e93
Don't show focus rect for completion widget on Mac.
2010-01-21 11:11:32 +01:00
Martin Aumüller
27065239a0
implement Ctrl+N/Ctrl-P to select next/previous completion item
...
- this is compatible with choosing completion items in vim
- especially when using FakeVim mode, this makes it unnecessary to move
the hands from the main row to the arrow keys
Merge-request: 2158
Reviewed-by: hjk <qtc-committer@nokia.com >
2010-01-05 18:23:36 +01:00
Thorbjørn Lindeijer
2b6a168972
Don't wrap around the completion list when auto-repeating
...
It can be a bit disturbing if the list suddenly jumps when you don't
release the down or up key in time.
Done with mae.
2009-11-23 21:20:07 +01:00
Roberto Raggi
e292554067
Fixed possible crash when using tab to complete (Qt/Carbon only).
...
Task-number: QTCREATORBUG-199
Reviewed-by: thorbjorn
2009-11-20 15:09:39 +01:00
Roberto Raggi
2d51d0b633
Removed the m_ prefix used in the public members of CompletionItem
2009-10-05 18:32:45 +02:00
Daniel Molkentin
7f54f9d339
Wrap completion box list when navigating with up/down arrow keys.
...
Reviewed-by: Thorbjorn Lindeijer
2009-09-11 11:20:18 +02:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Alessandro Portale
d3f9757916
Removing some unused semicolons after Q_UNUSED
...
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
df99d5447f
Initial work on "Quick Fix".
2009-06-08 14:32:42 +02:00
Oswald Buddenhagen
d2a8449bea
ifdef Q_?S_* cleanup
...
- clear up some Q_OS_LINUX vs. Q_OS_UNIX
- clear up Q_WS_* vs. Q_OS_* (relatively theoretical exercise)
- use proper #if-#else cascades instead of free-standing #ifs
2009-06-03 20:54:59 +02:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
Daniel Molkentin
b3445ab65a
Put completion widget on correct desktop for good.
2009-01-07 17:07:56 -08:00
Thorbjørn Lindeijer
d02211674a
Allow some more space for popup on most desktops
...
Most desktops allow popups to overlap the taskbar. We should allow this
additional space to be used by the completion popup.
2008-12-19 17:54:42 +01:00
Thorbjørn Lindeijer
719894044d
Keep completion popup on the screen
...
Pop it upwards when it would otherwise go below the screen and shift it
to the left when it would otherwise exit the screen on the right.
2008-12-18 17:02:20 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
hjk
4a552ead9f
use QTC_ASSERT instead of Q_ASSERT
2008-12-09 15:25:01 +01:00
hjk
cf11b69643
more code cosmetics
2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c
off-by-one in headers
2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3
end-of-line whitespace correction of the new headers
2008-12-02 14:17:16 +01:00
con
05c35356ab
Initial import
2008-12-02 12:01:29 +01:00