fxes for new qt
This commit is contained in:
@@ -34,8 +34,8 @@ class QAD_EXPORT EDockWidget: public QDockWidget
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
explicit EDockWidget(const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = 0): QDockWidget(title, parent, flags) {init();}
|
explicit EDockWidget(const QString & title, QWidget * parent = 0, Qt::WindowFlags flags = Qt::WindowFlags()): QDockWidget(title, parent, flags) {init();}
|
||||||
explicit EDockWidget(QWidget * parent = 0, Qt::WindowFlags flags = 0): QDockWidget(parent, flags) {init();}
|
explicit EDockWidget(QWidget * parent = 0, Qt::WindowFlags flags = Qt::WindowFlags()): QDockWidget(parent, flags) {init();}
|
||||||
~EDockWidget() {delete btn_hide; delete btn_dock; delete lbl_title; delete lbl_icon; delete header;}
|
~EDockWidget() {delete btn_hide; delete btn_dock; delete lbl_title; delete lbl_icon; delete header;}
|
||||||
|
|
||||||
void setFeatures(QDockWidget::DockWidgetFeatures features);
|
void setFeatures(QDockWidget::DockWidgetFeatures features);
|
||||||
|
|||||||
@@ -16,6 +16,12 @@ extern "C" {
|
|||||||
# ifndef MKD_TOC
|
# ifndef MKD_TOC
|
||||||
# define MKD_TOC 0x00001000
|
# define MKD_TOC 0x00001000
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef MKD_AUTOLINK
|
||||||
|
# define MKD_AUTOLINK 0x00004000
|
||||||
|
# endif
|
||||||
|
# ifndef MKD_GITHUBTAGS
|
||||||
|
# define MKD_GITHUBTAGS 0x08000000
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static QString markdown_css = "table { margin: 5px; background-color: #cccccc; }"
|
static QString markdown_css = "table { margin: 5px; background-color: #cccccc; }"
|
||||||
@@ -41,7 +47,7 @@ QString md2html(const QByteArray & src) {
|
|||||||
mkd_set_flag_num(flagm, MKD_DLEXTRA);
|
mkd_set_flag_num(flagm, MKD_DLEXTRA);
|
||||||
mkd_set_flag_num(flagm, MKD_FENCEDCODE);
|
mkd_set_flag_num(flagm, MKD_FENCEDCODE);
|
||||||
#else
|
#else
|
||||||
mkd_flag_t flagm = (MKD_DLEXTRA | MKD_FENCEDCODE);
|
mkd_flag_t flagm = (MKD_DLEXTRA | MKD_FENCEDCODE | MKD_GITHUBTAGS | MKD_AUTOLINK);
|
||||||
#endif
|
#endif
|
||||||
MMIOT
|
MMIOT
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user