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
19 class Q3GridLayout;
20 class Q3IconView;
21 class Q3IconViewItem;
22 class QPushButton;
23 class GroupIcon;
24 class Q3Frame;
25 
26 class Configuration;
27 class AlertsWidget;
30 class GroupsWidget;
31 
32 #include <qdialog.h>
33 
34 //=====================================
37 //=====================================
38 
40 {
41 Q_OBJECT
42 public:
44  QWidget *parent=0,
45  const char* name=0);
46 //----------------------
47 signals:
48 void closed();
49 //----------------------
50 private slots:
52 void updateDialogue( Q3IconViewItem* selection);
53 
55 void repaintGroup( Q3IconViewItem* pseudoSelection);
56 
59 
60 //save settings
61 void saveSettings();
62 
63 void reject();
64 //----------------------
65 private:
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
QPushButton * cancelButton
Displays group icon and text, also contains pointer to widget for setting group settings.
Definition: groupIcon.h:30
GroupIcon * currentPseudoSelection
LayoutSettingsWidget * layoutWidget
Q3GridLayout * grid
Grid widgets place in.
ConfigurationWidget(Configuration *config, QWidget *parent=0, const char *name=0)
Displays group icon and text, also contains pointer to widget for setting group settings.
Definition: groupsWidget.h:28
void clearPseudoSelection()
clears any pseudo selections
void closeEvent(QCloseEvent *e)
AlertsWidget * alertsWidget
GroupsWidget * groups
list of subalbums
Configuration object manages all user-specific application settings.
Definition: configuration.h:24
GroupIcon * alertsIcon
settings icons
void updateDialogue(Q3IconViewItem *selection)
updates shown settings dialogue based on newly selected group
Configuration/Settings Interface.
Loading/Saving Settings.
Alerts Settings.
Definition: alertsWidget.h:34
LoadingSavingWidget * loadingSavingWidget
settings widgets
Q3GridLayout * buttonsGrid
void repaintGroup(Q3IconViewItem *pseudoSelection)
repaints a group icon if move is moved over it
Configuration * config
Backend config object pointer.