AlbumShaper 1.0a3
configurationWidget.h
Go to the documentation of this file.
1//Added by qt3to4:
2#include <Q3Frame>
3#include <Q3GridLayout>
4#include <QCloseEvent>
5//==============================================
6// copyright : (C) 2003-2005 by Will Stokes
7//==============================================
8// This program is free software; you can redistribute it
9// and/or modify it under the terms of the GNU General
10// Public License as published by the Free Software
11// Foundation; either version 2 of the License, or
12// (at your option) any later version.
13//==============================================
14
15#ifndef CONFIGURATION_CONFIGURATIONWIDGET_H
16#define CONFIGURATION_CONFIGURATIONWIDGET_H
17
18//forward declarations
19class Q3GridLayout;
20class Q3IconView;
21class Q3IconViewItem;
22class QPushButton;
23class GroupIcon;
24class Q3Frame;
25
26class Configuration;
27class AlertsWidget;
30class GroupsWidget;
31
32#include <qdialog.h>
33
34//=====================================
37//=====================================
38
40{
41Q_OBJECT
42public:
44 QWidget *parent=0,
45 const char* name=0);
46//----------------------
47signals:
48void closed();
49//----------------------
50private slots:
52void updateDialogue( Q3IconViewItem* selection);
53
55void repaintGroup( Q3IconViewItem* pseudoSelection);
56
59
60//save settings
61void saveSettings();
62
63void reject();
64//----------------------
65private:
66 void closeEvent( QCloseEvent* e);
67
70
72 Q3GridLayout* grid;
73
76
82
83 //currently hovered over group icon
85
88
89 //ok and cancel buttons, frame, and grid
91 QPushButton *okButton, *cancelButton;
92 Q3GridLayout* buttonsGrid;
93};
94//======================
95
96#endif //CONFIGURATION_CONFIGURATIONWIDGET_H
Alerts Settings.
Configuration/Settings Interface.
void closeEvent(QCloseEvent *e)
GroupIcon * currentPseudoSelection
ConfigurationWidget(Configuration *config, QWidget *parent=0, const char *name=0)
void clearPseudoSelection()
clears any pseudo selections
Q3GridLayout * grid
Grid widgets place in.
void updateDialogue(Q3IconViewItem *selection)
updates shown settings dialogue based on newly selected group
Configuration * config
Backend config object pointer.
LoadingSavingWidget * loadingSavingWidget
settings widgets
GroupIcon * alertsIcon
settings icons
void repaintGroup(Q3IconViewItem *pseudoSelection)
repaints a group icon if move is moved over it
AlertsWidget * alertsWidget
GroupsWidget * groups
list of subalbums
LayoutSettingsWidget * layoutWidget
Configuration object manages all user-specific application settings.
Displays group icon and text, also contains pointer to widget for setting group settings.
Definition groupIcon.h:31
Displays group icon and text, also contains pointer to widget for setting group settings.
Loading/Saving Settings.