NCL Composer
0.1.5
Main Page
Related Pages
Classes
All
Classes
Functions
Variables
Pages
composer-plugins/ncl-text-editor/src/main.cpp
1
/*
2
* Copyright 2011 TeleMidia/PUC-Rio.
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library. If not, see
16
* <http://www.gnu.org/licenses/>.
17
*/
18
/****************************************************************************
19
**
20
** Copyright (C) 2004-2006 Trolltech ASA. All rights reserved.
21
**
22
** This file is part of the example classes of the Qt Toolkit.
23
**
24
** Licensees holding a valid Qt License Agreement may use this file in
25
** accordance with the rights, responsibilities and obligations
26
** contained therein. Please consult your licensing agreement or
27
** contact sales@trolltech.com if any conditions of this licensing
28
** agreement are not clear to you.
29
**
30
** Further information about Qt licensing is available at:
31
** http://www.trolltech.com/products/qt/licensing.html or by
32
** contacting info@trolltech.com.
33
**
34
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
35
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
36
**
37
****************************************************************************/
38
39
#include <QApplication>
40
#include <QTreeView>
41
42
#include "NCLTextEditorMainWindow.h"
43
44
int
main(
int
argc,
char
*argv[])
45
{
46
QApplication app(argc, argv);
47
48
// Q_INIT_RESOURCE(ncl_textual_plugin);
49
50
NCLTextEditorMainWindow
mainWin;
51
mainWin.show();
52
53
app.setStyleSheet(
" QMainWindow{ } \
54
QDockWidget {\
55
border: 0.5px solid black;\
56
}\
57
QDockWidget::title {\
58
background: #B9D3EE;\
59
padding-left: 2px;\
60
padding-top: 2px;\
61
}"
);
62
return
app.exec();
63
}
composer-plugins
ncl-text-editor
src
main.cpp
Generated on Tue Jun 18 2013 16:03:00 for NCL Composer by
1.8.4