Commit graph

251 commits

Author SHA1 Message Date
Roman Telezhynskyi 475bdadf9b Fix link to project repo in license header. 2020-01-31 08:02:08 +02:00
Roman Telezhynskyi 7e3c7e0f88 Refactoring. Hide compatibility layer behind a function.
toSet(), toList(), swapItemsAt().

--HG--
branch : develop
2020-01-16 19:09:23 +02:00
Roman Telezhynskyi 1f6285aef9 Fix deprecation warnings.
(grafted from 686129d90f37b8d0c428092668673d44f06545d8)

--HG--
branch : develop
2020-01-06 20:10:09 +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 7c03d366e4 Fix confusion. Current size and height should provide infomation about
measurements units.

--HG--
branch : develop
2019-09-07 10:42:09 +03:00
Roman Telezhynskyi cefb4f7474 Fix setting current height and size. We should follow information Valentina
passes us.

--HG--
branch : develop
2019-09-07 10:36:53 +03:00
Roman Telezhynskyi 93910a2130 Improve for recent files list. Show duplicate file names with unique path
section.

--HG--
branch : develop
2019-09-06 22:18:18 +03:00
Roman Telezhynskyi 503e31aee0 Fix error: 'currentIndexChanged' is deprecated: Use currentTextChanged()
instead.

--HG--
branch : develop
2019-07-24 16:45:22 +03:00
Roman Telezhynskyi 8f961300e6 Basic structure for new class VPatternRecipe.
--HG--
branch : feature
2019-07-10 12:42:37 +03:00
Roman Telezhynskyi 16975ec6b9 Refactoring. Another case for QScopeGuard.
--HG--
branch : develop
2019-07-04 17:32:58 +03:00
Roman Telezhynskyi 2ac4267dd3 Fix locking file after double save as.
(grafted from 4828cd4acfa596166fe4c8a32f505045b86cab9c)

--HG--
branch : develop
2019-07-04 17:13:33 +03:00
Roman Telezhynskyi 2c8539a30d Fixed issue #956. Setting pattern unit doesn't change combobox value in Tape
app.
(grafted from 591df5032a71d33d0f17242bebc2d128f9e27d99)

--HG--
branch : develop
2019-03-14 11:53:08 +02:00
Roman Telezhynskyi e6f7d3efd1 Lupdate.
--HG--
branch : develop
2019-01-21 09:28:15 +02:00
Roman Telezhynskyi a810e524ca Fixing regression. List of recent files in Tape were missed.
--HG--
branch : develop
2019-01-15 11:21:35 +02:00
Roman Telezhynskyi 4cf819fff3 Fixing Wclazy-qstring-allocations warning.
--HG--
branch : develop
2019-01-15 10:52:43 +02:00
Wren Turkal 74c95ebb17 Set measurement diagram correctly.
When all the known measurements are removed, that should probably make
the measurement diagram show the unknown measurement message.

--HG--
branch : develop
2019-01-15 00:43:18 -08:00
Roman Telezhynskyi c142cb4b85 Some improvements after move the measurement diagram action to the ui file.
There is no harm to make it enabled from the start. Plus closing the dock widget
must uncheck the action.

--HG--
branch : develop
2019-01-15 09:53:23 +02:00
Wren Turkal a190fcaea2 Move the measurement diagram action to the ui file.
--HG--
branch : develop
2019-01-14 22:21:31 -08:00
Roman Telezhynskyi ba08ed4d1d Refactoring. Fixing static analyzers warnings.
--HG--
branch : develop
2019-01-06 13:29:57 +02:00
Wren Turkal 42b00c5c58 Fix the tape app importing of measurments from a pattern
When importing measurements from a pattern in the tape app, it
defaulted to the templates directory instead of the patterns
directory. The patterns directory was set as a setting in the
valentina settings (VSettings) instead of the common settings
(VCommonSettings). I refactored the the setting into the
VCommonSettings and made the tape app use the setting. I was
able to confirm that setting a new pattern directory resulted
in the same pattern directory being used in both Valentina and
tape.

--HG--
branch : develop
2019-01-05 16:46:31 -08:00
Roman Telezhynskyi 5004c12342 Seepd up pattern file validation making it parallel.
--HG--
branch : develop
2018-11-18 09:52:08 +02:00
Roman Telezhynskyi db478562ee Fixed issue #885. Regression. Broken support for multi size measurements.
(grafted from 1a0becf32c00518f126cd0e7325c0eb2bbdcc18e)

