BinEditor: Export BinEditorWidget

Change-Id: I62bfaccc15447118591697fc67d85963388e3978
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-06-26 22:10:29 +03:00
committed by Orgad Shaneh
parent 6d6f30285a
commit 9d74b995fb
4 changed files with 40 additions and 1 deletions

View File

@@ -1,8 +1,11 @@
include(../../qtcreatorplugin.pri)
DEFINES += BINEDITOR_LIBRARY
HEADERS += bineditorplugin.h \
bineditorwidget.h \
bineditorconstants.h \
bineditor_global.h \
markup.h
SOURCES += bineditorplugin.cpp \

View File

@@ -14,6 +14,7 @@ QtcPlugin {
"bineditorwidget.cpp",
"bineditorwidget.h",
"bineditorconstants.h",
"bineditor_global.h",
"bineditorplugin.cpp",
"bineditorplugin.h",
"markup.cpp",

View File

@@ -0,0 +1,34 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 3 as published by the Free Software
** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
** included in the packaging of this file. Please review the following
** information to ensure the GNU General Public License requirements will
** be met: https://www.gnu.org/licenses/gpl-3.0.html.
**
****************************************************************************/
#pragma once
#include <QtGlobal>
#if defined(BINEDITOR_LIBRARY)
# define BINEDITOR_EXPORT Q_DECL_EXPORT
#else
# define BINEDITOR_EXPORT Q_DECL_IMPORT
#endif

View File

@@ -25,6 +25,7 @@
#pragma once
#include "bineditor_global.h"
#include "markup.h"
#include <QBasicTimer>
@@ -46,7 +47,7 @@ namespace TextEditor { class FontSettings; }
namespace BinEditor {
class BinEditorWidget : public QAbstractScrollArea
class BINEDITOR_EXPORT BinEditorWidget : public QAbstractScrollArea
{
Q_OBJECT
Q_PROPERTY(bool modified READ isModified WRITE setModified DESIGNABLE false)