aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/logview/LogViewWindow.h
Commit message (Expand)AuthorAgeFilesLines
* Qt6: QStringList is a typedef now, avoid forward declarationsGravatar Fabio Bas2023-10-181-1/+1
* Batch export logs (#2485)•••* 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>Gravatar Chris MacLeod2023-08-051-13/+6
* Use override where possible and remove unnecessary usages of the virtual keyw...Gravatar IceN9ne2018-11-281-6/+6
* Fix Coverity complaints about uninitialized member variablesGravatar IceN9ne2018-04-141-4/+3
* logview module: Fix memory leak in logview exportGravatar IceN9ne2017-03-091-1/+1
* Apply clang-formatGravatar Alexey Sokolov2016-04-291-26/+30
* copyright headers: fix broken boilerplate wording linkss -> terms and opinion...Gravatar un1versal2015-11-281-1/+1
* Copyright Headers: Cosmetic typos irc -> IRCGravatar un1versal2015-10-281-1/+1
* Allow user to export logs to a custom directory, save directory path for futu...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6400 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar OmegaPhil2014-12-021-0/+1
* Work around Qt4 bug to actually export a logfile to the temprary•••directory Part of https://svn.kvirc.de/kvirc/ticket/934 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6399 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar OmegaPhil2014-11-221-3/+4
* Created KVICOREACTIONS for the old previously caps-based entries in the tools...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6089 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2012-03-081-2/+2
* Dropped the KviTalPopupMenu layer, ported the involved code to QAction.•••This fixes most of the random crashes on osx, and is the base for a next change in the menubar. Addiotional fix: "disconnect" menu entry was broken since the 3.x era git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6072 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2012-02-261-1/+1
* - Happy new year!••• - Some parts of kvirc still refered to KviMainWindow as frame(), m_pFrm, etc.. => fixed - Some parts of kvirc were still coded as if more than one KviMainWindows could exists => fixed, this involved changing KviWindows's ctor and removing KviWindow::frame(), thus the big change - The trayicon module still called itself (and was called) dockextension, and was built to support more than one KviMainWindows => renamed and fixed - Modified KviWindow::hasAttention so that is can be used everywhere instead of mixing different ways to check if a notificationm should popup - should fix #1221 and hopefully introduce little to no bugs git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6010 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2012-01-011-1/+1
* more work on $log.export (wip)•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5797 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-04-211-6/+6
* added initial implementation of $log.export() (wip);•••splitted LogFile class in its own files; added control procedure to call logview functions from log module git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5785 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-04-141-98/+4
* More internal filtering in html log export•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5774 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Noldor2011-04-101-0/+1
* more work on #934: added export to html (wip) and improved the whole stuff•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5765 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-04-071-2/+9
* initial implementation of #934: added the ability to export the log to plain ...•••this is still a wip git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5762 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-04-071-16/+43
* splitted log translations from kvirc to its own translation file, merging it ...•••improved hungarian notation git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5751 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Elvio Basello2011-04-041-55/+95
* gave the logviewer recursive directory scanning superpowers, to support the n...•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5362 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Fabio Bas2011-01-141-1/+1
* The big rename for modules. Still some details remaining.•••git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5284 17fca916-40b9-46aa-a4ea-0a15b648b75c Gravatar Szymon Tomasz Stefanek2011-01-011-0/+153