Commit Graph

6479 Commits

Author SHA1 Message Date
Roman Telezhynskyi
84001dac61 Refactoring. Added move constructor.
--HG--
branch : develop
2019-12-30 17:13:18 +02:00
Roman Telezhynskyi
54cb9fe0fb Fix move semantic.
New class.

--HG--
branch : develop
2019-12-30 14:48:27 +02:00
Roman Telezhynskyi
74bb3e4369 Fix move sematic.
(grafted from fb8691f522f3515d7c3014a0ea90b60b352a444e)

--HG--
branch : develop
2019-12-30 13:00:57 +02:00
Roman Telezhynskyi
6fc51d83b0 Improve ergonomic. Allow a user to define both text and image, and control
which will of them be active.

--HG--
branch : develop
2019-12-30 14:43:06 +02:00
Roman Telezhynskyi
d0dc209c45 error: implicit conversion changes signedness: 'quint32' (aka 'unsigned int')
to 'int'.

--HG--
branch : develop
2019-12-29 17:13:30 +02:00
Roman Telezhynskyi
f83f28998f error: implicit instantiation of undefined template 'QVector<TextLine>'.
--HG--
branch : develop
2019-12-29 16:23:15 +02:00
Roman Telezhynskyi
5f6b17fc9d error: 'VWatermarkData' defined as a struct here but previously declared as a
class.

--HG--
branch : develop
2019-12-29 16:00:06 +02:00
Roman Telezhynskyi
08b58c2518 Code style.
--HG--
branch : develop
2019-12-29 15:59:48 +02:00
Roman Telezhynskyi
b7829428c9 Beside usage similar to that of English, the colon has other functions. Several
compatibility forms for Chinese and Japanese typography are encoded in Unicode.
(grafted from 065a26d8b5779ca5c8c2486509352c8c48190a33)

--HG--
branch : develop
2019-12-29 14:37:46 +02:00
Roman Telezhynskyi
fd0ce82913 Lupdate.
--HG--
branch : develop
2019-12-29 14:36:45 +02:00
Roman Telezhynskyi
3c74c03c59 Fix crash after uniting three pieces in sequence.
(grafted from 7f649df048328d449e1de01794d238eeef0c39be)

--HG--
branch : develop
2019-12-29 13:49:57 +02:00
Roman Telezhynskyi
9e7cf5c55c error: 'static bool QPixmapCache::find(const QString&, QPixmap&)' is
deprecated: Use bool find(const QString &, QPixmap *) instead.

--HG--
branch : develop
2019-12-29 11:06:34 +02:00
Roman Telezhynskyi
9aa0e2ed52 Cppcheck warning.
--HG--
branch : develop
2019-12-28 18:18:31 +02:00
Roman Telezhynskyi
15852ed2cd Add missing icon in Windows icon theme.
--HG--
branch : develop
2019-12-28 18:06:06 +02:00
Roman Telezhynskyi
1d7667df61 Export tiled PDF with watermark.
--HG--
branch : develop
2019-12-13 10:51:29 +02:00
Roman Telezhynskyi
41c3ddf5db ${TARGET} variable works differently for shared libraries.
--HG--
branch : develop
2019-12-22 12:44:43 +02:00
Roman Telezhynskyi
888a968056 Refactoring. Remove unneeded conditions.
--HG--
branch : develop
2019-12-22 11:48:42 +02:00
Roman Telezhynskyi
cadf6ecb3b Fix path bin file.
--HG--
branch : develop
2019-12-22 11:47:54 +02:00
Roman Telezhynskyi
7fd1674a81 Added a ruler at the bottom of a tiled PDF document.
--HG--
branch : develop
2019-12-08 14:43:26 +02:00
Andrey Ushakov
bc26d545d1 add rule in page bottom
--HG--
branch : develop
2019-12-08 00:18:44 +03:00
Andrey Ushakov
82bad42a3c log layout efficiency to console
--HG--
branch : develop
2019-12-08 00:18:00 +03:00
Roman Telezhynskyi
1c6ff72b23 Removed hard coded font value. Kept only its bold status.
--HG--
branch : develop
2019-12-07 08:58:12 +02:00
Roman Telezhynskyi
34c49f3323 Clazy warning.
--HG--
branch : develop
2019-12-07 08:55:52 +02:00
Roman Telezhynskyi
c87a15b99c Improve working with measurements in Tape.
* Disable remove button if a table is empty.
* Switch to previous measurement if remove the last in the list.

