7
7
* Description : item tool tip configuration setup tab
9
* Copyright (C) 2006-2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
9
* Copyright (C) 2006-2012 by Gilles Caulier <caulier dot gilles at gmail dot com>
11
11
* This program is free software; you can redistribute it
12
12
* and/or modify it under the terms of the GNU General
107
107
DFontSelect* fontSelect;
109
const QString SetupToolTip::SetupToolTipPriv::configGroupName("ImageViewer Settings");
110
const QString SetupToolTip::SetupToolTipPriv::configShowToolTipsEntry("Show ToolTips");
111
const QString SetupToolTip::SetupToolTipPriv::configToolTipsFontEntry("ToolTips Font");
112
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowFileNameEntry("ToolTips Show File Name");
113
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowFileDateEntry("ToolTips Show File Date");
114
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowFileSizeEntry("ToolTips Show File Size");
115
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowImageTypeEntry("ToolTips Show Image Type");
116
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowImageDimEntry("ToolTips Show Image Dim");
117
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoMakeEntry("ToolTips Show Photo Make");
118
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoDateEntry("ToolTips Show Photo Date");
119
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoFocalEntry("ToolTips Show Photo Focal");
120
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoExpoEntry("ToolTips Show Photo Expo");
121
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoModeEntry("ToolTips Show Photo Mode");
122
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoFlashEntry("ToolTips Show Photo Flash");
123
const QString SetupToolTip::SetupToolTipPriv::configToolTipsShowPhotoWBEntry("ToolTips Show Photo WB");
110
const QString SetupToolTip::Private::configGroupName("ImageViewer Settings");
111
const QString SetupToolTip::Private::configShowToolTipsEntry("Show ToolTips");
112
const QString SetupToolTip::Private::configToolTipsFontEntry("ToolTips Font");
113
const QString SetupToolTip::Private::configToolTipsShowFileNameEntry("ToolTips Show File Name");
114
const QString SetupToolTip::Private::configToolTipsShowFileDateEntry("ToolTips Show File Date");
115
const QString SetupToolTip::Private::configToolTipsShowFileSizeEntry("ToolTips Show File Size");
116
const QString SetupToolTip::Private::configToolTipsShowImageTypeEntry("ToolTips Show Image Type");
117
const QString SetupToolTip::Private::configToolTipsShowImageDimEntry("ToolTips Show Image Dim");
118
const QString SetupToolTip::Private::configToolTipsShowPhotoMakeEntry("ToolTips Show Photo Make");
119
const QString SetupToolTip::Private::configToolTipsShowPhotoDateEntry("ToolTips Show Photo Date");
120
const QString SetupToolTip::Private::configToolTipsShowPhotoFocalEntry("ToolTips Show Photo Focal");
121
const QString SetupToolTip::Private::configToolTipsShowPhotoExpoEntry("ToolTips Show Photo Expo");
122
const QString SetupToolTip::Private::configToolTipsShowPhotoModeEntry("ToolTips Show Photo Mode");
123
const QString SetupToolTip::Private::configToolTipsShowPhotoFlashEntry("ToolTips Show Photo Flash");
124
const QString SetupToolTip::Private::configToolTipsShowPhotoWBEntry("ToolTips Show Photo WB");
125
126
// --------------------------------------------------------
127
SetupToolTip::SetupToolTip(QWidget* parent)
128
: QScrollArea(parent), d(new SetupToolTipPriv)
128
SetupToolTip::SetupToolTip(QWidget* const parent)
129
: QScrollArea(parent), d(new Private)
130
131
QWidget* panel = new QWidget(viewport());
131
132
setWidget(panel);