如何为QuickLook插件开发/创建GUI? [英] How to develop/create a GUI for a QuickLook plugin?

查看:153
本文介绍了如何为QuickLook插件开发/创建GUI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到了很多QuickLook插件(例如 BetterZip快速外观生成器 )以及它们整洁的界面...我试图使用HTML和JQuery设计自己的GUI,但我认为这不是一个很好的解决方案(最重要的是,Xcode 5.1并没有这样做)不再允许您使用<src>属性包含或打开其他目录中的文件.

I saw lots of QuickLook plugins (like BetterZip Quick Look Generator) coming together with their nice and tidy interfaces...I tried to design the GUI of my own one using HTML and JQuery, but I don't think that it's a good solution (plus, on top of that, Xcode 5.1 doesn't allow you anymore to include or open files from other directories with the <src> attribute).

我永远不会感谢Jelle Vandebeeck用他的美丽而有用的帖子,但不幸的是,互联网上没有关于该主题的任何信息(我认为《大书呆子牧场指南》中可能有一些内容,但不会在10月之前发布) ).

I'll never thank enough Jelle Vandebeeck for opening my mind with his beautiful and helpful post, but unfortunately there's nothing on the internet regarding this topic (I think that there might be something on The Big Nerd Ranch Guide, but it won't be out before October).

所以,我想知道是否有人:

So, I was wondering if anybody of you:

选项A-知道指南的标题,该指南可以解释如何以教学"方式(如教科书,逐步介绍)为我的QuickLook插件开发/创建GUI;

OPTION A - Knows the title of a guide that can explain how to develop/create a GUI for my QuickLook plugin in a "didactic" way (like a text book, step-by-step);

选项B-可以在答案中写下几行代码,以插入带有通常的"Hello World!"的按钮和文本字段.

OPTION B - Could write down in the answer a couple of code lines to insert a button and a text field with the usual "Hello World!".

我有一个与主要问题相关的子问题:是否可以保留QuickLook窗口的半透明白色/灰色背景色(就像您选择(例如,选择一个音频文件时)出现的那样)通常有?

I have a sub-question related to the main one: is it possible to keep the semi-transparent white/grey background colour that a QuickLook window (like the one that appears when you select -for example- an audio file) usually has?

非常感谢您!

推荐答案

就指南而言,有

In terms of a guide, there's the QuickLook Programming Guide over in the documentation. It goes over the architecture of QuickLook and walks you through the various steps of building a QuickLook plugin, including one that returns rich HTML content.

与此相关的是有关如何将QuickLook集成到您自己的应用程序中的一些文档,但是听起来您对插件方面更感兴趣.

Related to this are a couple of pieces of documentation on how to integrate QuickLook into your own app, but it sounds like you're more interested in the plugin aspect.

这篇关于如何为QuickLook插件开发/创建GUI?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