~jaromil/freej/master

« back to all changes in this revision

Viewing changes to qt/QqWidget.h

  • Committer: fred
  • Date: 2011-04-22 23:45:46 UTC
  • mto: This revision was merged to the branch mainline in revision 1552.
  • Revision ID: git-v1:9be6947d00722cabfcb779eca527e25a692f3258
Added the ability to change the V4L2 devices resolution

- Created a QqComboRes class.

- In Layer class, added the types VIDEOLAYER and V4L2LAYER.

- In v4l2_layer.h and .cpp, created a Res class containing the
available resolutions.

- In QqWidget conctructor, determines if the layer is a v4l2 layer,
added a combobox with the different resolutions if it is.

- In a Qfreej menu, added the full screen function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#include <FakeWindow.h>
17
17
#include <QqTabWidget.h>
18
18
#include <generator_layer.h>
 
19
#include <qqcombores.h>
19
20
 
20
21
class Qfreej;
 
22
class QqComboRes;
21
23
 
22
24
 
23
25
class QqWidget : public QWidget
71
73
    QDoubleSpinBox *m_angleBox;
72
74
    double m_angle;
73
75
    QqTabWidget *m_tabWidg;
 
76
    QqComboRes *m_comboRes;
74
77
};
75
78
#endif // QQWIDGET_H