Source files are no longer separated by UI and non-UI and similar,
but only by their build target.
* ui/ -> part/
* Move all source files from conf/ to part/
* Keep config skeleton definitions in conf/, needed for the mobile target too
* Move editdrawingtooldialogtest.h from conf/autotests/ to autotests/
* ui/data/icons/ -> icons/
* Move /part.cpp, /part.rc and similar files to part/
* Adapt include paths in source files
* Adapt CMakeLists.txt files (in / and in subdirectories)
* Adapt /Messages.sh
find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \;
If you reached this file doing a git blame, please see README.clang-format (added 2 commits in the future of this one)
`preferences-desktop-font` is only supposed to be used for settings
pages where large colorful icons are being shown. As such, it looks
out of place among the other monochrome icons in this dialog.
This MR replaces it with the more semantically correct monochrome
`dialog-text-and-font` icon.
Previously it just said, "Multiple" for multi-page-size documents.
Now it will tell you the most common page size on the "Properties"
tab, and display a full table of all page sizes in a new "Page Sizes" tab.
For documents with only a single page size, there are no changes.
We don't need to calculate sizing ourselves, widgets do that.
We also don't need to set maximum size ourselves manually, we already
use KSqueezedLabels to avoid having to do that for very large strings.
spacingHint()/marginHint() just returned the defaults from QApplication
even in kdelibs (4), so this code was useless.
The direct port would look something like this:
page2Layout->setMargin(QApplication::style()->pixelMetric(QStyle::PM_DefaultChildMargin););
page2Layout->setSpacing(QApplication::style()->pixelMetric(QStyle::PM_DefaultLayoutSpacing););
The text generator is the only one compiled now.
This version links for me but then doesn't find its KPart on startup.
TTS has been completely disabled as well as some other things like the
about dialog.
Simply shows the full path, file name can be extracted from it.
The button did not toggle between title and file path, also
because title is always shown if found.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1152390
to the existing ones.
Remove human-readable descriptions of fonts from TeXFontDefinition, this is
something that belongs to the PropertiesDialog.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1052191
Luigi's mail says
********
The attached patch changes a bit the handling of document informations
and the informations shown in the info page.
- document path is added to the information and a button allows you to
toggle between to file name (default) and the complete path;
- the number of the page is added to the information set by
documentInfo() and not by the properties dialog (so the latter will not
modify datas);
- the order of the information shown is the fixed now (see
orderedProperties).
*********
Then there are a few things of my own since some const here and there and adding three values to Key enum
Also it fixes wish 208999
BUGS: 208999
svn path=/trunk/KDE/kdegraphics/okular/; revision=1049872