Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / QtCollider / factories.cpp
blobffc91d3f497d69b60bc53a09fa5d9c2f5ad5fa5c
1 /************************************************************************
3 * Copyright 2012 Jakob Leben (jakob.leben@gmail.com)
5 * This file is part of SuperCollider Qt GUI.
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 ************************************************************************/
22 #include "QcObjectFactory.h"
23 #include "QcWidgetFactory.h"
25 #include <QLabel>
27 QC_DECLARE_QWIDGET_FACTORY( QLabel );
29 namespace QtCollider {
31 void loadFactories () {
32 QC_ADD_FACTORY( QcDefaultWidget );
33 QC_ADD_FACTORY( QcHLayoutWidget );
34 QC_ADD_FACTORY( QcVLayoutWidget );
35 QC_ADD_FACTORY( QLabel );
36 QC_ADD_FACTORY( QcTextField );
37 QC_ADD_FACTORY( QcCheckBox );
38 QC_ADD_FACTORY( QcListWidget );
39 QC_ADD_FACTORY( QcPopUpMenu );
40 QC_ADD_FACTORY( QcButton );
41 QC_ADD_FACTORY( QcCustomPainted );
42 QC_ADD_FACTORY( QcFileDialog );
43 QC_ADD_FACTORY( QcGraph );
44 QC_ADD_FACTORY( QcKnob );
45 QC_ADD_FACTORY( QcLevelIndicator );
46 QC_ADD_FACTORY( QcMultiSlider );
47 QC_ADD_FACTORY( QcNumberBox );
48 QC_ADD_FACTORY( QcPenPrinter );
49 QC_ADD_FACTORY( QcRangeSlider );
50 QC_ADD_FACTORY( QcScope );
51 QC_ADD_FACTORY( QcScopeShm );
52 QC_ADD_FACTORY( QcScrollWidget );
53 QC_ADD_FACTORY( QcScrollArea );
54 QC_ADD_FACTORY( QcSlider );
55 QC_ADD_FACTORY( QcSlider2D );
56 QC_ADD_FACTORY( QcWaveform );
57 QC_ADD_FACTORY( QcTextEdit );
58 QC_ADD_FACTORY( QcTreeWidget );
59 QC_ADD_FACTORY( WebView );
60 QC_ADD_FACTORY( QcWindow );
61 QC_ADD_FACTORY( QcScrollWindow );
62 QC_ADD_FACTORY( QcHBoxLayout );
63 QC_ADD_FACTORY( QcVBoxLayout );
64 QC_ADD_FACTORY( QcGridLayout );
65 QC_ADD_FACTORY( QcStackLayout );
68 } // namespace QtCollider