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

190 Commits

Author SHA1 Message Date
sudden6
c6a197feca
refactor: re-format and cleanup 2018-11-14 13:58:24 +01:00
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
52a5951d26
chore: Use nullptr instead of 0 for NULL pointer constants. 2018-09-07 21:38:59 +00:00
Diadlo
059d0120be
refactor: Add FriendChatroom (model to FriendWidget) 2018-07-12 15:32:35 +03:00
ezavod
4434253283
refactor(chatform): consistent usage of file dialogs
This makes the usage of QFileDialogs consistent by using he native
file picker in all cases. Also makes the usage of the last location
consistent. Furthermore this removes default parameter values and uses
Q_NULLPTR.
2018-05-29 12:51:50 +02:00
Anthony Bilinski
5dc4e6de81
chore(legal): update copyright date to 2018 for all source files 2018-04-25 17:33:38 -07:00
DESKTOP-Z50-70\Arman
ebdc675cbc fix(chattextedit): ChatTextEdit bug fix for issue #5020 Corrected 2018-03-21 12:39:17 +04:00
Diadlo
95f150e5f9
refactor: Move action handlers to slots 2018-02-11 12:12:07 +03:00
Pavel Karelin
6d14f09001 chore: Elide text for CallConfirmWidget 2018-01-09 16:41:40 +03:00
Diadlo
3c8bf628bd
refactor(callconfirm): Remove unused friend parameter 2017-10-26 16:59:26 +03:00
sudden6
61b36d1bce
feat(identicon): add algorithm to create identicons
ported from https://github.com/sudden6/rust-identicon/blob/master/src/lib.rs
but slightly changed the algorithm
2017-10-06 23:57:51 +02:00
anthony.bilinski
5fed37365f feat(paste): Implement pasting images from clipboard
Fixes #1290
2017-09-19 09:56:34 -07:00
Diadlo
017653470d
refactor: Move friend and group in model directory 2017-08-06 13:55:02 +03:00
Andrew Morgan
42a9534b24
fix(ui): Use native file picker dialog
The original reason that the Qt picker was used instead of the native
picker was that the native option would cause Nautilus/GNOME-based
pickers to hang.

This turned out to be due with a Qt bug with parenting Gtk windows. As a
result the parent of each file dialog window has been set to NULL,
eliminating the crash. As far as tests have shown, this produces no
adverse effects on either floating or tiling wms.

Fixes #3494
2017-07-06 06:40:33 -07:00
Diadlo
dd9b324ec3
chore(qt): Remove old qt code 2017-06-26 23:06:55 +03:00
Diadlo
d77cb084d6
refactor: Remove unused MicFeedback widget 2017-05-08 22:11:41 +03:00
Zetok Zalbavar
80f5de31b3
style: reformat current C++ codebase using clang-format 2017-02-26 11:52:45 +00:00
Diadlo
fcd8eed7cd
style: Fix style of a lot of pointers 2017-01-06 23:03:58 +03:00
Zetok Zalbavar
d4ac13dbf4
revert: "refactor: Added to include path and exclude it from all includes"
Revert needed, since otherwise there is no way to do automatic sorting
of includes.
Also reverted change to the docs, as leaving it would make incorrect
docs.

In case of conflicts, includes were sorted according to the coding
standards from #3839.

This reverts commit b4a9f04f92.
This reverts commit 5921122960.
2016-12-29 16:10:53 +00:00
Nils Fenner
917812daaa
fix: Status reflection for friend calls 2016-12-01 08:55:13 +03:00
Zetok Zalbavar
7b60a5dd36
chore: explicitly mention that copyright belongs to qTox contributors 2016-11-29 11:12:06 +00:00
Diadlo
b4a9f04f92
refactor: Added to include path and exclude it from all includes 2016-11-28 23:28:42 +03:00
Diadlo
f5f7b5abba
fix(i18n): Remove HTML tags from translation 2016-10-09 00:32:24 +03:00
sudden6
c8bde5bc45
fix(i18n): remove HTML from translations
fixes #3781
2016-10-07 23:23:33 +02:00
Diadlo
da9366c70d
refactor: Removed HTML tags from translation
Fixed #2985.
2016-09-11 13:21:04 +03:00
Diadlo
a130a60e9a
fix: Fixed crash on profile import
Fixed #3660. Removed using of GUI class in Profile Importer. Because, it
cannot be used before Nexus instance will be created. As result, it
provide crash in some cases.
2016-08-31 11:47:30 +03:00
Diadlo
902828fcc2
docs(persistence): Added leading stars 2016-08-19 00:20:23 +03:00
initramfs
ef157ca8af
fix(video): fix scaling issues under HiDPI displays with desktop video
This commit fixes missing scaling factors with desktop video to allow
desktop video under HiDPI scaling to work as intended. Also removes a
few obsolete lines of scaling that that was required for older Qt
versions.
2016-08-16 14:27:56 +08:00
Zetok Zalbavar
79c249be55
fix: use qAbs() instead of abs() for better platform compatibility
Apparently FreeBSD doesn't include by default `stdlib.h` that provides
`abs()`.

