projects
/
qtmeetings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ViewBase added and major changes to use the new architecture
[qtmeetings]
/
src
/
UserInterface
/
Views
/
SettingsView.h
diff --git
a/src/UserInterface/Views/SettingsView.h
b/src/UserInterface/Views/SettingsView.h
index
8b9bbeb
..
3e04eee
100644
(file)
--- a/
src/UserInterface/Views/SettingsView.h
+++ b/
src/UserInterface/Views/SettingsView.h
@@
-1,7
+1,7
@@
#ifndef SETTINGSVIEW_H_
#define SETTINGSVIEW_H_
#ifndef SETTINGSVIEW_H_
#define SETTINGSVIEW_H_
-#include "ObservedWidget.h"
+#include "ViewBase.h"
class QTabWidget;
class QPushButton;
class QTabWidget;
class QPushButton;
@@
-9,9
+9,10
@@
class QLineEdit;
class QTimeEdit;
class QRadioButton;
class QCheckBox;
class QTimeEdit;
class QRadioButton;
class QCheckBox;
+class QSize;
//! User interface class. Shows the settings view and handles configuration changes.
//! User interface class. Shows the settings view and handles configuration changes.
-class SettingsView : public ObservedWidget
+class SettingsView : public ViewBase
{
Q_OBJECT
{
Q_OBJECT
@@
-25,10
+26,16
@@
public:
SettingsView( QWidget *aParent = 0 );
//! Destructor.
virtual ~SettingsView();
SettingsView( QWidget *aParent = 0 );
//! Destructor.
virtual ~SettingsView();
+
+signals:
+ void okClicked();
+
+public slots:
+ void viewResized(const QSize &size);
private slots:
//! Slot to handle the Ok button pressing.
private slots:
//! Slot to handle the Ok button pressing.
- void okClicked();
+ void handleOkClicked();
//! Slot to handle the cancel button pressing.
void cancelClicked();
//! Slot to handle the cancel button pressing.
void cancelClicked();