Programming with QT: Writing Portable GUI Applicat
Writing Portable GUI applications on UNIX and Win32
First Edition April 1999
ISBN 978-1-56592-588-5
Seiten 380
Dieser Titel ist vergriffen und nicht mehr lieferbar!
Weitere Informationen zu diesem Buch
Errata
Page Comment
(2) first paragraph: change "security" to "safety"
(5) first paragraph: change "slower" to "faster"
(5) next-to-last paragraph: change "GUI-layering" to "API-layering"
(6) first paragraph, first line: change "not" to "no"
(7) second command-line example: change "xvfz" to "xvzf"
(17) next-to-last paragraph: change "Annotated class list view" to
"Annotated Class List"
(26) First paragraph of "Another example...": Replace "own" with
"user-defined"
(27) Listing: replace "QLCDNumber* mylcdnum = new QWidget..." with
"QLCDNumber* mylcdnum = new QLCDNumber..."
(28) Change the line number 2 in the first line to 26.
(28) In the second item of "Running moc", the section "Building
Projects Portably with tmake" is located in the chapter
"Portability".
(34) The s of QPaintDevices in the last but one line should be
typeset in roman.
(36) Exercise 2: Remove first occurrence of "use".
(36) Add the following hint to exercise 3: "Closing the application
can be done by calling qApp->quit()".
(39) The destructor in the listing should be typeset in bold.
(49) Lines 70-71 should be typeset in bold.
(52) Lines 212-221 should be typeset in bold.
(53) Lines 260, 263, 266, 269 and 272 should be typeset in bold.
(53) Last paragraph: The "addChild()" invocation mentioned is the
one on line 219 (page 52).
(72) First paragraph: Replace "ScribbleArea::slotLoad()" and
"ScribbleArea::slotSave()" with "ScribbleWindow::slotLoad()"
and "ScribbleWindow::slotSave()", respectively.
(81) In the second code block, there should be quotation marks
around "Choice2" and "Choice3" (like with "Choice1"). Also,
the quotation marks around parent need to be removed.
(84) Last paragraph: add "or check boxes" at the end of the
sentence.
(84) Fifth paragraph: The section "Validating User Input" is
contained in the chapter "Text Processing".
(86) Add before "Spin boxes": "For a full example, see the section
"Another example for signals and slots" on pp 26-29."
(88) Third paragraph, last line: Replace "sliderMoved()" by
"sliderMoved( int )".
(93) Second paragraph, second line: Remove "size".
(93) Last sentence: Remove first "only".
(95) First paragraph of "Labels": Insert "are" between "there" and
"two".
(100) An addition to the discussion of setStretchableWidget(): If
you don't want one of your widgets stretched, but still want
the toolbar to occupy the whole width of the main window, you
can add a dummy QLabel with no text or image and make this the
stretchable widget. It will have no visual appearance of its
own but occupy the remaining space.
(100) First paragraph of "Status bars": Reverse "only" and "text"
(104) Last sentence before code example: insert "a" between "small"
and "example"
(111) last line: change "the the" to "the"
(118) Fourth and last paragraph: Replace "cancel" with "Cancel"
(119) In the first line, insert an "is" between "This" and "no".
(121) Listing, line 108: Remove "&".
(122) second paragraph: change "the the" to "the"
(124) The Usenet posting mentioned is no longer in the reference
documentation, however, its contents has been worked into the
description.
(126) Description of QBoxLayout: Replace "QBoxLayout" with
"QVBoxLayout".
(126) activate() should not be called in Qt 2.0.
(132) Second paragraph, last but one line: remove the "then".
(134) Last but one line: Replace "increase" with "optimize"
(139) third item: change "swouldn't" to "wouldn't", change "he" to "she.
(139) fourth item: insert "be presented" between "he should" and
"with the text"
(140) First line: Replace "progess" with "progress"
(145) Second line: Remove the "a" before "non-trivial"
(146) First code example: Add a semicolon at the end
(149) Code block, last but two line: change "it" to "iterator".
(155) Fifth paragraph, second line: insert "a" between "than" and
"page"
(163) First paragraph of "Advanced QPainter...": Replace "far the
beyond" with "far beyond the"
(165) Replace "QWMMatrix" with "QWMatrix" (three times)
(166) Replace "QWMMatrix" with "QWMatrix" (three times)
(167) Last but one paragraph, last but one line: Remove second "it"
(168) Last paragraph, line 6: Remove second "further"
(169) Replace "called that is" with "that is called"
(186) Second code example: Replace "true" with "false".
(256) The section "Managing Colors" mentioned in the description of
QApplication::setColorSpec() is located in the chapter "Graphics".
(311) second paragraph: change "witha" to "with a"
(317) In the explanation for exercise 1, remove the sentence about
tracking.
(323) change the second "called" to "selected"
(329) Add to the explanation of exercise 1 of "Adding a Scrolled
View": "qkeycode.h is the include file for the key definitions
like Key_Up".
(329) Add to the explanation of exercise 1 of "Adding a Context
Menu": "You also need to add the lines
signals:
void colorMenuSelected( int );
to the class declaration of ScribbleArea.
(Index) qApp is introduced on page 44, not on page 43
Thanks:
=======
Dimitri Papadopoulos
Wei-hao Lin
Jiann-Ming Su
P.C.
Bradley Buszard
Klaus Herrmann
Markus Wolf
Jim A. Horning
Zurück zu Programming with QT: Writing Portable GUI Applicat