--HG--
branch : develop
2018-10-12 13:06:03 +03:00
Roman Telezhynskyi 60b323cf8e Fixed issue #882. VContainer class doesn't support multi document mode.
--HG--
branch : release
2018-09-18 16:38:16 +03:00
Roman Telezhynskyi 8a3d50520f Added status check for settings read/write operations.
--HG--
branch : release
2018-09-09 12:39:19 +03:00
Roman Telezhynskyi ed5ac37256 Fix potential crash.
--HG--
branch : develop
2018-08-02 15:03:15 +03:00
Roman Telezhynskyi e1cfe78077 Fix memory leak.
--HG--
branch : develop
2018-08-02 13:48:48 +03:00
Roman Telezhynskyi 2453758735 Fix mistake in name.
--HG--
branch : develop
2018-08-01 19:25:36 +03:00
Roman Telezhynskyi ee6ffab480 Bug QTBUG-43344 was fixed in Qt 5.11.1.
--HG--
branch : develop
2018-04-27 16:32:26 +03:00
Roman Telezhynskyi ab59a76bbb String optimization. Replace string " " with signe QChar.
--HG--
branch : develop
2018-04-22 18:39:56 +03:00
Roman Telezhynskyi e7ca9294cf Refactoring. Use QChar instead of QString where possible.
Point and comma.

--HG--
branch : develop
2018-04-13 09:14:55 +03:00
Roman Telezhynskyi e26fcb05b8 Fix typo.
--HG--
branch : develop
2018-04-13 08:43:44 +03:00
Roman Telezhynskyi 3970bbdbc0 Refactoring. Use QChar instead of QString where possible.
--HG--
branch : develop
2018-04-12 13:13:19 +03:00
Roman Telezhynskyi 64029c249a Refactoring. Added special section for string literals.
--HG--
branch : develop
2018-04-08 19:45:23 +03:00
Ronan Le Tiec 2f4d699cb6 merge with incoming
--HG--
branch : develop
2018-04-06 23:11:20 +02:00
Ronan Le Tiec f09adc22ab resolves #826 code refactoring and corrections
--HG--
branch : develop
2018-04-06 23:08:09 +02:00
Ronan Le Tiec a56c41589c Merged dismine/valentina into develop
--HG--
branch : develop
2018-04-06 21:58:09 +02:00
Roman Telezhynskyi d8c3a0ac81 Use native dialog on all platforms except Linux.
We have a bug with native dialog on Linux that's why we cannot use it.

--HG--
branch : develop
2018-04-04 08:34:48 +03:00
Roman Telezhynskyi c6e7590034 Fix MacOS regression QWidget::closeEvent called twice.
--HG--
branch : develop
2018-04-03 17:41:39 +03:00
Roman Telezhynskyi 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi 3252130f36 Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-02 20:38:56 +03:00
Roman Telezhynskyi fe5a58beef Fix unused lambda capture.
--HG--
branch : develop
2018-04-02 16:43:02 +03:00
Ronan Le Tiec d3da522ac4 issue 826 undo and redo adding or removing item from group finished
--HG--
branch : feature
2018-04-01 23:36:54 +02:00
Roman Telezhynskyi 6a7405b4d4 Refactoring. Use QString default constructor instead of empty string.
--HG--
branch : develop
2018-03-14 16:01:24 +02:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi 5bb90ab92d Force repain to fix paint artifacts on Mac OS X.
--HG--
branch : develop
2018-03-10 17:24:16 +02:00
Roman Telezhynskyi 543042004a Imported file must not contain the same name twice. ref #804.
--HG--
branch : develop
2018-02-07 11:00:25 +02:00
Roman Telezhynskyi 7fedd20319 Fix some bugs and add preview table. ref #804.
--HG--
branch : develop
2018-02-06 15:46:20 +02:00
Roman Telezhynskyi e56423905d Ignore full name and description for known measurements. ref #804.
--HG--
branch : develop
2018-02-05 11:10:55 +02:00
Roman Telezhynskyi cd1ebf434a Resolved issue #804. New feature. Import measurements from CSV file in Tape app.
--HG--
branch : develop
2018-01-31 14:34:50 +02:00
Roman Telezhynskyi 90fe5d379e Fix Export to CSV bug. Header have wrong title.
--HG--
branch : develop
2018-01-31 14:31:34 +02:00