--HG--
branch : develop
2019-12-05 10:27:33 +02:00
Roman Telezhynskyi
43f7d7d733 Lupdate.
--HG--
branch : develop
2019-12-04 20:25:16 +02:00
Roman Telezhynskyi
5c7af760d0 Improve Passmark tab by adding a tooltip about a way to define a passmark.
--HG--
branch : develop
2019-12-04 17:50:50 +02:00
Roman Telezhynskyi
eeedebbac3 Fix regression in dialog Placelabel.
--HG--
branch : develop
2019-12-03 15:20:47 +02:00
Roman Telezhynskyi
60fabf0b71 Lupdate.
--HG--
branch : develop
2019-12-02 12:08:42 +02:00
Roman Telezhynskyi
80418045b0 Fix build on Windows.
--HG--
branch : develop
2019-11-29 21:16:37 +02:00
Roman Telezhynskyi
3c69b425ec Fix noDebugSymbols.
--HG--
branch : develop
2019-11-29 19:55:27 +02:00
Roman Telezhynskyi
43d57afc77 Final configuration to build an AppImage.
--HG--
branch : develop
2019-11-29 15:15:10 +02:00
Roman Telezhynskyi
c614e72064 Add packages to resolve build on CentOS.
--HG--
branch : develop
2019-11-29 15:06:39 +02:00
Roman Telezhynskyi
037ca99280 Refactoring. Move the code that gets path to exe file to separate module. DRY.
--HG--
branch : develop
2019-11-29 14:40:00 +02:00
Roman Telezhynskyi
18284289a0 Forgot to add a correction.
--HG--
branch : develop
2019-11-29 12:24:00 +02:00
Roman Telezhynskyi
7624b27409 BinReloc to get path to exe directory.
--HG--
branch : develop
2019-11-29 11:40:00 +02:00
Roman Telezhynskyi
df79ea7395 Test idea that Qt classes internally use ICU.
--HG--
branch : develop
2019-11-29 08:49:32 +02:00
Roman Telezhynskyi
1d28dd5be9 u_setDataDirectory expects const * char.
--HG--
branch : develop
2019-11-29 08:15:29 +02:00
Roman Telezhynskyi
002f86b1a8 Move SetICUData on top.
--HG--
branch : develop
2019-11-28 19:00:23 +02:00
Roman Telezhynskyi
5ca33d5b3f Lupdate.
--HG--
branch : develop
2019-11-28 18:09:37 +02:00
Roman Telezhynskyi
50b929ea48 u_setDataDirectory to define path to ICU data.
--HG--
branch : develop
2019-11-28 16:42:06 +02:00
Roman Telezhynskyi
866a801f38 Auto refresh the list with each parse.
--HG--
branch : develop
2019-11-28 15:17:27 +02:00
Roman Telezhynskyi
0c78511cfc Set environment variable ICU_DATA on runtime.
This time before QApplication and manually getting the application dir path.

--HG--
branch : develop
2019-11-26 19:56:40 +02:00
Roman Telezhynskyi
f81d814bb2 QCoreApplication::applicationDirPath returns empty string until we do not init
QApplication instance.

--HG--
branch : develop
2019-11-26 16:44:52 +02:00
Roman Telezhynskyi
b724210bf9 Debug ICU_DATA environment variable.
--HG--
branch : develop
2019-11-26 15:35:43 +02:00
Roman Telezhynskyi
3b56659226 Set environment variable ICU_DATA on runtime.
When deploying with AppImage based on OpenSuse, the ICU library has a
hardcoded path to the icudt*.dat file. This prevents the library from using
shared in memory data. There are few ways to resolve this issue. According to
documentation we can either use ICU_DATA environment variable or the function
u_setDataDirectory().

--HG--
branch : develop
2019-11-26 12:57:06 +02:00
Roman Telezhynskyi
a59f4d7923 Fix crash when QTextCodec::codecForMib returns null.
--HG--
branch : develop
2019-11-25 11:34:17 +02:00
Roman Telezhynskyi
9cc97ef602 Clazy warnings.
--HG--
branch : develop
2019-11-24 13:09:30 +02:00
Roman Telezhynskyi
1217616813 Refactoring.
Pass VContainer::AddVariable only a variable, the variable already knows its
name.

--HG--
branch : develop
2019-11-24 13:09:16 +02:00
Roman Telezhynskyi
2d63440549 Fix a crash. ref #984.
Cover cases with VCubicBezier and VCubicBezierPath.

--HG--
branch : develop
2019-11-24 12:49:40 +02:00
Roman Telezhynskyi
9e25e6de24 Introducing vRound function.
Shortcut to round double to X points decimal.

--HG--
branch : develop
2019-11-19 15:46:11 +02:00