forked from qt-creator/qt-creator
BinEditor: Export BinEditorWidget
Change-Id: I62bfaccc15447118591697fc67d85963388e3978 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
6d6f30285a
commit
9d74b995fb
@@ -1,8 +1,11 @@
|
|||||||
include(../../qtcreatorplugin.pri)
|
include(../../qtcreatorplugin.pri)
|
||||||
|
|
||||||
|
DEFINES += BINEDITOR_LIBRARY
|
||||||
|
|
||||||
HEADERS += bineditorplugin.h \
|
HEADERS += bineditorplugin.h \
|
||||||
bineditorwidget.h \
|
bineditorwidget.h \
|
||||||
bineditorconstants.h \
|
bineditorconstants.h \
|
||||||
|
bineditor_global.h \
|
||||||
markup.h
|
markup.h
|
||||||
|
|
||||||
SOURCES += bineditorplugin.cpp \
|
SOURCES += bineditorplugin.cpp \
|
||||||
|
@@ -14,6 +14,7 @@ QtcPlugin {
|
|||||||
"bineditorwidget.cpp",
|
"bineditorwidget.cpp",
|
||||||
"bineditorwidget.h",
|
"bineditorwidget.h",
|
||||||
"bineditorconstants.h",
|
"bineditorconstants.h",
|
||||||
|
"bineditor_global.h",
|
||||||
"bineditorplugin.cpp",
|
"bineditorplugin.cpp",
|
||||||
"bineditorplugin.h",
|
"bineditorplugin.h",
|
||||||
"markup.cpp",
|
"markup.cpp",
|
||||||
|
34
src/plugins/bineditor/bineditor_global.h
Normal file
34
src/plugins/bineditor/bineditor_global.h
Normal 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
|
@@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "bineditor_global.h"
|
||||||
#include "markup.h"
|
#include "markup.h"
|
||||||
|
|
||||||
#include <QBasicTimer>
|
#include <QBasicTimer>
|
||||||
@@ -46,7 +47,7 @@ namespace TextEditor { class FontSettings; }
|
|||||||
|
|
||||||
namespace BinEditor {
|
namespace BinEditor {
|
||||||
|
|
||||||
class BinEditorWidget : public QAbstractScrollArea
|
class BINEDITOR_EXPORT BinEditorWidget : public QAbstractScrollArea
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PROPERTY(bool modified READ isModified WRITE setModified DESIGNABLE false)
|
Q_PROPERTY(bool modified READ isModified WRITE setModified DESIGNABLE false)
|
||||||
|
Reference in New Issue
Block a user