David Rosca
7dfce692d7
WebPage: Don't force enable JavaScript on file: scheme
8 years ago
David Rosca
4bf85ee3cb
WebPage: Register QWebChannel on isolated ApplicationWorld
...
This way scripts on pages don't have access to it.
Exception is qupzilla: scheme as internal pages requires the bridge.
GreaseMonkey userscripts now runs on ApplicationWorld too. This fixes
userscript that depend on script world being isolated from main page world.
Tested with 4ChanX + OneeChan.
8 years ago
David Rosca
b291c27d4e
AdBlockDialog: Fix icon path in Options button
8 years ago
David Rosca
e155e1eedb
Windows installer: Remove Breathe section
8 years ago
David Rosca
c3e4d80010
AdBlock: Load blocked page as data url instead of qupzilla:adblock
...
AdBlock is now completely separate main app code.
8 years ago
David Rosca
f16580dc05
AdBlockPlugin: Change into real internal plugin
8 years ago
David Rosca
9bff0f1b5c
Plugins: Remove no longer used Click2Flash settings
8 years ago
David Rosca
7143e1130c
Update themes
...
- use window background instead of white for AboutDialog background
- use new style for desktop notifications
- set pinned tab width in Windows theme
- remove styling of Download Manager
8 years ago
David Rosca
da9e873d2c
AboutDialog: Remove frame from QTextBrowser
8 years ago
David Rosca
29f0644f59
Fix background of tab icon in Windows theme
8 years ago
David Rosca
5cd580d284
ComboTabBar: Update moving tab contents during drag
...
Unlike QTabBar, ComboTabBar now redraws contents of moving tab.
8 years ago
David Rosca
d7146519b4
ComboTabBar: Fix draggedTabRect returning rect of current instead of pressed index
8 years ago
David Rosca
b2de2a00f4
ComboTabBar: Fix tabPixmap with high-dpi
8 years ago
David Rosca
675bc0514f
WebPage: Force enable JavaScript for all non http/https urls
8 years ago
David Rosca
287631d37b
WebPage: Remove setJavaScriptEnabled method
8 years ago
David Rosca
6b90851d8c
DesktopNotifications: Set app icon to preview notification
...
Closes #1859
8 years ago
David Rosca
80eb072bb1
NavigationBarToolButton: Prevent down state flickering when showing popup
8 years ago
David Rosca
516bd92089
TabBar: Allow to change width of tabs using style sheets
...
It can be set in themes or in userChrome.css as in example.
/* userChrome.css */
TabBarTabMetrics
{
qproperty-normalMaxWidth: 250;
qproperty-normalMinWidth: 150;
qproperty-activeMinWidth: 150;
qproperty-overflowedWidth: 150;
qproperty-pinnedWidth: 35;
}
8 years ago
David Rosca
bfc3b0bf4a
Load userChrome.css Qt style sheet from profile directory
...
Allows to fine-tune interface without directly modifying themes.
8 years ago
David Rosca
95921692be
ComboTabBar: Apply padding adjustment to all tabs
8 years ago
David Rosca
e21e147bbb
NavigationBarConfigDialog: Fix restore to defaults action
8 years ago
David Rosca
21bd073482
TabBar: Increase drag start distance to not disturb tab moving
...
Also remove no longer needed timer to show add tab button.
8 years ago
David Rosca
23f84abc3b
NavigationBar: Correctly filter invalid layout ids
8 years ago
David Rosca
1f9599aac7
Add DownloadsButton to navigation toolbar
...
It is visible only when there are items in download manager and shows
number of active downloads in badge text.
8 years ago
David Rosca
0e41fd0785
AbstractButtonInterface: Add support for hiding tool button
8 years ago
David Rosca
238a06874d
AbstractButtonInterface: Allow delayed hide of popup
8 years ago
David Rosca
20374c8982
Remove breathe theme
...
It is no longer maintained.
8 years ago
David Rosca
3c6fa62557
Update theme descriptions
8 years ago
David Rosca
1595587945
ThemeManager: Set proper icon size for QListWidget
8 years ago
David Rosca
df632c7ced
NavigationBar: Only reload layout when settings changes
8 years ago
David Rosca
e33174100e
NavigationBar: Bring back exit fullscreen button
...
This time it is configurable and hidden by default.
8 years ago
David Rosca
a4738c8a3e
Hide tabbar base in Windows style
8 years ago
David Rosca
50d1bb6d96
ComboTabBar: Add possibility to change base color from stylesheets
8 years ago
David Rosca
c62b41d3d7
Fix tabbar buttons to have equal height as tabs in Windows theme
8 years ago
David Rosca
49ebfa3f5d
TabBar: Don't hide add tab button when moving tabs
8 years ago
David Rosca
68ed91c909
ComboTabBar: Block moving tabs outside of tabbar
8 years ago
David Rosca
26a2b55c24
ComboTabBar: Don't call QTabBar paintEvent implementation during drag
...
Implement udpating geometry of moving tab.
8 years ago
David Rosca
8ea8b56f27
ComboTabBar: Add draggedTabRect method
8 years ago
David Rosca
84c4f0ff4d
TabBar: Don't show context menu when dragging tab
...
Otherwise it breaks tabbar state.
8 years ago
David Rosca
78383c007e
TabBar: Always send mouse events to ComboTabBar
...
It needs every event to correctly update dragInProgress property.
8 years ago
David Rosca
4e988ac8f2
ComboTabBar: Fixes in drawing tabs with drag offset
...
m_dragInProgress is now only true when dragging tab, not during
the tab sliding to target position animation.
8 years ago
David Rosca
6a48f4d862
TabBar: Disable greying out not restored tabs
...
It doesn't really work with some themes and there doesn't seem
to be easy way to make the text always clearly visible.
8 years ago
David Rosca
7adda247dc
NavigationBar: Make sure search bar doesn't have null size in splitter
8 years ago
David Rosca
4f9c375ff1
Don't set fixed height for locationbar/websearchbar in Windows theme
...
Makes it possible to use arbitrary font size
8 years ago
David Rosca
26b0cd2d32
Linux theme improvements
8 years ago
David Rosca
670e06cbc6
Change back "Sidebars" -> "Sidebar"
8 years ago
David Rosca
4801721722
Use tabPadding property in Windows theme
8 years ago
David Rosca
4c7eaf0f9f
ComboTabBar: Add support for tabPadding property
...
Workarounds bug where tabs have zero padding when styled using style
sheets.
8 years ago
David Rosca
e617f3f6ec
ComboTabBar: Fix drop indicator position on last tab
8 years ago
David Rosca
679a5f0136
ComboTabBar: Also use our TabBarHelper drawing code when drag is in progress
8 years ago