1 /*****************************************************************************
2 * vlm.hpp : Stream output dialog ( old-style, ala WX )
3 ****************************************************************************
4 * Copyright ( C ) 2006 the VideoLAN team
5 * $Id: vlm.hpp 21875 2007-09-08 16:01:33Z jb $
7 * Authors: Jean-François Massol <jf.massol@gmail.com>
8 * Jean-Baptiste Kempf <jb@videolan.org>
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * ( at your option ) any later version.
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
25 #ifndef _VLM_DIALOG_H_
26 #define _VLM_DIALOG_H_
31 #include "util/qvlcframe.hpp"
49 class VLMDialog : public QVLCFrame
53 static VLMDialog * getInstance( intf_thread_t *p_intf )
56 instance = new VLMDialog( p_intf );
62 VLMDialog( intf_thread_t *);
63 static VLMDialog *instance;
68 void makeSchedulePage();
72 QHBoxLayout *bcastgbox, ;
73 QStackedWidget *slayout;
74 QWidget *pBcast, *pVod, *pSchedule;
75 QGridLayout *bcastlayout, *vodlayout, *schelayout, *schetimelayout;
76 QLabel *bcastname, *vodname, *schename,*bcastinput, *vodinput, *scheinput;
77 QLabel *bcastoutput, *vodoutput, *scheoutput;
78 QCheckBox *bcastenable, *vodenable, *scheenable;
79 QLineEdit *bcastnameledit, *vodnameledit, *schenameledit, *bcastinputledit, *vodinputledit, *scheinputledit;
80 QLineEdit *bcastoutputledit, *vodoutputledit, *scheoutputledit;
81 QToolButton *bcastinputtbutton, *vodinputtbutton, *scheinputtbutton;
82 QToolButton *bcastoutputtbutton, *vodoutputtbutton, *scheoutputtbutton;
83 QGroupBox *bcastcontrol, *schecontrol;
84 QPushButton *bcastplay, *bcastpause, *bcaststop;
85 QPushButton *bcastadd, *vodadd, *scheadd, *bcastremove, *vodremove, *scheremove;
88 QLabel *schetimelabel, *schedatelabel, *schetimerepeat;
89 QSpinBox *scherepeatnumber;