┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/statusbarspaceinfo.cpp
AgeCommit message (Collapse)Author
2009-08-01move statusbar code into the directory "statusbar"Peter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=1005704
2009-03-15a lot of more KUrl::path() -> KUrl::toLocalFile() changes (mostly after a ↵Christian Ehrlicher
check for KUrl::isLocalFile()) svn path=/trunk/KDE/kdebase/apps/; revision=939835
2008-12-12SVN_SILENT: removed trailing spacesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=895978
2008-10-06allow to configure whether the zoom slider and/or the space information ↵Peter Penz
should be shown in the statusbar svn path=/trunk/KDE/kdebase/apps/; revision=868596
2008-10-05do only a polling of the available space when the widget is visiblePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=868270
2008-08-22* convert the size in bytes to larger unitPeter Penz
* minor style fix svn path=/trunk/KDE/kdebase/apps/; revision=851088
2008-08-22Use KDiskFreeSpaceInfo instead of deprecated KDiskFreeSpace. This has the ↵Jeff Mitchell
bonus effect of making the logic much simpler. CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=851082
2008-07-19fix possible division by 0 crash (no backport to 4.1 needed, as there ↵Peter Penz
QProgressBar is used instead of KCapacityBar) svn path=/trunk/KDE/kdebase/apps/; revision=834788
2008-07-19remember the maximum size, so that an update is also done for the (rare) ↵Peter Penz
case when two partitions have a different size but an equal used size (no backport to KDE 4.1 necessary, as there QProgressBar is used instead of KCapacityBar) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=834550
2008-07-18The space info widget now inherits KCapacityBar. Two things to check:Rafael Fernández López
- Align vertically the text correctly - Minimum width of the widget (not forcing it to 200) CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=834445
2008-06-071) Make sure that size qprogressbar is really updated after each changeJakub Stachowski
2) Get rid of flicker when after changing partition new size is smaller than used space on old one - in this case setMaximum calls reset() 3) User proper value for comparison when checking if progressbar should be changed BUG: 163343 svn path=/trunk/KDE/kdebase/apps/; revision=818066
2008-03-28* minor coding style fixesPeter Penz
* replaced "Free disk space could not be determined" by "Unknown size", as the string would be too long fitting into the space information widget svn path=/trunk/KDE/kdebase/apps/; revision=791051
2008-03-28Revert back to kibibytes for nowJeff Mitchell
svn path=/trunk/KDE/kdebase/apps/; revision=791031
2008-03-28This value was still wrong, because I mixed up kibibytes and kilobytes. ↵Jeff Mitchell
Assuming KDiskFreeSpace is really returning kB = 1000 bytes instead of kiB as according to Si rules, this value should now be correct (as opposed to the original code which assumed it was actually returning kibibytes, or my incorrect fix which multiplied the kibibyte value by a kilobyte factor to pass into convertSize. svn path=/trunk/KDE/kdebase/apps/; revision=791030
2008-03-27Ack, forgot half the fixJeff Mitchell
svn path=/trunk/KDE/kdebase/apps/; revision=790987
2008-03-27The size is passed in from KDiskFreeSpace as kilobytes, not kibibytes; use ↵Jeff Mitchell
the appropriate conversion function svn path=/trunk/KDE/kdebase/apps/; revision=790986
2008-03-27If KDiskFreeSpace doesn't work for some reason it never emits ↵Jeff Mitchell
foundMountPoint, and since Dolphin never checked for done(), it'd sit there waiting on the job. svn path=/trunk/KDE/kdebase/apps/; revision=790923
2008-03-18Fix Krazy i18n issues.Chusslove Illich
svn path=/trunk/KDE/kdebase/apps/; revision=787308
2008-03-02fixed problems with wrong space information (I'll backport the fix to 4.0.x ↵Peter Penz
on Tuesday - I'm currently out of office and don't have access to my 4.0.x repository) BUG: 153778 BUG: 156271 BUG: 155608 svn path=/trunk/KDE/kdebase/apps/; revision=781211
2007-11-19fixed issue that the space info is not updated sometimes ↵Peter Penz
(QProgressBar::setValue() uses QProgressBar::text() which returns m_text -> the text must be set first) svn path=/trunk/KDE/kdebase/apps/; revision=738826
2007-10-15prevent flickering of status bar when changing between directoriesPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=725546
2007-10-15Use a progress bar with custom text for showing the free disk space, ↵Peter Penz
otherwise the custom widget just does not fit well into styles like Oxygen. svn path=/trunk/KDE/kdebase/apps/; revision=725516
2007-09-07deprecated-- KColorScheme __comp_ctor fixesArto Hytönen
svn path=/trunk/KDE/kdebase/apps/; revision=709395
2007-08-31as David pointed out: Qt4 has a nicer approach for asynchronous events than ↵Peter Penz
using QTimer svn path=/trunk/KDE/kdebase/apps/; revision=706669
2007-07-08KUIT adaptionsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=685432
2007-06-19A cleanup in KDiskFreeSpace has been done -> adjust signal/slot to the new ↵Peter Penz
(and nicer) method signature svn path=/trunk/KDE/kdebase/apps/; revision=677710
2007-06-19don't use deprecated KGlobalSettings::xxxColor() methods anymorePeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=677660
2007-06-17fix signal foundMountPoint()Christian Ehrlicher
svn path=/trunk/KDE/kdebase/apps/; revision=676855
2007-06-06assure that all statusbar elements use a transparent background to look nice ↵Peter Penz
with Oxygens gradiented background svn path=/trunk/KDE/kdebase/apps/; revision=672293
2007-05-09include cleanupDirk Mueller
svn path=/trunk/KDE/kdebase/apps/; revision=663054
2007-04-30KDiskFreeSp -> KDiskFreeSpaceDavid Faure
Port away from deprecated KIO::findPathMountPoint svn path=/trunk/KDE/kdebase/apps/; revision=659796
2007-04-12some include + coding guideline cleanupsPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=653049
2007-04-10fix #144021: show free space in GB instead of used space in percentPeter Penz
svn path=/trunk/KDE/kdebase/apps/; revision=652207
2007-04-09adapt Dolphin to kdelibs coding style ↵Peter Penz
(http://techbase.kde.org/Policies/Kdelibs_Coding_Style) by using: astyle --indent=spaces=4 --brackets=linux \ --indent-labels --pad=oper --unpad=paren \ --one-line=keep-statements --convert-tabs \ --indent-preprocessor \ `find -type f -name '*.cpp'` `find -type f -name '*.h'` svn path=/trunk/KDE/kdebase/apps/; revision=651981
2007-02-22Add libkmetadata detection and minor fixesOscar Blumberg
SVN_SILENT svn path=/trunk/KDE/kdebase/apps/; revision=636328
2007-02-20i18n fixes. Note: %n is no longer used in plural strings.Chusslove Illich
svn path=/trunk/KDE/kdebase/apps/; revision=635655
2007-01-31Queue error messages so that a currently shown error message is not replaced ↵Peter Penz
until the user confirmed the reading. If there are no pending error messages and a timeout has been exceeded, the currently shown error messages automatically fades out as soon as the user triggered another action. This behavior should correspond to Ellens suggestions (I hope :-)). svn path=/trunk/playground/utils/dolphin/; revision=628905
2007-01-26Further optimizations for the status bar: hide the space information if the ↵Peter Penz
status bar text does not fit into the remaining width. svn path=/trunk/playground/utils/dolphin/; revision=627486
2007-01-23Minor adjustments and cleanups in the statusbar:Peter Penz
- prevent a flickering of the space information if a folder has been changed - assure that no progress bar and space information is shown if an error is displayed currently svn path=/trunk/playground/utils/dolphin/; revision=626571
2007-01-10Applied some patches found by EBN (thanks to Nicolas Lécureuil for the ↵Peter Penz
patches!). svn path=/trunk/playground/utils/dolphin/; revision=621872
2006-12-07minor cosmetic update of the progress indicationPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=611347
2006-12-04the widget is double-buffered by default so don't triple-bufferZack Rusin
plus removing another depdecation warning svn path=/trunk/playground/utils/dolphin/; revision=610303
2006-11-23Fix i18n Laurent Montel
svn path=/trunk/playground/utils/dolphin/; revision=607156
2006-11-22As KURL has been renamed to KUrl all classes and methods, which use the term ↵Peter Penz
'URL', have been converted to use 'Url' instead (e. g. the class URLNavigator is called UrlNavigator now). svn path=/trunk/playground/utils/dolphin/; revision=606991
2006-11-22Some portLaurent Montel
Remove not necessary file svn path=/trunk/playground/utils/dolphin/; revision=606884
2006-11-21commited initial version of DolphinPeter Penz
svn path=/trunk/playground/utils/dolphin/; revision=606622