index.lxp@lxpwrap=c411_252ehtm.htm
来自「GUI Programming with Python」· HTM 代码 · 共 324 行
HTM
324 行
<table border="0" cellspacing="0" cellpadding="3" width="100%"><tr><td> <div align="center" id="bldcontent"> <a href="../default.htm"><img src="../images/opendocs.png" width="63" height="76" border="0"></a> <br> <div class="symbol">Your OpenSource Publisher™</div> </div> </td></tr></table> <div align="center" class="author"> <a href="../products.lxp">Products</a> | <a href="../wheretobuy.lxp">Where to buy</a> | <a href="../bookstore.lxp">Retailers</a> | <a href="../faq.lxp">FAQ</a> | <a href="../writeforus.lxp">Write for Us.</a> | <a href="#contact">Contact Us.</a> </div> <table border="0" cellspacing="3" cellpadding="0" width="100%"><tr><td width="100%"> <div class="content"> <table border="0" cellspacing="2" cellpadding="0" width="100%"><tr><td width="100%"> <div align="center"><H4 CLASS="AUTHOR"><A NAME="AEN5">Boudewijn Rempt</A><br><a href="../../https@secure.linuxports.com/opendocs/default.htm"><img src=odpyqt125.png></a><br>ISBN: 0-97003300-4-4<br><a href="../../https@secure.linuxports.com/opendocs/default.htm">Available from bookstores everywhere or you can order it here.</a><p>You can download the source files for the book <a href="pyqtsrc.tgz">(code / eps) here.</a><hr></div> <HTML><HEAD><TITLE>Interface</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.72"><LINKREL="HOME"TITLE="GUI Programming with Python: QT Edition"HREF="book1.htm"><LINKREL="UP"TITLE="Introduction to the BlackAdder IDE"HREF="p266.htm"><LINKREL="PREVIOUS"TITLE="Installing sip and PyQt without BlackAdder"HREF="x327.htm"><LINKREL="NEXT"TITLE="Toolbars"HREF="x455.htm"></HEAD><BODYCLASS="CHAPTER"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">GUI Programming with Python: QT Edition</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><A accesskey="P" href="index.lxp@lxpwrap=x327_252ehtm.htm">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><A accesskey="N" href="index.lxp@lxpwrap=x455_252ehtm.htm">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="CHAPTER"><H1>Chapter 3. Interface</A></H1><DIVCLASS="TOC"><DL><DT><B>Table of Contents</B></DT><DT><A href="index.lxp@lxpwrap=c411_252ehtm.htm#AEN440">Menubar</A></DT><DT><A href="index.lxp@lxpwrap=x455_252ehtm.htm">Toolbars</A></DT><DT><A href="index.lxp@lxpwrap=x545_252ehtm.htm">Project management</A></DT><DT><A href="index.lxp@lxpwrap=x584_252ehtm.htm">BlackAdder Configuration</A></DT><DT><A href="index.lxp@lxpwrap=x615_252ehtm.htm">Editing</A></DT><DT><A href="index.lxp@lxpwrap=x635_252ehtm.htm">Python shell</A></DT><DT><A href="index.lxp@lxpwrap=x650_252ehtm.htm">Conclusion</A></DT></DL></DIV><P>In this chapter we quickly walk through the various components of the BlackAdder IDE. Once you have BlackAdder installed, you can start it by typing <BCLASS="COMMAND">ba</B> at the Unix shell prompt, or double-clicking the new icon on your desktop. You'll be greeted by a stylish splash screen, followed by the BlackAdder application window.</P><DIVCLASS="NOTE"><BLOCKQUOTECLASS="NOTE"><P><B>Note: </B>Please keep in mind that this chapter was written using the <SPAN><ICLASS="EMPHASIS">beta</I></SPAN> version of BlackAdder. As a result, certain aspects of BlackAdder were not yet in their final form. For instance, the toolbar icons are expected to change.</P></BLOCKQUOTE></DIV><DIVCLASS="MEDIAOBJECT"><P><DIVCLASS="CAPTION"><P>BlackAdder and its ‘About' dialog.</P></DIV></P></DIV><P>If, on the other hand, you are confronted by a window telling you that the Python interpreter has died, you will probably need to correctly set the path to the Python interpreter executable (either <BCLASS="COMMAND">python</B> or <BCLASS="COMMAND">python.exe</B> on Windows), as described in <A href="index.lxp@lxpwrap=c271_252ehtm.htm#CH21-INSTALLING-LINUX">the Section called <I>Linux</I> in Chapter 2</A>.</P><DIVCLASS="MEDIAOBJECT"><P><DIVCLASS="CAPTION"><P>Python has given the ghost.</P></DIV></P></DIV><P>However, if all is well, you can start exploring your new development environment.</P><DIVCLASS="SECT1"><H1CLASS="SECT1">Menubar</A></H1><P>The BlackAdder menubar combines functionality for the editing of Python source code and the creation of GUI forms.</P><P>The <SPANCLASS="GUIMENU">Tools</SPAN>, <SPANCLASS="GUIMENU">Layout</SPAN> and <SPANCLASS="GUIMENU">Preview</SPAN> menus contain commands for the creation of forms, while <SPANCLASS="GUIMENU">Run</SPAN> is used to start and debug Python scripts. <SPANCLASS="GUIMENU">File</SPAN> and <SPANCLASS="GUIMENU">Edit</SPAN> have commands for both tasks.</P><P>You can hide or unhide various important parts of BlackAdder with options from the <SPANCLASS="GUIMENU">Window</SPAN> menu. These are the project Explorer, the Property Editor, the Object Hierarchy window, the Traceback viewer and the Python interpreter window.</P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><A accesskey="P" href="index.lxp@lxpwrap=x327_252ehtm.htm">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><A accesskey="H" href="index.lxp@lxpwrap=book1_252ehtm">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><A accesskey="N" href="index.lxp@lxpwrap=x455_252ehtm.htm">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing sip and PyQt without BlackAdder</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><A accesskey="U" href="index.lxp@lxpwrap=p266_252ehtm.htm">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Toolbars</TD></TR></TABLE></DIV></BODY></HTML> </td> </tr> </table> </td> </tr> </table>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?