Commit Graph

356 Commits

Author SHA1 Message Date
Florian Bruhin
485c7a6316 Implement command history 2014-01-21 11:32:56 +01:00
Florian Bruhin
ca86eea4ae Handle up/down/tab keypresses in StatusCommand 2014-01-21 11:00:52 +01:00
Florian Bruhin
7e3144964e Simplify/cleanup stylesheets and statusbar 2014-01-21 10:48:03 +01:00
Florian Bruhin
b14070845c Use scroll bars and their values for percentage.
For both gg/G and the statusbar indicator, we now use scrollBarValue()
instead of scrollPosition(). This makes a lot of things easier, but
unfortunately this also means we need to have visible scrollbars.
2014-01-21 10:15:25 +01:00
Florian Bruhin
d03f23979d Fix typo 2014-01-21 09:39:30 +01:00
Florian Bruhin
690ff68a99 Add FIXME 2014-01-21 09:07:12 +01:00
Florian Bruhin
8da88f67d0 Set window title 2014-01-21 09:05:31 +01:00
Florian Bruhin
621839dc17 First attempt at a scrolling indicator 2014-01-21 08:37:21 +01:00
Florian Bruhin
fdf765b267 Implement ScrollPercent{X,Y}, gg and G with count 2014-01-20 17:59:27 +01:00
Florian Bruhin
5fce707bb2 Replace scroll{up,down,left,right} by scroll cmd 2014-01-20 17:05:47 +01:00
Florian Bruhin
1095e24f98 Refactor ALL the things
- Remove super() where unneeded
 - Add docstrings where applicable
 - Remove setObjectName calls
 - Lots and lots of smaller changes
2014-01-20 15:58:49 +01:00
Florian Bruhin
a18f3f5aa5 Fix tab title when webpage has no title 2014-01-20 08:58:49 +01:00
Florian Bruhin
6acac5cb71 Display keystring in statusbar 2014-01-20 07:01:39 +01:00
Florian Bruhin
289f08f7a7 Start statusbar text widget system 2014-01-20 06:52:41 +01:00
Florian Bruhin
1e8cb42c00 Rewrite whole command system.
Every command signal now returns a tuple (count, args) and gets handled
in app.py by cmd_handler. This makes things easier in a lot of places.
2014-01-19 22:55:00 +01:00
Florian Bruhin
a6aa95cba8 Clean up esc pressing in statusbar 2014-01-19 20:20:35 +01:00
Florian Bruhin
90cbf5362f Don't always clear status cmd text on focusOut 2014-01-19 20:17:51 +01:00
Florian Bruhin
014f73a2dd Remove esc FIXME
We can't do anything about this, see
https://bugreports.qt-project.org/browse/QTBUG-31527
2014-01-19 20:14:33 +01:00
Florian Bruhin
fb54eb58c1 Start reworking key parsing 2014-01-19 19:41:34 +01:00
Florian Bruhin
3fa18c5599 Remove all the pyqtSlot decorators 2014-01-19 18:45:14 +01:00
Florian Bruhin
bba3696630 commands: Implement scrollstart and scrollend 2014-01-19 18:43:47 +01:00
Florian Bruhin
0dd204b182 Implement scroll{left,right} 2014-01-19 17:45:03 +01:00
Florian Bruhin
4a95745b71 webview: Turn off scrollbars 2014-01-19 17:39:06 +01:00
Florian Bruhin
26a22d498a Hide progress bar at prog=100% 2014-01-19 17:34:07 +01:00
Florian Bruhin
f816e27c77 Refactor error display/clearing 2014-01-19 17:30:31 +01:00
Florian Bruhin
50b5f84f1d Add TODO 2014-01-19 17:18:46 +01:00
Florian Bruhin
5bab3aa79d tab bar: make font smaller 2014-01-19 17:08:45 +01:00
Florian Bruhin
457c422f5d tabbar: elide text 2014-01-19 16:56:33 +01:00
Florian Bruhin
ee3eedbfb5 status: Hide progress bar when finished loading 2014-01-19 16:56:19 +01:00
Florian Bruhin
0100dcf119 Style progress bar 2014-01-19 16:25:33 +01:00
Florian Bruhin
e1934929b1 Fix progress bar 2014-01-19 15:35:48 +01:00
Florian Bruhin
f96d420619 Add broken progress bar 2014-01-18 00:02:53 +01:00
Florian Bruhin
d500c8b9dd Get rid of tabs list 2014-01-17 23:22:49 +01:00
Florian Bruhin
ff938fc0d5 Add undo command 2014-01-17 23:17:24 +01:00
Florian Bruhin
321c00bbfb Set title correctly 2014-01-17 22:57:00 +01:00
Florian Bruhin
022fc7aa4e Add scrolling commands 2014-01-17 22:02:11 +01:00
Florian Bruhin
ff855d6ded Add commands reload/stop/back/forward/print 2014-01-17 21:51:38 +01:00
Florian Bruhin
1b08b88b2b Move signal filtering to generic function 2014-01-17 21:31:14 +01:00
Florian Bruhin
09467abe7e Log progress changes 2014-01-17 20:29:20 +01:00
Florian Bruhin
dfcba88179 Emit progress_changed in tab init 2014-01-17 20:29:07 +01:00
Florian Bruhin
7cdad8e30d Fix esc key 2014-01-17 20:22:50 +01:00
Florian Bruhin
2b84768902 Remove debug output 2014-01-17 19:42:33 +01:00
Florian Bruhin
294c5fa138 Update cur_progress on tab switch 2014-01-17 13:16:13 +01:00
Florian Bruhin
688b22eaac Move progress handling to TabbedBrowser 2014-01-17 13:08:44 +01:00
Florian Bruhin
c0320a911b First implementation of a progress bar 2014-01-17 12:24:38 +01:00
Florian Bruhin
bcc2fa9653 Move browser to widgets 2014-01-17 10:43:50 +01:00
Florian Bruhin
26df5a8076 Add monospace font for Windows 2014-01-17 08:26:45 +01:00
Florian Bruhin
08207d6f9d Handle focus loss for cmd bar 2014-01-17 07:18:48 +01:00
Florian Bruhin
cb0c2604f3 Display error on unknown command 2014-01-17 07:04:24 +01:00
Florian Bruhin
746e7a90ad Add keybindings 2014-01-17 06:51:21 +01:00
Florian Bruhin
a691cc10af Enforce : in status bar command 2014-01-16 21:42:46 +01:00
Florian Bruhin
0250f61b8a Import pyqtsignal in statusbar.py 2014-01-16 15:55:44 +01:00
Florian Bruhin
857228e4f2 Refactor commandline parsing 2014-01-16 17:49:57 +01:00
Florian Bruhin
f0c9977fa4 Add actual browser 2013-12-15 21:40:15 +01:00
Florian Bruhin
fbe968af73 Move main window logic to mainwindow.py 2013-12-15 20:33:43 +01:00
Florian Bruhin
ae516f3f73 Split widgets to different files 2013-12-15 20:29:39 +01:00