Welcome! Here you can paste sources and general debugging text, You can even set yourself a password if you want to keep it just for yourself.

Posted by removeev on March Wed 5th 3:12 PM - Never Expires - Views: 517

  1. MainWindow::MainWindow(QWidget *parent) :
  2.     QMainWindow(parent),
  3.     ui(new Ui::MainWindow)
  4. {
  5.  
  6.     ui->setupUi(this);
  7.     // remove right click mouse
  8.     ui->webView->setContextMenuPolicy(Qt::NoContextMenu);
  9.     // set url for server
  10.     ui->webView->setUrl(QUrl("http://localhost:3000"));
  11.  
  12. }
Language:
To highlight particular lines, prefix each line with @@




© 2017  YSblue.com.br (Implemented and Adapted) - Powered by PASTE 1.0