14 Commits

Author SHA1 Message Date
sgourdas
1f7795112b Monitor path setting QOL improvements 2024-07-19 13:15:00 +02:00
sgourdas
418309336a Download path setting QOL improvements
Download path shown in settings now has a tooltip, truncation and copy functionalities
2024-06-25 11:18:16 +03:00
Nikhil Tanwar
0f24892294 New settings entry: Move files to trash
Added a new settings entry to toggle if deleted files should move to trash/recycle bin.
2023-08-11 22:04:52 +05:30
Nikhil Tanwar
cea8c2656d Remove padding from QSpinbox
This removes an explicit padding from QSpinbox. QSpinbox will now have the default padding (if any) for QSpinbox.
Helps the text to not disappear at some systems/configurations
To keep the previous design changes QLabel padding to 12px (top and bottom) and 8px (right and left)
2022-02-25 17:39:56 +05:30
Emmanuel Engelhart
62d0b4a091
Replace CSS 0pt by 0 2022-02-13 13:36:03 +01:00
Nikhil Tanwar
a69e6a1f02
Add monitor directory entry in settings panel
This adds an option to check/update monitor directory from the settings panel.
2022-02-08 21:08:25 +01:00
Nikhil Tanwar
8ba4e8ab85 Stored settings view in settings manager
Deleted some helper functions (browseDownloadDir, confirmDownloadDir, resetDownloadDir) from SettingsManager
Deleted unnecessary settingsManager.js and settingsManager.html
Fixed settingsManager.css code factoring issues
2021-10-19 05:09:07 +02:00
Nikhil Tanwar
e01473085b Added more styling to match proposed design.
Changes -
Paddings in labels
Horizontal line colour changed to match original
Max width of Container widget reduced to 500
2021-10-19 05:09:07 +02:00
Nikhil Tanwar
0711c4a5c1 Added white background to mainview
Followed design as specified in #640
2021-10-19 05:09:07 +02:00
Matthieu Gautier
b91be76815 Fix styling of the settingManager
- Button are not limited in size to contain all the text.
- Zoom factor is correctly positioned.
- Download directory is display without border, left aligned.
2020-07-10 17:42:01 +02:00
luddens
870dba20b0 add the possibility to set the download path in the settings
New field "download path" in the settings page.

To start a download it now uses the download path stored in the settings. Use the new api
of https://github.com/kiwix/kiwix-lib/pull/310 to work.
2020-03-03 15:27:17 +01:00
luddens
0289709771 Add a default zoom field in the settings
The SettingsManager class has a new member m_zoomFactor with a getter and
a setter. Its value is set at launch and saved with the QSettings.

There is a new field in the settings page where the zoom factor can be
changed, it is multiplied by 100 to be displayed as a percentage.

Each time a file is opened, the zoomfactor of the view is set with the
member m_zoomFactor of the SettingsManager class.
2019-11-19 18:31:54 +02:00
luddens
8ea9dd3f43 settings page css improvements 2019-11-01 15:59:17 +01:00
luddens
175c46cddf settings page architecture 2019-11-01 15:59:17 +01:00