73 Commits (c7722c4078a520e008d37e92e60fed04a653f31e)

Author SHA1 Message Date
Kevin Funk a53a2402ca clang-tidy: modernize-use-nullptr run 9 years ago
Gilbert Assaf a2aceadc13 Allow to create bookmarks from the TOC 9 years ago
Albert Astals Cid 5b62bc71d4 Simplify KTreeviewSearchLine to only work on a treeview 11 years ago
Montel Laurent 2eacdea022 Port to new connect api 12 years ago
Montel Laurent 378f6847a2 Remove some deprecated kdelibs4support 12 years ago
Frederik Gladhorn ac15a7075e More QUrl porting 12 years ago
Frederik Gladhorn 0ba233788c Use moc include style dictated by automoc 12 years ago
Fabio D'Urso 68439221ea Unparent the old TOCModel so that it doesn't get deleted twice 13 years ago
Fabio D'Urso 80ebb46d36 Don't attempt to restore old TOCModel if it hasn't been actually saved 13 years ago
Albert Astals Cid 3f3f82afa1 Fix my email address 13 years ago
Albert Astals Cid 541650a4f4 Remove the concept of observer/view id 13 years ago
Albert Astals Cid f40b42f8db Fix my fixes for 313147 and 313146 13 years ago
Jaydeep Solanki 54b4a20e07 No need to prepare for reloading if there's nothing to reload 13 years ago
Albert Astals Cid 0413d53857 Delete the oldModel even if the new doc has no toc 13 years ago
Jaydeep Solanki 7c99477f94 Preserve TOC folding status on document dirty reload 13 years ago
Tobias Koenig d3e0dadcac Introduce notifyCurrentPageChanged callback DocumentObserver interface 14 years ago
Montel Laurent f9f65979f5 Normalize signals/slots 15 years ago
Elvis Stansvik 820a667190 Save case sensitivity and regular expression search options for the Contents 17 years ago
Pino Toscano 5bfb9dca4f Support for external URLs as destination for the TOC items. 18 years ago
Pino Toscano 769a70956f add more checks against invalid viewports 18 years ago
Pino Toscano f84c256657 don't activate the TOC when it has no items 18 years ago
Pino Toscano a917f080e6 Create a model for the TOC, and use that for displaying the TOC of the document. 19 years ago
Pino Toscano b56ad8c3ae Change the DocumentObserver::notifySetup() to allow a better tuning of the different setup options (different layout for the pages, or different document). 19 years ago
Pino Toscano dac41f84ad give the thumbnail list, the toc and the bookmark list a coherent look 19 years ago
Pino Toscano 106e96240c rename (almost) every ActionFoo class to FooAction 19 years ago
Pino Toscano 0e12746a92 Link -> Action renaming. 19 years ago
Pino Toscano 5f21b15d99 Link -> Action renaming. 19 years ago
Pino Toscano f3e484082d Link -> Action renaming. 19 years ago
Albert Astals Cid 0d47b62715 krazy include order issues 19 years ago
Pino Toscano 29e8bbc50f make it possible for generators to decide the initial open/close state for the items of a TOC 19 years ago
Pino Toscano 9ccf6d520d adapt the icon names to the icon naming spec 19 years ago
Pino Toscano 573f989b47 don't keep the domelement for every toc item, just extract the needed information 19 years ago
Pino Toscano b163e04115 Support for labelling the pages, and for displaying the page label (if any) in the table of contents side pane. 19 years ago
Tobias Koenig 86a1fd3b69 Big cleanup of Document API and documentation: 19 years ago
Pino Toscano b9a2413619 remove the evil hack of the separator by using a custom role for the page number 19 years ago
Pino Toscano b7328d7234 add an handy DocumentViewport::isValid() and use it where possible instead of doing checks manually 19 years ago
Pino Toscano 349dfb7eb1 move the delegate used to draw the side page numbers in an own file 19 years ago
Pino Toscano ab508c75a9 hopefully draw the toc item correcty, this time 19 years ago
Pino Toscano fd6166e74c update correctly when the option for toggling the page numbers in the toc is changed 20 years ago
Pino Toscano 3c0069f811 Display - if available - the page number on the right of every item in the table of contents. 20 years ago
Pino Toscano 8def2109ec change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility 20 years ago
Pino Toscano 1fabb1880d rename setSelected to setCurrent, as it clashes with a new function of Qt4.2 20 years ago
Pino Toscano 20947b2e8d much like the other side panes 20 years ago
Tobias Koenig df7d144c10 Moved all classes in core/ into the 'Okular' namespace and removed 20 years ago
Laurent Montel 95486afabf clear button is not necessary it's into klineeedit now 20 years ago
Dirk Mueller 3c092edf3f if tmp can be null then m_current can be as well (CID 2644) 20 years ago
Pino Toscano cc447bd3dc use the layout direction of the parent treewidget 20 years ago
Pino Toscano a73c1d14a1 don't exclude ourself when setting a new viewport 20 years ago
Pino Toscano 8f32edb95e Make the TOC highlight (well, just indicate with an arrow for the moment) the first entry for the current page. 20 years ago
Pino Toscano 639039e791 Now TOC is a simple widget, with the treewiget inside. 20 years ago