Chris@139: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@139: Chris@139: /* Chris@139: Sonic Visualiser Chris@139: An audio file viewer and annotation editor. Chris@139: Centre for Digital Music, Queen Mary, University of London. Chris@139: This file copyright 2006 Chris Cannam. Chris@139: Chris@139: This program is free software; you can redistribute it and/or Chris@139: modify it under the terms of the GNU General Public License as Chris@139: published by the Free Software Foundation; either version 2 of the Chris@139: License, or (at your option) any later version. See the file Chris@139: COPYING included with this distribution for more information. Chris@139: */ Chris@139: Chris@139: #ifndef _WINDOW_SHAPE_PREVIEW_H_ Chris@139: #define _WINDOW_SHAPE_PREVIEW_H_ Chris@139: Chris@139: #include Chris@139: Chris@139: #include "base/Window.h" Chris@139: Chris@139: class QLabel; Chris@139: Chris@139: class WindowShapePreview : public QFrame Chris@139: { Chris@139: Q_OBJECT Chris@139: Chris@139: public: Chris@139: WindowShapePreview(QWidget *parent = 0); Chris@139: virtual ~WindowShapePreview(); Chris@139: Chris@139: public slots: Chris@139: void setWindowType(WindowType type); Chris@139: Chris@139: protected: Chris@139: QLabel *m_windowTimeExampleLabel; Chris@139: QLabel *m_windowFreqExampleLabel; Chris@139: WindowType m_windowType; Chris@139: Chris@139: void updateLabels(); Chris@139: }; Chris@139: Chris@139: #endif