Getting Started

Total Page:16

File Type:pdf, Size:1020Kb

Getting Started • Hello Qt • Making Connections • Using the Reference 11 Documentation Getting Started This chapter shows how to combine basic C++ with the functionality provided by Qt to create a few small graphical user interface (GUI) applications. This chapter also introduces two key Qt ideas: “signals and slots” and layouts. In Chapter 2, we will go into more depth, and in Chapter 3, we will start building a realistic application. Hello Qt Here’s a very simple Qt program: 001 #include <qapplication.h> 002 #include <qlabel.h> 003 int main(int argc, char *argv[]) 004 { 005 QApplication app(argc, argv); 006 QLabel *label = new QLabel("Hello Qt!", 0); 007 app.setMainWidget(label); 008 label->show(); 009 return app.exec(); 010 } We will first study it line by line, then we will see how to compile and run it. Lines 1 and 2 include the definitions of the QApplication and QLabel classes. Line 5 creates a QApplication object to manage application-wide resources. The QApplication constructor requires argc and argv because Qt supports a few command-line arguments of its own. Line 6 creates a QLabel widget that displays “Hello Qt!”. In Qt terminology, a widget is a visual element in a user interface. Buttons, menus, scroll bars, and frames are all examples of widgets. Widgets can contain other widgets; for 3 4 1. Getting Started example, an application window is usually a widget that contains a QMenuBar,a QToolBar,aQStatusBar, and some other widgets. The 0 argument to the QLabel constructor (a null pointer) means that the widget is a window in its own right, not a widget inside another window. Line 7 makes the label the application’smain widget. When the user closes the main widget (by clicking X in the window’s title bar, for example), the program terminates. Without a main widget, the program would keep running in the background even after the user has closed the window. Line 8 makes the label visible. Widgets are always created hidden, so that we can customize them before showing them, thereby avoiding flicker. Line 9 passes control of the application on to Qt. At this point, the program enters a kind of stand-by mode, where it waits for user actions such as mouse clicks and key presses. User actions generate events (also called “messages”) to which the program can respond, usually by executing one or more functions. In this respect, GUI applications differ drastically from conventional batch programs, which typi- cally process input, produce results, and terminate without human interven- tion. Figure 1.1. Hello on Windows XP It is now time to test the program on your machine. First, you will need to in- stall Qt 3.2 (or a later Qt 3 release), a process that is explained in Appendix A. From now on, we will assume that you have a correctly installed copy of Qt 3.2 and that Qt’s bin directory is in your PATH environment variable. (On Windows, this is done automatically by the Qt installation program, so you don’t need to worry about it.) You will also need the Hello program’s source code in a file called hello.cpp in a directory called hello.You can type in hello.cpp yourself, or copy it from the CD provided with this book, where it is available as \examples\chap01\hello\ hello.cpp. From a command prompt, change directory to hello, then type qmake -project to create a platform-independent project file (hello.pro), then type qmake hello.pro to create a platform-specific makefile from the project file. Run make to build the program, and run the program by typing hello on Windows, ./hello on Unix, and open hello.app on Mac OS X. If you are using Microsoft Visual C++, Hello Qt 5 you will need to run nmake instead of make. Alternatively, you can create a Visual Studio project file from hello.pro by typing qmake -tp vc hello.pro and then build the program in Visual Studio. Figure 1.2. A label with basic HTML formatting Now let’s have some fun: We will brighten up the label by using some simple HTML-style formatting. This can be done by replacing the line QLabel *label = new QLabel("Hello Qt!", 0); with QLabel *label = new QLabel("<h2><i>Hello</i> " "<font color=red>Qt!</font></h2>", 0); and rebuilding the application. Making Connections The next example illustrates how to respond to user actions. The application consists of a button that the user can click to quit. The source code is very similar to Hello, except that we are using a QPushButton instead of a QLabel as our main widget, and we are connecting a user action (clicking a button) to a piece of code. This application’s source code is on the CD in the file \examples\chap01\quit\ quit.cpp. Figure 1.3. The Quit application 001 #include <qapplication.h> 002 #include <qpushbutton.h> 003 int main(int argc, char *argv[]) 004 { 005 QApplication app(argc, argv); 006 QPushButton *button = new QPushButton("Quit", 0); 6 1. Getting Started 007 QObject::connect(button, SIGNAL(clicked()), 008 &app, SLOT(quit())); 009 app.setMainWidget(button); 010 button->show(); 011 return app.exec(); 012 } Qt’s widgets emit signals to indicate that a user action or a change of state has occurred.# For instance, QPushButton emits a clicked() signal when the user clicks the button. A signal can be connected to a function (called a slot in that context), so that when the signal is emitted, the slot is automatically executed. In our example, we connect the button’s clicked() signal to the QApplication object’s quit() slot. The SIGNAL() and SLOT() macros are part of the syntax; they are explained in more detail in the next chapter. We will now build the application. We assume that you have created a direc- tory called quit containing quit.cpp. Run qmake in the quit directory to gener- ate the project file, then run it again to generate a makefile: qmake -project qmake quit.pro Now build the application, and run it. If you click Quit,orpress Space (which presses the button), the application will terminate. The next example demonstrates how to use signals and slots to synchronize two widgets. The application asks for the user’s age, which the user can enter by manipulating either a spin box or a slider. Figure 1.4. The Age application The application consists of three widgets: a QSpinBox,aQSlider, and a QHBox (horizontal layout box). The QHBox is the application’s main widget. The QSpinBox and the QSlider are rendered inside the QHBox; they are children of the QHBox. Caption QHBox QSpinBox QSlider Figure 1.5. The Age application’s widgets #Qt signals are unrelated to Unix signals. In this book, we are only concerned with Qt signals. Making Connections 7 001 #include <qapplication.h> 002 #include <qhbox.h> 003 #include <qslider.h> 004 #include <qspinbox.h> 005 int main(int argc, char *argv[]) 006 { 007 QApplication app(argc, argv); 008 QHBox *hbox = new QHBox(0); 009 hbox->setCaption("Enter Your Age"); 010 hbox->setMargin(6); 011 hbox->setSpacing(6); 012 QSpinBox *spinBox = new QSpinBox(hbox); 013 QSlider *slider = new QSlider(Qt::Horizontal, hbox); 014 spinBox->setRange(0, 130); 015 slider->setRange(0, 130); 016 QObject::connect(spinBox, SIGNAL(valueChanged(int)), 017 slider, SLOT(setValue(int))); 018 QObject::connect(slider, SIGNAL(valueChanged(int)), 019 spinBox, SLOT(setValue(int))); 020 spinBox->setValue(35); 021 app.setMainWidget(hbox); 022 hbox->show(); 023 return app.exec(); 024 } Lines 8 to 11 set up the QHBox.# We call setCaption() to set the text displayed in the window’s title bar. Then we put some space (6 pixels) around and in between the child widgets. Lines 12 and 13 create a QSpinBox and a QSlider with the QHBox as the parent. Even though we didn’t set the position or size of any widget explicitly, the QSpinBox and QSlider appear nicely laid out side by side inside the QHBox. This is because QHBox automatically assigns reasonable positions and sizes to its children based on their needs. Qt provides many classes like QHBox to free us from the chore of hard-coding screen positions in our applications. Lines 14 and 15 set the valid range for the spin box and the slider. (We can safely assume that the user is at most 130 years old.) The two connect() calls shown in lines 16 to 19 ensure that the spin box and the slider are synchro- nized so that they always show the same value. Whenever the value of one widget changes, its valueChanged(int) signal is emitted, and the setValue(int) slot of the other widget is called with the new value. Line 20 sets the spin box value to 35. When this happens, the QSpinBox emits the valueChanged(int) signal with an int argument of 35. This argument is #If you get a compiler error on the QHBox constructor, it means that you are using an older version of Qt. Make sure that you are using Qt 3.2.0 or a later Qt 3 release. 8 1. Getting Started passed to the QSlider’s setValue(int) slot, which sets the slider value to 35.The slider then emits the valueChanged(int) signal, because its own value changed, triggering the spin box’s setValue(int) slot. But at this point, setValue(int) doesn’t emit any signal, since the spin box value is already 35. This prevents infinite recursion. Figure 1.6 summarizes the situation. 1. 00 ¤ S SSSSSSSSSSSSS setValue(35) 2.
Recommended publications
  • Overview Getting the Necessary Code and Files
    Softpress KnowledgeBase Using jQuery Code with Freeway Here we will run through the steps used to implement a jQuery horizontal scrollbar similar to the one which can be found at http://jquerytools.org/documentation/rangeinput/ so it can be used to make content within an item on a page scroll horizontally - but please note that we cannot give specific support or instructions for other JavaScript functionality you may find on the web. This is because the way the code is used and edited (sometimes by doing your own hand-coding) varies greatly from one to the next - and many of the sites which offer the code give very limited details of how it needs to be used, sometimes to the point that only those with excellent coding skills will be able to use it. As you will see, this is a long and complex procedure - and this will be the same with any other web design application unless a Freeway Action (or a similar method in other applications) is available to use to simplify the process. It is very important to note that mixing and matching JavaScript libraries on the same page will often cause conflicts. This means that using jQuery functionality on a page will break the Scriptaculous functionality used by many Freeway Actions. This will be discussed later in this article with a specific example. Sometimes this can be fixed by specifying some "NoConflict" code - however, this cannot be fixed with this particular jQuery function without a major rewrite of the supplied jQuery code. Overview We are often asked by customers how a particular website has used some special functionality, and they ask if this can be done in Freeway.
    [Show full text]
  • Spot-Tracking Lens: a Zoomable User Interface for Animated Bubble Charts
    Spot-Tracking Lens: A Zoomable User Interface for Animated Bubble Charts Yueqi Hu, Tom Polk, Jing Yang ∗ Ye Zhao y Shixia Liu z University of North Carolina at Charlotte Kent State University Tshinghua University Figure 1: A screenshot of the spot-tracking lens. The lens is following Belarus in the year 1995. Egypt, Syria, and Tunisia are automatically labeled since they move faster than Belarus. Ukraine and Russia are tracked. They are visible even when they go out of the spotlight. The color coding of countries is the same as in Gapminder[1], in which countries from the same geographic region share the same color. The world map on the top right corner provides a legend of the colors. ABSTRACT thus see more details. Zooming brings many benefits to visualiza- Zoomable user interfaces are widely used in static visualizations tion: it allows users to examine the context of an interesting object and have many benefits. However, they are not well supported in by zooming in the area where the object resides; labels overcrowded animated visualizations due to problems such as change blindness in the original view can be displayed without overlaps after zoom- and information overload. We propose the spot-tracking lens, a new ing in; it allows users to focus on a local area and thus reduce their zoomable user interface for animated bubble charts, to tackle these cognitive load. problems. It couples zooming with automatic panning and provides In spite of these benefits, zooming is not as well supported in an- a rich set of auxiliary techniques to enhance its effectiveness.
    [Show full text]
  • Horizontal Testimonial Slider Plugin Wordpress
    Horizontal Testimonial Slider Plugin Wordpress Jefferson often dallying aliunde when Acheulean Randal romanticized plum and intensified her egocentrism. When Inigo frizzed his strophanthus break-in not momentously enough, is Sylvan vicious? Smartish and drowsy Lawrence carpetbagging his manumission pull-off euhemerized deprecatorily. Both vertical image will have already provides a wordpress plugin or affiliated with god Horizontal Testimonials Slider WordPress Themes from. Explore 27 different WordPress slider plugins that god help you. Divi expand the hover Ingrossocaramelleit. Add testimonials as slides and embed on came in a slider form. WordPress Slider Plugins Best Interactive Plugins for 2020. Vertical Align Center Testimonials Height Show PreviousNext Buttons Hide Featured Image Hide Microdata hReview Testimonial Rotator. Are Logos Copyrighted or Trademarked by Stephanie Asmus. How will Write a Testimonial With Examples Indeedcom. Responsive framework for developers and sequence's also convene for WordPress as well. 14 Testimonial Page Examples You'll goes to Copy HubSpot Blog. WordPress Testimonial Slider WordPress Plugin. Gallery Layout Horizontal Slider Thumbnails To prepare Awesome book it doesn't work. Testimonial Slider Essential Addons for Elementor. Your testimonial page serves as a platform to jerk off how others have benefited from your product or decline making it become powerful perfect for establishing trust and encouraging potential buyers to accomplish action. Display vertical carousel slider with the wolf of a shortcode Aftab Husain 200 active installations Tested with 561. Responsive testimonials bootstrap. WordPress Scroller Horizontal jQuery Image Scroller with Video. Display modes you know divi modules and mobile devices, horizontal slider is configured inside testimonials, custom code of mouth. How do we show testimonials in WordPress? Banner rotator testimonial scrollerimage tickerrecent post sliderresponsive.
    [Show full text]
  • (12) United States Patent (10) Patent No.: US 6,512,530 B1 Rzepkowski Et Al
    USOO65.1253OB1 (12) United States Patent (10) Patent No.: US 6,512,530 B1 Rzepkowski et al. (45) Date of Patent: Jan. 28, 2003 (54) SYSTEMS AND METHODS FOR 5,751,285 A * 5/1998 Kashiwagi et al. ......... 345/833 MIMICKING AN IMAGE FORMING OR 6,331,864 B1 12/2001 Coco et al. ............. 345/771 X CAPTURE DEVICE CONTROL PANEL * cited by examiner CONTROL ELEMENT Primary Examiner John Cabeca (75) Inventors: Kristinn R. Rzepkowski, Rochester, ASSistant Examiner X. L. Bautista NY (US); Thomas J. Perry, Pittsford, (74) Attorney, Agent, or Firm-Oliff & Berrdige, PLC NY (US); Joseph G. Rouhana, Rochester, NY (US); John M. Pretino, (57) ABSTRACT Macedon, NY (US) A graphical user interface widget includes a vertically oriented Slider portion. The slider portion includes a slider (73) Assignee: Xerox Corporation, Stamford, CT pointer that indicates a current value of the slider and a Slider (US) bar that indicates the default value of the slider. The bottom - - - - 0 and top edges of the Slider portion are labeled with the (*) Notice: Subject to any disclaimer, the term of this extreme values of the range for the variable associated with patent is extended or adjusted under 35 the slider portion. The slider pointer divides the slider U.S.C. 154(b) by 0 days. portionSlider into p two Subportions. Anp appearance of a bottom subportion of the slider portion is altered to reflect the value (21) Appl. No.: 09/487,268 currently indicated by the slider pointer relative to the (22) Filed: Jan. 19, 2000 extreme values of the range represented by the Slider.
    [Show full text]
  • A Compact and Rapid Selector
    Boston,MassachusettsUSAo April24-28,1994 HumanFactorsin ComputingSystems Q The Alphaslider: A Compact and Rapid Selector Christopher Ahlberg* and Ben Shneidennan Department of Computer Science, Human-Computer Interaction Laboratory & Institute for Systems Research University of Maryland, College Park, MD 20742 E-mail: [email protected] .se, [email protected] Tel: +1-301-405-2680 ABSTRACT Much of the research done on selection mechanisms has Research has suggested that rapid, serial, visual focused on menus [5,16]. To make menu selections presentation of text (RSVP) may be an effective way to effective various techniques have been explored, such as scan and search through lists of text strings in search of menus with different ratios of breath and width, and menus words, names, etc. The Alphaslider widget employs RSVP where items are sorted by how frequently they are selected as a method for rapidly scanning and searching lists or [16,20]. The RIDE interface explored in [19] allows users menus in a graphical user interface environment. The to incrementally construct strings from legal alternatives Alphaslider only uses an area less than 7 cm x 2.5 cm. The presented on the screen and thereby elminate user errors. tiny size of the Alphaslider allows it to be placed on a credit card, on a control panel for a VCR, or as a widget in Scrolling lists [2,17] share many of the attributes of menus a direct manipulation based database interface. An and are often used for selecting items from lists Figure 1]. experiment was conducted with four Alphaslider designs Research has shown that items in scrolling lists should be which showed that novice AlphaSlider users could locate presented in a vertical format [3], items should be sorted one item in a list of 10,000 film titles in 24 seconds on [10], and that 7 lines of information is more than adequate average, an expert user in about 13 seconds.
    [Show full text]
  • Sketchsliders: Sketching Widgets for Visual Exploration on Wall Displays Theophanis Tsandilas, Anastasia Bezerianos, Thibaut Jacob
    SketchSliders: Sketching Widgets for Visual Exploration on Wall Displays Theophanis Tsandilas, Anastasia Bezerianos, Thibaut Jacob To cite this version: Theophanis Tsandilas, Anastasia Bezerianos, Thibaut Jacob. SketchSliders: Sketching Widgets for Visual Exploration on Wall Displays. Proceedings of the 33rd Annual ACM Conference on Human Factors in Computing Systems, ACM, Apr 2015, Seoul, South Korea. pp.3255-3264, 10.1145/2702123.2702129. hal-01144312 HAL Id: hal-01144312 https://hal.archives-ouvertes.fr/hal-01144312 Submitted on 21 Apr 2015 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. SketchSliders: Sketching Widgets for Visual Exploration on Wall Displays Theophanis Tsandilas1;2 Anastasia Bezerianos2;1 Thibaut Jacob1;2;3 [email protected] [email protected] [email protected] 1INRIA 2Univ Paris-Sud & CNRS (LRI) 3Telecom ParisTech & CNRS (LTCI) F-91405 Orsay, France F-91405 Orsay, France F-75013 Paris, France Figure 1. SketchSliders (left) allow users to directly sketch visualization controllers to explore multi-dimensional datasets. We explore a range of slider shapes, including branched and circular, as well as shapes that express transformations. SketchSliders control visualizations on a wall display (right). ABSTRACT analysis and exploration. Nevertheless, choosing appropriate We introduce a mobile sketching interface for exploring techniques to explore data in such environments is not a sim- multi-dimensional datasets on wall displays.
    [Show full text]
  • Gotomypc® User Guide
    GoToMyPC® User Guide GoToMyPC GoToMyPC Pro GoToMyPC Corporate Citrix Online 6500 Hollister Avenue • Goleta CA 93117 +1-805-690-6400 • Fax: +1-805-690-6471 © 2009 Citrix Online, LLC. All rights reserved. GoToMyPC® User Guide Contents Welcome ........................................................................................... 4 Getting Started .................................................................................. 1 System Requirements ....................................................................... 1 Notes on Installation and Feature Access ............................................. 1 Versions of GoToMyPC ...................................................................... 1 Mac Users .................................................................................... 1 Upgrade Information ......................................................................... 2 Useful GoToMyPC Terms .................................................................... 4 Features ......................................................................................... 5 Set Up a Host Computer .................................................................... 6 Create Your Account (first-time users) .............................................. 6 Set Up a Host PC ........................................................................... 7 Leaving the Host Computer Accessible................................................. 8 Managing Billing and Account Information ........................................ 9 Change Your
    [Show full text]
  • Release Notes – Experience 2.35.5.En – ATC-ATM
    ReDat eXperience v 2.35.5 Release notes ATC-ATM ReDat eXperience 2.35.5 Release notes Issued: 01/2020 v 2.35.5 rev. 1 Producer: RETIA, a.s. Pražská 341 Zelené Předměstí 530 02 Pardubice Czech Republic with certified system of quality control by ISO 9001 and member of AOBP The manual employs the following fonts for distinction of meaning of the text: Bold names of programs, files, services, modules, functions, parameters, icons, database tables, formats, numbers and names of chapters in the text, paths, IP addresses. Bold, italics names of selection items (options of combo boxes, degrees of authorization), user names, role names. LINK, REFERENCE . in an electronic form it is a functional link to the chapter. Courier, bold . source code, text from log files, text from config files. Example, demonstration. 2020 Note, hint. Warning, alert. © Copyright RETIA, a.s. RETIA, Copyright © 2 ReDat eXperience 2.35.5 Release notes Content 1. KNOWN INCOMPATIBILITIES........................................................................................................... 4 2. RENAMING SERVICES IN EXPERIENCE ........................................................................................... 5 2.1 MAIN - SERVICES ..................................................................................................................................... 5 3. MONITORING .................................................................................................................................. 5 3.1 INDICATION – OPERATION .......................................................................................................................
    [Show full text]
  • A Study on Interaction of Gaze Pointer-Based User Interface in Mobile Virtual Reality Environment
    S S symmetry Article A Study on Interaction of Gaze Pointer-Based User Interface in Mobile Virtual Reality Environment Mingyu Kim, Jiwon Lee ID , Changyu Jeon and Jinmo Kim * ID Department of Software, Catholic University of Pusan, Busan 46252, Korea; [email protected] (M.K.); [email protected] (J.L.); [email protected] (C.J.) * Correspondence: [email protected]; Tel.: +82-51-510-0645 Received: 7 August 2017; Accepted: 6 September 2017; Published: 11 September 2017 Abstract: This research proposes a gaze pointer-based user interface to provide user-oriented interaction suitable for the virtual reality environment on mobile platforms. For this purpose, a mobile platform-based three-dimensional interactive content is produced to test whether the proposed gaze pointer-based interface increases user satisfaction through the interactions in a virtual reality environment based on mobile platforms. The gaze pointer-based interface—the most common input method for mobile virtual reality content—is designed by considering four types: the visual field range, the feedback system, multi-dimensional information transfer, and background colors. The performance of the proposed gaze pointer-based interface is analyzed by conducting experiments on whether or not it offers motives for user interest, effects of enhanced immersion, provision of new experience, and convenience in operating content. In addition, it is verified whether any negative psychological factors, such as VR sickness, fatigue, difficulty of control, and discomfort in using contents are caused. Finally, through the survey experiment, this study confirmed that it is possible to design different ideal gaze pointer-based interface in mobile VR environment according to presence and convenience.
    [Show full text]
  • Iab Slider to Guide
    HOW - IAB SLIDER TO GUIDE This publisher document explains how to traffic an IAB Rising Star Slider ad in ZEDO. Terminology : IAB SLIDER • Slider Bar: The floating banner that appears initially at the bottom of the page. • Slider Bar Active Ad Content: The area within the Slider Bar that can be used for branding. (The gutters may not be safe areas for branding because of different window sizes and display resolutions.) • Slider Content: The full ad area that is pushed in from the side How It Works • Ad loads anchored to the bottom of the page. • Mouseover or click triggers the publisher page to slide to the left, revealing the Slider Content on the right. • For video files [mp4, flv] as the expanded unit, users can mouse over the ad for sound and click to view the ad full screen. Prerequisites • Flash files must be created per the IAB Style guide: http://www.iab.net/media/file/IAB_Slider_Specs_Final.pdf Implementation 1. Generate custom ad code 2. Traffic ad code 3. Generate ad tag 4. Place ad tag on publisher page or run in 3rd party ad server Generate custom ad code Create Ad >> Custom code generator Page 1 of 3 ZEDO, Inc. CONFIDENTIAL Updated June 2013 HOW - TO GUIDE : IAB SLIDER Figure 1: Custom Code Generator for IAB Slider Select Ad Format: IAB Slider • Anchored Unit [Base Unit] o Add base file [.swf only] o Ad Dimension § IAB 950x90 § If you select this dimension, the Expanded Slider will automatically have a dimension of 950x460 § Define custom ad dimension o Enter Clickthrough URL o Upload Alternative (backup) image for non flash-enabled browsers and devices Page 2 of 3 ZEDO, Inc.
    [Show full text]
  • Chapter 11: Scrolling
    In this chapter: • Scrollbar • Scrolling An Image 11 • The Adjustable Interface • ScrollPane Scrolling This chapter describes how Java deals with scrolling. AWT provides two means for scrolling. The first is the fairly primitive Scrollbar object. It really provides only the means to read a value from a slider setting. Anything else is your responsibility: if you want to display the value of the setting (for example, if you’re using the scrollbar as a volume control) or want to change the display (if you’re using scroll- bars to control an area that’s too large to display), you have to do it yourself. The Scrollbar reports scrolling actions through the standard event mechanisms; it is up to the programmer to handle those events and perform the scrolling. Unlike other components, which generate an ACTION_EVENT when something exciting happens, the Scrollbar generates five events: SCROLL_LINE_UP, SCROLL_LINE_DOWN, SCROLL_PAGE_UP, SCROLL_PAGE_DOWN, and SCROLL_ABSOLUTE.In Java 1.0, none of these events trigger a default event handler like the action() method. To work with them, you must override the handleEvent() method. With Java 1.1, you handle scrolling events by registering an AdjustmentListener with the Scrollbar.addAdjustmentListener() method; when adjustment events occur, the listener’s adjustmentValueChanged() method is called. Release 1.1 of AWT also includes a ScrollPane container object; it is a response to one of the limitations of AWT 1.0. A ScrollPane is like a Panel, but it has scroll- bars and scrolling built in. In this sense, it’s like TextArea, which contains its own scrollbars. You could use a ScrollPane to implement a drawing pad that could cover an arbitrarily large area.
    [Show full text]
  • User's Manual
    USER’S MANUAL 2 - © 2019. All Rights Reserved. TravelMate P6 Covers: P614-51 / P614-51G This revision: June 2019 Important This manual contains proprietary information that is protected by copyright laws. The information contained in this manual is subject to change without notice. Some features described in this manual may not be supported depending on the Operating System version. Images provided herein are for reference only and may contain information or features that do not apply to your computer. Acer Group shall not be liable for technical or editorial errors or omissions contained in this manual. Register your Acer product 1. Ensure you are connected to the Internet. 2. Open the Acer Product Registration app. 3. Install any required updates. 4. Sign up for an Acer ID or sign in if you already have an Acer ID, it will automatically register your product. After we receive your product registration, you will be sent a confirmation email with important data. Model number: _________________________________ Serial number: _________________________________ Date of purchase: ______________________________ Place of purchase: ______________________________ Table of contents - 3 TABLE OF CONTENTS First things first 6 Securing your computer 42 Your guides ............................................. 6 Using a computer security lock.............. 42 Basic care and tips for using your Using passwords ................................... 42 computer.................................................. 6 Entering passwords .................................. 43 Turning your computer off........................... 6 Fingerprint Reader 44 Taking care of your computer ..................... 7 How to use the fingerprint reader .......... 44 Taking care of your AC adapter .................. 8 Cleaning and servicing................................ 8 Face Recognition 49 Your Acer notebook tour 9 How to use the Face Recognition.......... 49 Screen view............................................
    [Show full text]