aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Implements #245Felix "xq" Queißner2021-11-201-0/+11
|
* Further improves localization (#191). Allows switching and setting the ↵Felix (xq) Queißner2021-05-081-0/+11
| | | | chosen localization properly.
* Push lazy-loaded links to the historyKarol Kosek2021-04-181-5/+2
| | | | | | | | | | | | | | | | | | | | When lazy-loaded links were making a new tab, they wasn't calling tab->navigateTo(url, BrowserTab::PushImmediate). What's important is only it can push urls to the history and making a new function just for that seemed like it'd just complicate things. So I've changed it to call tab->navigateTo() on every loading type. Unfortunately, that fixed our issue partly. Sure, links are now put into the history, but lazy-loaded tabs stopped being lazy-loaded anymore. Moreover, they were also reloading a page on first tab switch. So I've made also a check that stops requesting lazy-loaded urls, which made lazy-loading work as intended again, and moved the unsetting lazy-loaded boolean on reload instead of right after it to be able to request the file, which finally... Closes: #214
* Unwarp tr() from QStringsKarol Kosek2021-04-161-2/+2
| | | | | | | | | | We don't need to wrap tr() with QString, because it returns QString anyway. Although it doesn't change the binary size (mostly because compilers were smart to remove that already), it helps to make the code a little bit cleaner. It's a somewhat continuation of c740189bcaa5bc6c073f8b3802303acf5ac36e47, but I thought back then it happened only there, so now I've removed it from all places.
* Show application version in the about dialogKarol Kosek2021-04-091-2/+3
|
* sessions: fix lazyload bugMike Skec2021-03-171-0/+1
|
* sessions: add 'lazyloading' for restored tabsMike Skec2021-03-171-2/+17
|
* sessions: save page titles and read them before loading pageMike Skec2021-03-171-1/+7
|
* sessions: restore window tab indicesMike Skec2021-03-171-18/+28
|
* First draft of session management. Always restores the latest session.Felix (xq) Queißner2021-03-171-3/+12
|
* mark more strings for translationOIS2021-03-161-6/+6
|
* mnemonics: remove dockwidget hackMike Skec2021-03-121-8/+0
|
* Add accelerators to menubarMike Skec2021-03-121-0/+9
| | | | A bit of a hack was needed to add these to the dock menu items - the accelerators won't work in non-English languages
* New HTML rendering via HTML code generation.Felix (xq) Queißner2021-03-081-1/+5
|
* Moves all globals into a structure that can be deleted before the app ↵Felix (xq) Queißner2021-03-061-30/+30
| | | | exists. Fixes #193.
* Implement interface translationCarmina162021-03-061-20/+20
|
* Closes #190Felix (xq) Queißner2021-03-061-15/+15
|
* Implements proper multi-window support.Felix (xq) Queißner2021-03-061-21/+35
|
* Starts preparing the codebase for multiple windows.Felix (xq) Queißner2021-03-061-0/+2
|
* MainWindow: set tab tooltipsMike Skec2021-02-231-0/+3
|
* Fix window geometry/state not being saved in some environmentsMike Skec2021-02-231-0/+7
| | | | | | The window state and geometry are now saved either after app.exec() finished, or if closeEvent is emitted on the MainWindow. This allows the window geometry/state restoration to be a lot more reliable. E.g in my configuration (Fluxbox) - if I closed the window using my own defined keybinding, the state would not get saved
* Add light icons for favourite/certificate buttons for dark themesMike Skec2021-02-231-0/+1
|
* Add optional root/parent toolbar buttonsMike Skec2021-02-181-18/+7
|
* Fix: remove N-L from tab title. Also limit tab title lengthMike Skec2021-02-171-10/+21
| | | | | | 0) when visiting for example, https://lists.orbitalfox.eu/archives/gemini/2020/000304.html the page title was getting a newline character in it (for some reason). This has now been fixed. 1) the tab title is now limited to 45 characters, until the string is chopped and an ellipsis (...) is appended. This limit was added to prevent pages with enormous titles from clogging up the tab bar. For this reason, the limit is quite high - users browing Gemini don't usually have that many tabs open (compared to the web), so i think we can get away with this high number.
* Add basic root/parent navigation options to menu, with shortcutsMike Skec2021-02-171-0/+29
|
* Use PageUp/Down to switch between tabsXavier Del Campo Romero2021-01-271-0/+28
|
* new-tab button: add preferenceMike Skec2021-01-211-0/+4
|
* Added '+' button to tab barMike Skec2021-01-211-0/+5
|
* status bar: show request status when loading pagesMike Skec2021-01-101-2/+55
| | | | status text for loading HTTP/S is only a simple 'loading webpage'. The other protocols display more information
* status bar: New file cache indicatorMike Skec2021-01-101-1/+5
| | | | Mime label was also simplified so that only type/subtype are shown.
* Added new context menus to favourite groupMike Skec2021-01-071-9/+41
|
* favourite popup: adding group combobox!Mike Skec2021-01-071-9/+16
|
* cache code refactorMike Skec2021-01-061-34/+0
|
* Basic caching functionality implementedMike Skec2021-01-061-0/+34
|
* MainWindow: escape tab titleKarol Kosek2021-01-051-1/+3
| | | | | Prevents a tab from creating an Alt+Char shortcut if there was an preceding ampersand character in the title.
* Remove toggleIsFavourite - no longer neededMike Skec2021-01-041-1/+1
| | | | also rename addToFavouritesPopup to showFavouritesPopup
* New popup when adding to favourites!Mike Skec2021-01-041-1/+5
|
* Tweak when url should be focusedMike Skec2021-01-021-4/+1
|
* favourites: implement #77, and add rename context menusMike Skec2021-01-021-7/+38
|
* Get rid of unneeded hacky code for fancy url barMike Skec2021-01-021-16/+1
|
* url bar focus changeMike Skec2021-01-011-2/+1
| | | | when adding new tab the url bar is only focused if the tab is set as the focused tab
* Added UI density option.Mike Skec2021-01-011-0/+20
| | | | 'Compact' is the default - saves screen space a bit. The old layout is available in the 'Classic' option
* Fix segfault when opening settings dialog with no tabsMike Skec2020-12-311-9/+9
|
* Prevents URL bar styles appearing strange in settings dialog after changing ↵Mike Skec2020-12-311-1/+14
| | | | | | theme. do this by removing style while settings window is open
* Added fancy url bar stylingMike Skec2020-12-311-1/+3
|
* mainwindow: new methods curTab and tabAtMike Skec2020-12-311-22/+32
| | | | So we don't have to write qobject_cast<BrowserTab*>(this->ui ... etc every time ;)
* #51: mouse buttons 4/5 for back/forwardMike Skec2020-12-311-1/+22
|
* Pass QPoint by valueKarol Kosek2020-12-301-2/+2
|
* Window title now contains page titleMike Skec2020-12-271-0/+17
|
* Add shortcuts for Document Outline, Bookmark, and History docksKarol Kosek2020-12-241-5/+3
| | | | Had to use custom properties and rebind the Go home shortcut.