Commit graph

206 commits

Author SHA1 Message Date
Roman Telezhynskyi 8a1eaa7292 Improve Option dialogs. Make them resizable as possible.
--HG--
branch : develop
2018-10-29 19:37:34 +02:00
Emmanuel Nyachoke 6d9105729f Added initial dark mode theme using https://github.com/ColinDuquesnoy/
QDarkStyleSheet

--HG--
branch : develop
2018-10-29 15:05:49 +03:00
Roman Telezhynskyi 63b1eb8068 Cppcheck warning 'missingOverride'.
--HG--
branch : develop
2018-06-26 15:53:48 +03:00
Roman Telezhynskyi f67af27c06 Fix language changing at runtime.
All two preferences dialogs have this issue.

--HG--
branch : develop
2018-05-18 13:51:35 +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 0e3a9533af Refactoring. Use C++11 range-based loop.
--HG--
branch : develop
2018-04-03 14:36:38 +03:00
Roman Telezhynskyi c1cea4c441 Clazy warnings.
--HG--
branch : develop
2018-03-14 15:39:15 +02:00
Roman Telezhynskyi a2c54fc7f3 Some dialogs should behave like windows on mac.
--HG--
branch : develop
2018-03-12 12:42:43 +02:00
Roman Telezhynskyi c56992407e Resolved issue #667. Check for updates - Test version.
--HG--
branch : develop
2018-02-06 13:38:05 +02:00
Roman Telezhynskyi 28044ff4c6 Improve search in Tape app. Provide search not only in selected measurement
description, but in all descriptions. ref #732.

--HG--
branch : develop
2018-02-03 12:45:16 +02:00
Roman Telezhynskyi 0cc551b786 Resolved issue #732. Tape app. Improve Database dialog.
--HG--
branch : develop
2018-01-23 13:08:20 +02:00
Roman Telezhynskyi 5c8c940f32 Refactoring. Backport QOverload template.
--HG--
branch : develop
2018-01-12 15:25:20 +02:00
Roman Telezhynskyi 61172d46c4 Fix typo in headers.
--HG--
branch : develop
2017-10-05 12:20:01 +03:00
Ronan Le Tiec 46f70788cf issue #654 refactoring the code so that the functions and variables are called xxx multisize xxx instead of xxx standard xxx
--HG--
branch : develop
2017-07-12 20:21:48 +02:00
Ronan Le Tiec 5b79acd2bb issue #654 tape : standard changed to multisize in the GUI
--HG--
branch : develop
2017-07-11 18:47:23 +02:00
Roman Telezhynskyi 1726b55339 GCC warnings.
--HG--
branch : develop
2017-07-05 19:35:34 +03:00
Roman Telezhynskyi 72ea1997fb Fixed issue #715. Build fails with Qt 5.9.1 / clang / macOS.
(grafted from d78ca13c4891ccf3542b0704a7d66af0f9b02938)

--HG--
branch : develop
2017-07-01 21:38:26 +03:00
Roman Telezhynskyi 3a4871fcd0 SonarQube warnings.
--HG--
branch : develop
2017-06-05 19:47:25 +03:00
Roman Telezhynskyi 7a9b2e34bd Changed default behaviour if path to multisize measurements or templates doesn't
exist.

If the path doesn't exist Valentina will create and return path to user
localized default folder.
(grafted from 722c37544c26fe3f406d222b7f344ddf7b3602a0)

--HG--
branch : develop
2017-06-05 17:52:42 +03:00
Roman Telezhynskyi bfd2620fad Next try to fix problem with tests.
Because different compilers and even different version from same vendor may
produce little bit different result this cause of test fails because it expect
too accurate result. We don't need such accuracy and can use variable
VGObject::accuracyPointOnLine to compare two points.

--HG--
branch : develop
2017-06-01 13:04:25 +03:00
Roman Telezhynskyi 7e064f80c5 Thrown away code for support Qt < 5.2.
--HG--
branch : develop
2017-05-30 19:52:38 +03:00
Roman Telezhynskyi 7225481091 Resolved issue #682. New feature. Export increments to Excel .csv.
--HG--
branch : develop
2017-05-12 15:09:19 +03:00
Roman Telezhynskyi fffd66ac53 Fix About Tape dialog width.
--HG--
branch : release
2017-04-18 14:35:31 +03:00
Roman Telezhynskyi cade111206 Refactoring Tape's preferences dialog.
Instead of manual declaring used Qt Designer.

