|
Joined: Mar 2008
Posts: 1,049
Very Senior Member
|
OP
Very Senior Member
Joined: Mar 2008
Posts: 1,049 |
I was so happy thinking that PDF viewer made with pdf.js was already working in QMC2 ... Either way when the support is for pdf come, it will open the PDF likewise, don't will? So the code should works 
"A user interface is like a joke. If you have to explain it, it's not that good."
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
PDF.js is just the JS library I will be using for this, but none of the "surroundings" exist yet... and yes, both can work in parallel. However, the reader plugin isn't available everywhere...
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Mar 2008
Posts: 1,049
Very Senior Member
|
OP
Very Senior Member
Joined: Mar 2008
Posts: 1,049 |
"A user interface is like a joke. If you have to explain it, it's not that good."
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
Nice  ! Although... I've JUST committed SVN r4366 which makes JavaScript actions available to notes-templates as well  ! The latest Win32 VC++ build doesn't include this, though...
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Mar 2008
Posts: 1,049
Very Senior Member
|
OP
Very Senior Member
Joined: Mar 2008
Posts: 1,049 |
Nice  ! Although... I've JUST committed SVN r4366 which makes JavaScript actions available to notes-templates as well  ! The latest Win32 VC++ build doesn't include this, though... It will surely useful in future 
"A user interface is like a joke. If you have to explain it, it's not that good."
|
|
|
|
Joined: Mar 2008
Posts: 1,049
Very Senior Member
|
OP
Very Senior Member
Joined: Mar 2008
Posts: 1,049 |
A LOT of improvements since last image post, well, so soon I'll detail all of them http://migre.me/bg3sEPs.: Now the images are fading while loading and the bars on top and bottom are fix, don't matter the height available. Thanks René for suggesting and implement these features 
"A user interface is like a joke. If you have to explain it, it's not that good."
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
With all the latest changes to the support for notes-templates, I guess it's worth posting a new screen shot of the current example/default system-notes template  : 
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
|
Joined: Dec 2009
Posts: 351
Senior Member
|
Senior Member
Joined: Dec 2009
Posts: 351 |
@both QMC2 and Shideravan would it be possible to have the images centred along y axis as well? I think it would look cleaner And can I have one of Shideravan's templates to try 
Last edited by ASH; 10/27/12 11:17 AM.
|
|
|
|
Joined: Mar 2008
Posts: 1,049
Very Senior Member
|
OP
Very Senior Member
Joined: Mar 2008
Posts: 1,049 |
Mine templates are centered along y axis (valign middle)!
@ASH: I'll send for you by PM!
"A user interface is like a joke. If you have to explain it, it's not that good."
|
|
|
|
Joined: May 2008
Posts: 4,930 Likes: 24
Very Senior Member
|
Very Senior Member
Joined: May 2008
Posts: 4,930 Likes: 24 |
@ASH: yeah, it's using valign="center" now on all images... also, it's now possible to choose the background mode (default/color/image-tiled/image-scaled), the background color or image, and the text foreground/background colors. For this I've added two new slots to the notes-editor which you can call from tempate-JS: qmc2NotesEditorObject.getColor() / .getImage(). Both will open corresponding color- / file-selection dialogs and return the HTML color code (#XXXXXX) / path to the chosen file. See wiki for details.
A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
|
|
|
Forums9
Topics9,239
Posts120,946
Members5,061
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|