Function to launch a document from within a QT program written in Javascript

Closed Posted 6 years ago Paid on delivery
Closed Paid on delivery

I am using an open source QT based program that uses Javascript functions to add right click mouse menu functionality. I would like you to write a Javascript function that will launch a PDF file using the default PDF viewer of the user's operating system. I will be pulling the file from a Postgres DB, but for this project you can define a local PDF file to launch.

Sample of the current Javascript mouse menu code:

function populateMenu(pMenu, selected, column)

{

if ([login to view URL]() == "") { return; }

var menuItem1 = [login to view URL](qsTr("View File"));

[login to view URL](viewFile);

}

function viewFile()

{

var params = new Object;

params.wo_id =[login to view URL]();

[login to view URL] = "view";

var newdlg = [login to view URL]("myFile", mywindow, [login to view URL], [login to view URL]);

[login to view URL]().set(params);

}

JavaScript Qt

Project ID: #15429704

About the project

2 proposals Remote project Active 6 years ago

2 freelancers are bidding on average $155 for this job

liangjongai

Hi, sir I have looked your requirements and I get what u want. I have good skills in QT. My price and period is negotiable. We can discuss the details via chat. Thanks. Relevant Skills and Experience I have much exper More

$155 USD in 3 days
(72 Reviews)
6.4
alexgospodarets

Hi! I have 10+ years of web developing experience. I can promise quality and responsibility. We can start IMMEDIATELY. Stay tuned, I'm still working on this proposal.

$155 USD in 1 day
(12 Reviews)
4.3