Fix suggested by @antis81.

Fixes #3613.
2016-08-15 23:27:44 +01:00
Diadlo
8bc3c3c8d2
fix: Added forgotten return statement 2016-08-02 03:17:45 +03:00
Diadlo
47cc252f76
refactor(toxsave, profileimporter): Removed code duplication 2016-08-01 22:35:25 +03:00
Diadlo
df7bf32072
refactor(profileimporter): Removed extra spaces 2016-08-01 12:22:52 +03:00
Diadlo
58ea0afed1
fix(toxsave, profileimporter): Added remove function call before overwrite file
Fix #3558.
2016-08-01 12:22:52 +03:00
Diadlo
1552bfb114
docs(widget): Change comment style 2016-07-27 23:39:18 +03:00
Nils Fenner
780a017928 fix(screen-grabber): fix crash 2016-07-21 10:49:50 +02:00
Nils Fenner
da94b4b83f
refactor(avform): fixed type conversion warnings and coding style 2016-07-20 23:49:12 +02:00
Diadlo
76f694fe73
style(widget): Style fixes 2016-07-13 01:54:30 +03:00
sudden6
e97a870c0f
Merge pull request #3392
Diadlo (12):
      refactor(avform): Extracted functions with best mode search and combo box filling
      refactor(avform): Replace `bestModeInds` on videoMode index and video height as quality name
      refactor(avform): Separeted search of preferred index in function
      fix(avform): Took default resolution from middle of list
      feat(videomode): Added possible video shift
      feat(cameradevice, avform): Added ability of screen selection
      feat(avform, screenshotgrabber): Added custom screen region selection
      style(corevideosource): Small style fixes
      fix(videoframe): Added correct image copy
      fix(avform): Added restoring selected region
      feat(camerasource): Change default video mode to preferred
      fix(directshow): Fixed problem with crosses initialization
2016-07-12 19:56:41 +02:00
Andrew Morgan
881409b91f
fix(profile): Fix for opening file dialog using Nautilus file manager
Importing a profile, saving a QR code image or setting an auto-accept directory using Nautilus as the default file manager, which many users use, was causing a hang in Qt's  method. Setting Qt to use it's own file manager in this circumstance fixes the issue. Closes #3436, closes #3443.
2016-07-02 15:17:02 -07:00
Diadlo
bf7c62d6fa
fix(chatform, screenshotgrabber): Fixed memory leak
Memory for ScreenshotGrabber was allocated, but don't deallocated
2016-06-30 14:45:47 +03:00
Diadlo
9cfd678c26
feat(avform, screenshotgrabber): Added custom screen region selection 2016-06-25 14:20:13 +03:00
Vincas Dargis
70fc247b70 fix(chattextedit.cpp): fix drag-and-drop to be consistent across systems
Add explicit setAcceptDrops(false) to allow parent widget to handle
drag-and-drops consistently across various desktop environments.

Closes: #2847
2016-06-24 20:26:45 +03:00
sudden6
5045c460d7
Merge pull request #3199
PKEv (1):
      feat(importProfile): Add way to import profile
2016-04-25 21:09:28 +02:00
PKEv
9ea25d1fbd feat(importProfile): Add way to import profile
close  #1872
change based on pr #2140 by @agilob
2016-04-25 21:12:31 +03:00
PKEv
d0ea5bb4fd feat(emoticonswidget):Keep emoticon option open
Emoticon dialog remains open, and the selected emoticon is pasted into the text window
close #3043
2016-04-25 02:09:12 +03:00
Polshakov Dmitry
343568339f
style(constructors): Constructors are explicit now 2016-04-20 22:53:27 +03:00
Polshakov Dmitry
27faec918a
fix(genericchatitemwidget, micfeedbackwidget): Added members init in the constructor 2016-04-20 22:53:27 +03:00
initramfs
a36248b501
fix(screenshot): incorrect screenshot capture resolution under HiDPI
Resolves the issue where a crop of the full desktop resolution is used
instead of the full resolution when desktop is subjected to DPI-scaling
2016-04-12 15:44:16 -04:00
tux3
3fbf447174
Merge branch 'pr2959' 2016-03-12 01:01:30 +01:00
Michał Šrajer
638a5f822f obey the coding style rules 2016-02-28 18:32:17 +01:00