--HG--
branch : release
2017-04-12 15:50:48 +03:00
Roman Telezhynskyi 3bf65edaa6 Merge with develop.
--HG--
branch : feature
2017-02-22 14:48:48 +02:00
Roman Telezhynskyi a4fd71f68c Refactoring. Merging identical cases.
--HG--
branch : develop
2017-02-22 14:15:16 +02:00
Roman Telezhynskyi 7b23e89237 Check pointer to prevent memory leak.
--HG--
branch : develop
2017-02-18 09:03:24 +02:00
Roman Telezhynskyi 5a0d9b0e00 Merge with develop.
--HG--
branch : feature
2017-02-17 20:38:45 +02:00
Roman Telezhynskyi 2f024db547 Resolved issue #611. Improve feature: Paths preferences.
--HG--
branch : develop
2017-02-17 20:37:49 +02:00
Roman Telezhynskyi a3d27bf9db Refacoring. Use marcos for getting current combobox data.
--HG--
branch : feature
2017-02-15 15:23:04 +02:00
Roman Telezhynskyi 1014cc86ca Resolved issue #612. Valentina crashes when network is disabled on Linux.
--HG--
branch : develop
2017-01-24 15:47:25 +02:00
Roman Telezhynskyi 86f4b21879 Instead of method QLocale::system() better to use the default constructor.
Usefull in case we will deside change default locale.

--HG--
branch : develop
2017-01-03 10:46:28 +02:00
Roman Telezhynskyi 731eb9ec89 Refactoring.
There is no automatic disconnection when the 'receiver' is destroyed because
it's a functor with no QObject. However, since 5.2 there is an overload which
adds a "context object". When that object is destroyed, the connection is
broken (the context is also used for the thread affinity: the lambda will be
called in the thread of the event loop of the object used as context).

--HG--
branch : develop
2016-12-21 20:45:14 +02:00
Roman Telezhynskyi 2d61b87256 Remove empty statement.
--HG--
branch : develop
2016-12-20 21:19:21 +02:00
Roman Telezhynskyi ffab000e0f Remove empty statement.
--HG--
branch : develop
2016-12-20 20:57:20 +02:00
Roman Telezhynskyi e881547999 Alwayse show locale "en_US" in the language list.
--HG--
branch : develop
2016-11-14 19:35:26 +02:00
Roman Telezhynskyi 5c821e331d Refactoring function MapDiagrams(). ref #576.
--HG--
branch : develop
2016-10-17 16:55:58 +03:00
Roman Telezhynskyi ddc34803a0 Fix issue with Config dialog Apply button.
In some cases the Apply or OK buttons will not save settings because of section
that was active in the moment of applying. For example made change in one
section, change to another and click Apply. The change will not be applied.

--HG--
branch : develop
2016-08-26 13:36:51 +03:00
Roman Telezhynskyi 23d9898154 Use QLocale::c() instead of QLocale(QLocale::C).
--HG--
branch : develop
2016-08-26 12:38:23 +03:00
Roman Telezhynskyi bfff8ccb96 Changes for returning support Qt 5.0 and GCC 4.6.
--HG--
branch : develop
2016-08-21 18:57:08 +03:00
Roman Telezhynskyi ce50203d57 Better code look.
--HG--
branch : develop
2016-07-19 20:51:12 +03:00
Roman Telezhynskyi 47f12c80f8 Refactoring. Use lambda for small slots. Move slots declaration in appropriate
place.

--HG--
branch : develop
2016-07-18 18:09:15 +03:00
Roman Telezhynskyi faae90363e Show button "Check For Updates" in dialogs about Valentina and Tape. Move
settings to common file.

--HG--
branch : feature
2016-07-15 13:14:48 +03:00
BojanKverh 24a7294a38 Made the preferences dialog in Tape look a bit better with resizeable left column
--HG--
branch : feature
2016-06-10 21:57:47 +02:00
BojanKverh 96b2d28604 Fixed issue #479. Improve feature: The Preferences dialog box in Valentina and Tape should be expandable.
--HG--
branch : feature
2016-06-10 21:34:21 +02:00
Roman Telezhynskyi e0bf6f11d1 Export to CSV. Added button "Restore Defaults".
--HG--
branch : develop
2016-06-01 17:21:03 +03:00
Roman Telezhynskyi 32d391c587 Resolved issue #409. New feature: Export measurement file to Excel .csv.
--HG--
branch : develop
2016-06-01 16:37:42 +03:00
Valentina Zhuravska cd9c6c99ae Resolved issue #473. Tape 'Preferences' cause loss of focus
--HG--
branch : develop
2016-05-03 23:16:57 +03:00
Roman Telezhynskyi 70fd0be830 Use Q_REQUIRED_RESULT where it make sense.
--HG--
branch : develop
2016-03-23 17:27:17 +02:00
Roman Telezhynskyi e2a53028de Resolved issue #421. Warning: unable to set geometry.
(grafted from 23e4638a28750016995eb44de649fcde69095bbd)

