⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c411.htm

📁 GUI Programming with Python
💻 HTM
字号:
<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"><AHREF="x327.htm"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom"></TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="x455.htm"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="CHAPTER"><H1><ANAME="CH22">Chapter 3. Interface</A></H1><DIVCLASS="TOC"><DL><DT><B>Table of Contents</B></DT><DT><AHREF="c411.htm#AEN440">Menubar</A></DT><DT><AHREF="x455.htm">Toolbars</A></DT><DT><AHREF="x545.htm">Project management</A></DT><DT><AHREF="x584.htm">BlackAdder Configuration</A></DT><DT><AHREF="x615.htm">Editing</A></DT><DT><AHREF="x635.htm">Python shell</A></DT><DT><AHREF="x650.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 &#8216;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     <AHREF="c271.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"><ANAME="AEN440">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"><AHREF="x327.htm"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="book1.htm"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="x455.htm"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing       sip and PyQt without BlackAdder</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="p266.htm"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Toolbars</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -