1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
Commit Graph

15 Commits

Author SHA1 Message Date
Jimi Huotari
71d1fa6f24
refactor(themes): load css and images from themes folder
Original work by tox-user.

The default theme is now placed in a different path:
- C:\users\%username%\AppData\roaming\qtox\themes - for Windows
- ~/Library/Application Support/qtox/themes - for MacOS
- ~/.config/qtox/themes - for other Unix systems including GNU/Linux

Thanks to that it's no longer required to recompile the program to modify
the theme.

In addition to that the default theme is also included as a resource. If
the theme folder or some file inside it is missing, qTox will load it
from resource.
2018-10-24 14:04:03 +02:00
iphydf
4fa257bf66
refactor: Give ChatFormHeader an out-of-line destructor.
This makes the class more widely usable, since deallocating an object of
this class no longer needs to have the `CallConfirmWidget` definition
present. The header file forward-declares `CallConfirmWidget`, so it's
not a complete type if only `chatformheader.h` is included.
2018-07-19 21:17:24 +00:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
Pavel Karelin
f4fe343eca fix: Correct display the call confirm window (CallConfirmWidget)
With an incoming call, the confirmation window (CallConfirmWidget) is only displayed
when the caller is on the active tab. In other cases, the call confirmation window
is not displayed, as a result, the call cannot be answered.
The problem is manifested in Kubuntu 14.04 and Ubuntu 16.04 MATE (Qt 5.6.3/5.9.3)
2018-01-03 16:32:28 +03:00
Diadlo
1eb0c4af26
refactor: Add pure virtual methods for main actions in chat 2017-11-26 23:13:12 +03:00
Diadlo
e3bb4e735f
refactor: Move buttons style in ChatForm css 2017-11-26 23:13:12 +03:00
Diadlo
bf1c789fc1
refactor(style): Move chatFormHeader to chatForm 2017-11-26 23:13:12 +03:00
Diadlo
07ceb15e01
refactor: Move helper function in anonymus namespace 2017-11-14 21:24:36 +03:00
Diadlo
850e501acc
refactor: Use chatFormHead css 2017-11-14 21:24:35 +03:00
Diadlo
8c65aa6656
refactor: Extract button creation in function 2017-11-13 21:23:45 +03:00
Diadlo
0a58c2fa5b
refactor: Store buttons state and calculate style and tooltip 2017-11-10 14:08:03 +03:00
Diadlo
8aa372854f
refactor: Use repolish instead of setting same stylesheet 2017-11-10 14:08:03 +03:00
Diadlo
1f8a5619c8
refactor: Remove call type from callAccepted signal 2017-11-10 14:08:03 +03:00
Diadlo
7b893346f0
refactor: Use unique ptr for call confirm widget 2017-11-10 14:08:03 +03:00
Diadlo
ba1581005b
refactor: Extract head widget from GenericChatForm
Also fix #2749
2017-11-10 14:08:03 +03:00