--HG--
branch : develop
2016-03-06 14:03:34 +02:00
Valentina Zhuravska eabbcb2e2b Little fix: correct retranslate osOptionCheck
--HG--
branch : feature
2016-01-06 08:11:51 +02:00
Valentina Zhuravska 31aee635e4 Little optimization: change 'cansel' to 'cancel'
--HG--
branch : feature
2016-01-06 08:05:41 +02:00
Roman Telezhynskyi 05ad1605e0 Fix size dialog about Tape.
--HG--
branch : develop
2015-12-14 21:58:40 +02:00
Roman Telezhynskyi 88d22ee3dd Fixed incorrect string place markers.
--HG--
branch : develop
2015-12-14 13:06:04 +02:00
Roman Telezhynskyi e8a93ddc2b New setting "Default height and size".
--HG--
branch : develop
2015-12-12 13:11:39 +02:00
Roman Telezhynskyi 8506afc056 Optimization tape config dialog for Mac OS.
--HG--
branch : develop
2015-12-02 17:05:30 +02:00
Roman Telezhynskyi cf4e313862 Optimization dialogs for Mac OS.
--HG--
branch : develop
2015-12-01 20:12:40 +02:00
Roman Telezhynskyi d24390bd98 Set of fixes for better look on Mac OS X.
--HG--
branch : develop
2015-12-01 16:38:09 +02:00
Roman Telezhynskyi 7611940c40 Copy paste mistake.
--HG--
branch : develop
2015-11-28 21:31:21 +02:00
Roman Telezhynskyi 40fc6bea54 Backward compatibility with <= Qt 5.1.
--HG--
branch : develop
2015-11-28 21:04:51 +02:00
Roman Telezhynskyi 9ce9f45cd3 Fixate size of the Tape 'Config dialog' only after first show.
--HG--
branch : develop
2015-11-18 11:03:19 +02:00
Roman Telezhynskyi cdec047f58 Very often case in Mac OS is to have translations inside an app bundle. And
searching these files require iterate through subdirectories.

--HG--
branch : develop
2015-11-17 16:20:36 +02:00
Roman Telezhynskyi 089e667f48 Scale diagrams according to screen resolution.
--HG--
branch : develop
2015-11-15 17:48:48 +02:00
Roman Telezhynskyi b28cc36188 Tape.exe. New option "Check all/Uncheck all".
--HG--
branch : develop
2015-11-12 12:47:00 +02:00
Roman Telezhynskyi 912d1f91f6 Disable changing window size only after first show.
--HG--
branch : develop
2015-11-05 15:01:33 +02:00
Roman Telezhynskyi 9ffeeec298 Three new languages: English (Canada), English (India), Romanian (Romania).
--HG--
branch : develop
2015-10-30 12:44:10 +02:00
Roman Telezhynskyi cb8bc39e8c Resolved issue #380.
--HG--
branch : develop
2015-10-29 18:20:59 +02:00
Roman Telezhynskyi 88324a11f2 Static Code Analysis.
--HG--
branch : develop
2015-10-28 16:22:36 +02:00
Roman Telezhynskyi 467ffbd132 ICC warnings.
--HG--
branch : develop
2015-10-20 17:32:01 +03:00
Roman Telezhynskyi 65d2213ef9 Coverity scan missing includes.
--HG--
branch : develop
2015-10-18 22:30:51 +03:00
Valentina Zhuravska 66a7581bbb Erased unwanted row in pathTable
--HG--
branch : feature
2015-10-18 16:25:39 +03:00
Roman Telezhynskyi ff768c1c0f Show pattern making system in tab Information of a measurement file.
--HG--
branch : develop
2015-10-16 20:26:05 +03:00
Roman Telezhynskyi be398bae93 cppcheck.
--HG--
branch : develop
2015-10-12 14:52:48 +03:00
Roman Telezhynskyi b3a7063a9b GCC warnings.
--HG--
branch : develop
2015-10-09 20:26:53 +03:00
Valentina Zhuravska a233923587 Fixed build problem on Win
--HG--
branch : develop
2015-10-09 14:17:24 +03:00
Roman Telezhynskyi daa9f9fbea Show tooltip "author name" and "book name".
--HG--
branch : develop
2015-10-08 18:21:12 +03:00
Roman Telezhynskyi 85d088179b Fixed bug with resizing QListWidget (black space).
--HG--
branch : develop
2015-10-08 18:20:01 +03:00
Roman Telezhynskyi 0e5cb30801 Context menu "Collapse All" and "Expand All".
--HG--
branch : develop
2015-10-08 16:20:07 +03:00
Roman Telezhynskyi 7649ac5f6f Expend by default all groups.
--HG--
branch : develop
2015-10-08 14:10:56 +03:00
Roman Telezhynskyi 6533579b52 Measurement database keyboard navigation.
--HG--
branch : develop
2015-10-08 13:59:24 +03:00
Roman Telezhynskyi bda38a978f * The default option (blank field or 'None') should appear at the top of the
list.
* The list should be sorted alphabetically so users can find their system
easily.
* 'None' would be in the middle of an alphabetically sorted list.

