mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-27 17:04:44 +00:00
Enabled webview developer inspector to fix the graph view
This commit is contained in:
parent
ea6789af54
commit
a8f644dcf4
@ -68,6 +68,7 @@ MemoryWidget::MemoryWidget(MainWindow *main, QWidget *parent) :
|
|||||||
// Hide graph webview scrollbars
|
// Hide graph webview scrollbars
|
||||||
ui->graphWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff);
|
ui->graphWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff);
|
||||||
ui->graphWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff);
|
ui->graphWebView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff);
|
||||||
|
QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, true);
|
||||||
|
|
||||||
// Add margin to function name line edit
|
// Add margin to function name line edit
|
||||||
ui->fcnNameEdit->setTextMargins(5, 0, 0, 0);
|
ui->fcnNameEdit->setTextMargins(5, 0, 0, 0);
|
||||||
|
@ -1233,7 +1233,7 @@ p, li { white-space: pre-wrap; }
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QWebView" name="graphWebView" native="true">
|
<widget class="QWebView" name="graphWebView" native="true">
|
||||||
<property name="contextMenuPolicy">
|
<property name="contextMenuPolicy">
|
||||||
<enum>Qt::NoContextMenu</enum>
|
<enum>Qt::DefaultContextMenu</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="url" stdset="0">
|
<property name="url" stdset="0">
|
||||||
<url>
|
<url>
|
||||||
|
Loading…
Reference in New Issue
Block a user