2006-11-21 06:02:05 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2006 by Peter Penz *
|
|
|
|
* peter.penz@gmx.at *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program; if not, write to the *
|
|
|
|
* Free Software Foundation, Inc., *
|
2006-12-08 21:24:08 +00:00
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
|
2006-11-21 06:02:05 +00:00
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef DETAILSVIEWSETTINGSPAGE_H
|
|
|
|
#define DETAILSVIEWSETTINGSPAGE_H
|
|
|
|
|
2006-11-23 07:54:24 +00:00
|
|
|
#include <kvbox.h>
|
|
|
|
|
2007-01-07 09:47:05 +00:00
|
|
|
class DolphinMainWindow;
|
2006-11-21 06:02:05 +00:00
|
|
|
class QCheckBox;
|
2006-11-22 11:34:19 +00:00
|
|
|
class QFontComboBox;
|
2006-11-21 06:02:05 +00:00
|
|
|
class QSpinBox;
|
|
|
|
class QComboBox;
|
|
|
|
class QRadioButton;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Represents the page from the Dolphin Settings which allows
|
|
|
|
* to modify the settings for the details view.
|
|
|
|
*/
|
2006-11-23 07:54:24 +00:00
|
|
|
class DetailsViewSettingsPage : public KVBox
|
2006-11-21 06:02:05 +00:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2007-01-07 09:47:05 +00:00
|
|
|
DetailsViewSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent);
|
2006-11-21 06:02:05 +00:00
|
|
|
virtual ~DetailsViewSettingsPage();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Applies the settings for the details view.
|
|
|
|
* The settings are persisted automatically when
|
|
|
|
* closing Dolphin.
|
|
|
|
*/
|
|
|
|
void applySettings();
|
|
|
|
|
|
|
|
private:
|
2007-01-07 09:47:05 +00:00
|
|
|
DolphinMainWindow* m_mainWindow;
|
2006-11-21 06:02:05 +00:00
|
|
|
QCheckBox* m_dateBox;
|
|
|
|
QCheckBox* m_permissionsBox;
|
|
|
|
QCheckBox* m_ownerBox;
|
|
|
|
QCheckBox* m_groupBox;
|
|
|
|
QRadioButton* m_smallIconSize;
|
|
|
|
QRadioButton* m_mediumIconSize;
|
|
|
|
QRadioButton* m_largeIconSize;
|
|
|
|
|
2006-11-22 11:34:19 +00:00
|
|
|
QFontComboBox* m_fontFamilyBox;
|
2006-11-21 06:02:05 +00:00
|
|
|
QSpinBox* m_fontSizeBox;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|