Many text editors open a new tab and not a new editor window when a second (etc. etc.) document is opened. For my program that displays curves of simulation results I wanted to have similar behaviour. This program is written in Qt using Qwt (also see this earlier post). This program already supports drag and drop and file association (i.e. double clicking on a file to open it with this program). To prevent a second program from opening when a second file associated with this program is double clicked I only had to follow this example.
Saturday, May 18, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment