Chocobo1
75c93d72be
Revise string literal usage
...
This commit covers src/gui folder.
PR #16757 .
3 years ago
Vladimir Golovnev (Glassez)
97c7f3bc67
Raise minimum Qt version to 5.14
4 years ago
Chocobo1
a64bb1a990
Simplify natural sort classes interface
...
Now the comparison function/class should be constructed before usage.
This change also make it easier to plug in into various containers which
will require a compare function type (such as std::set).
4 years ago
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
4 years ago
jagannatharjun
00413b0dd1
Use default delegate for SearchModel
...
Introduce and use data role - SearchFilterModel::UnderlyingDataRole as a filter role in SearchFilterModel
Removes the usage of QItemDelegate
4 years ago
Chocobo1
8d6b9b6181
Revise sort model and delegate code
5 years ago
thalieht
4370a7eb12
Forward declare in a few places
6 years ago
thalieht
1f36b8b89f
Combine qAsConst() with copyAsConst() to asConst()
6 years ago
thalieht
6b1d26d555
Convert all foreach() to range-based for()
6 years ago
thalieht
d668a4fe6d
Fix coding style for various things
6 years ago
sledgehammer999
de8050701d
Revert email address changes in copyright notices
6 years ago
thalieht
356d6a6589
Fix coding style
7 years ago
sledgehammer999
99abc21dab
Simplify sorting code.
7 years ago
Chocobo1
86c5a8df75
Partial revert eac8838dc2
. Fixes #7952 .
...
mapFromSource() didn't work as expected, when used in lessThan(), it sometimes
returns an invalid QModelIndex.
A crash is observed when filtering source model via filterAcceptsRow() in #7952 ,
the crash is due to endless recursive of filterAcceptsRow() & lessThan() calling
each other and mapFromSource() is the culprit of it.
7 years ago
Mike Tzou
eac8838dc2
[GUI] Implement stable sort ( #7703 )
...
* NaturalCompare now returns compare result instead of "less than" result
* Change to stable sort in GUI components
* Add Utils::String::naturalLessThan() helper function
* Use Qt::CaseSensitivity type
7 years ago
Chocobo1
42c17ea5ce
Fix argument name differ in definition & declaration
8 years ago
Chocobo1
4669a99617
Use case-insensitive sort for Name column in Search tab. Closes #407 .
8 years ago
Chocobo1
5906a4a2de
Add case-sensitive & case-insensitive natural sort helper function
...
Fix helper function not being thread-safe
Use QBT_USES_QT5 define
9 years ago
Chocobo1
d65ff87148
Replace `naturalSort()` with `naturalCompare()`.
9 years ago
Eugene Shalygin
1336cb7a61
Implement search filters in the proxy model. Partially closes #972
9 years ago
Vladimir Golovnev (Glassez)
ac365c5efb
Fix coding style (Issue #2192 ).
9 years ago
Vladimir Golovnev (Glassez)
9db93e5d8f
Rename Core to Base ( Closes #3733 ).
9 years ago
Vladimir Golovnev (Glassez)
d16d1fdb3a
Redesign main core classes.
10 years ago
Vladimir Golovnev (Glassez)
4b5e7e6168
Move network related code to core/net.
10 years ago
Vladimir Golovnev (Glassez)
2707f5205f
Fix prefjson::setPreferences() doesn't actually save.
10 years ago
Vladimir Golovnev (Glassez)
ff9a281b72
Change project directory structure.
...
Change project directory structure according to application structure.
Change 'nox' configuration option to something more meaningful 'nogui'.
Rename 'Icons' folder to 'icons' (similar to other folders).
Partially add 'nowebui' option support.
Remove QConf project file.
10 years ago
sledgehammer999
9e6d57057f
Add back contact info in the copyright notices.
10 years ago
Vladimir Golovnev (Glassez)
9853a9fec9
Modify Http parser/generator classes.
10 years ago
sledgehammer999
e8c14f3507
Use the new Http classes.
11 years ago
sledgehammer999
bd9c231a0b
Enable gzip compression in the webui.
11 years ago
Christophe Dumez
d62554aaba
Minor code clean up
12 years ago
Christophe Dumez
8986d87ef3
HTTP request handling clean up and optimization
13 years ago
Christophe Dumez
5fe562c0fa
Clean up Web UI code
13 years ago
Christophe Dumez
3f4947259b
Web UI code clean up
13 years ago
Christophe Dumez
246903fa0a
Web UI improvements
...
- Optimize translation code
- Cosmetic fixes to dialogs
- Display qBittorrent version in about dialog
13 years ago
Christophe Dumez
0ca7100168
Fix issues with virtual
...
Code cleanup
14 years ago
Christophe Dumez
6e7309316c
Started code reorganizing (Moved libtorrent specific files and webui files to subfolders)
14 years ago
Christophe Dumez
019bd476db
- Forgot to update those headers
16 years ago
Christophe Dumez
b69a8a0709
- Commit a lot of missing files for web interface
17 years ago