--HG--
branch : develop
2015-10-07 21:09:50 +03:00
Roman Telezhynskyi 94f86f136e New pattern making system 'None' with code p998.
--HG--
branch : develop
2015-10-07 20:57:18 +03:00
Roman Telezhynskyi 0b57b8821a Show error message box only through message handler.
--HG--
branch : develop
2015-10-01 17:59:01 +03:00
Roman Telezhynskyi f6b6a0bc36 Second try to close issue #373.
--HG--
branch : develop
2015-09-29 21:56:46 +03:00
Roman Telezhynskyi 96f1f63fa4 Fixed issue #373. Incorrect groupnames in Tape.exe, 'Add Known'.
--HG--
branch : develop
2015-09-25 11:16:25 +03:00
Roman Telezhynskyi 4f296d46d7 Updated diagrams.
--HG--
branch : feature
2015-09-22 12:11:52 +03:00
Roman Telezhynskyi b5c6bf8260 Command option for setting a locale.
--HG--
branch : develop
2015-09-19 22:58:32 +03:00
Roman Telezhynskyi 3d297d657c Fixed crash after retranslation UI.
--HG--
branch : develop
2015-09-03 13:31:23 +03:00
Roman Telezhynskyi 9a5fa4b026 Updated diagrams.
--HG--
branch : develop
2015-09-03 11:58:34 +03:00
Roman Telezhynskyi 336dee5454 Remove section Standard.
--HG--
branch : feature
2015-08-08 18:34:09 +03:00
Roman Telezhynskyi 8c79d8fa6b Refactoring.
--HG--
branch : feature
2015-08-08 18:30:15 +03:00
Roman Telezhynskyi ed38ffef38 Retranslate GUI.
--HG--
branch : feature
2015-08-08 17:33:37 +03:00
Roman Telezhynskyi e8577487b1 Dialog Preferences.
--HG--
branch : feature
2015-08-02 18:27:18 +03:00
Roman Telezhynskyi 6e6b040b60 Lock file. Save windows geometry.
--HG--
branch : feature
2015-08-01 20:09:10 +03:00
Roman Telezhynskyi d9ca57d550 Changed default size the dialog Database.
--HG--
branch : feature
2015-08-01 17:39:08 +03:00
Roman Telezhynskyi 78329af822 Show measurement database.
--HG--
branch : feature
2015-08-01 16:56:37 +03:00
Roman Telezhynskyi 5615817334 Disable unchecking a section if all child in the list. Backgroud color show
sections and measurements in the list.

--HG--
branch : feature
2015-08-01 15:22:24 +03:00
Roman Telezhynskyi 925805a5e3 Show ToolTip.
--HG--
branch : feature
2015-08-01 14:44:41 +03:00
Roman Telezhynskyi dcbfc2240d Return selected names. Add them to the table.
--HG--
branch : feature
2015-08-01 14:25:05 +03:00
Roman Telezhynskyi e5a73a0dec Clear if was selected section instead of a measurement.
--HG--
branch : feature
2015-08-01 13:12:03 +03:00
Roman Telezhynskyi e5c74c7866 Database window.
--HG--
branch : feature
2015-08-01 12:39:32 +03:00
Roman Telezhynskyi 5fa0badfc1 Calling dialog for creation an expression.
--HG--
branch : feature
2015-07-24 15:06:53 +03:00
Roman Telezhynskyi 5ba6d62d94 Save basic information in file.
--HG--
branch : feature
2015-07-18 14:08:44 +03:00
Roman Telezhynskyi 58d1cf5fdd Open new window if file was created.
--HG--
branch : feature
2015-07-15 10:16:59 +03:00
Roman Telezhynskyi 11ef76d0ae Show new empty table.
--HG--
branch : feature
2015-07-13 13:48:29 +03:00
Roman Telezhynskyi 47c5a2dc99 Dialog about app.
--HG--
branch : feature
2015-07-12 20:38:30 +03:00