aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogViewWidget.h
Commit message (Collapse)AuthorAgeFilesLines
* Batch export logs (#2485)Gravatar Chris MacLeod2023-08-051-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement most basic functional batch export For the future: * The loop still needs to be made asynchronous so the process doesn't hang. * Ideally, there should be some sort of progress window. * There is redundant code that should be reduced. * Make batch export asynchronous Reminder: The comment about overwrite protection no longer applies Todo: Progress dialog * Avoid possible dangling pointer, improve type safety and const correctness in the process In reality, the log exporting code has no reason to be in the GUI class to begin with. `exportLog` makes sense as a Qt slot, but `createLog` should be a member function of the `LogFile` class and operate on `this` rather than a `LogFile` argument. A future commit should amend this, but for now I will avoid changing anything unnecessary until a working progress dialog is in place and I have tested the finished feature thoroughly. * Add progress dialog * Make LogViewWindow::createLog a member function of LogFile * Reduce memory usage by sharing `LogFile`s with the GUI thread * Correct progress dialog modality * Collect log files directly instead of reiterating through view items later Also adds a little documentation * Fix batch export for paths with reserved characters * avoid sigsegv * fix tags removal before nickname in html export * Fix directory selection and output path for icons in html export --------- Co-authored-by: ctrlaltca <ctrlaltca@gmail.com>
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-3/+6
|
* copyright headers: fix broken boilerplate wording linkss -> terms and ↵Gravatar un1versal2015-11-281-1/+1
| | | | opinion -> option
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-281-1/+1
|
* more work on $log.export (wip)Gravatar Elvio Basello2011-04-211-11/+11
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5797 17fca916-40b9-46aa-a4ea-0a15b648b75c
* more work on #934: added export to html (wip) and improved the whole stuffGravatar Elvio Basello2011-04-071-1/+1
| | | | git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5765 17fca916-40b9-46aa-a4ea-0a15b648b75c
* initial implementation of #934: added the ability to export the log to plain ↵Gravatar Elvio Basello2011-04-071-6/+5
| | | | | | | | | text. this is still a wip git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5762 17fca916-40b9-46aa-a4ea-0a15b648b75c
* splitted log translations from kvirc to its own translation file, merging it ↵Gravatar Elvio Basello2011-04-041-5/+5
| | | | | | | | | with logview; improved hungarian notation git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5751 17fca916-40b9-46aa-a4ea-0a15b648b75c
* The big rename for modules. Still some details remaining.Gravatar Szymon Tomasz Stefanek2011-01-011-0/+77
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c