Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
2112a1f6
Commit
2112a1f6
authored
Jul 02, 2009
by
Kavindra Devi Palaraja
Browse files
Doc - Fixing parts of Part 5 and more of Part 6
Reviewed-By: TrustMe
parent
fc30904e
Changes
4
Hide whitespace changes
Inline
Side-by-side
doc/addressbook-sdk.qdoc
View file @
2112a1f6
...
...
@@ -817,9 +817,9 @@
corresponding slot. Similarly, for the \gui Find feature, we have
\c findButton and \c findContact().
\snippet examples/addressbook-sdk/part5/addressbook.h
findContact
\snippet examples/addressbook-sdk/part5/addressbook.h
slot definition
\dots
\snippet examples/addressbook-sdk/part5/addressbook.h
findButton
\snippet examples/addressbook-sdk/part5/addressbook.h
private members
Lastly, we declare the private variable, \c dialog, which we will use to
refer to an instance of \c FindDialog.
...
...
doc/examples/addressbook-sdk/part5/addressbook.h
View file @
2112a1f6
...
...
@@ -32,9 +32,9 @@ public slots:
void
removeContact
();
void
next
();
void
previous
();
//! [
findContact
]
//! [
slot definition
]
void
findContact
();
//! [
findContact
]
//! [
slot definition
]
private:
Ui
::
AddressBook
*
ui
;
...
...
@@ -47,9 +47,9 @@ private:
QPushButton
*
removeButton
;
QPushButton
*
nextButton
;
QPushButton
*
previousButton
;
//! [
findButton
]
//! [
private members
]
QPushButton
*
findButton
;
//! [
findButton
]
//! [
private members
]
QLineEdit
*
nameLine
;
QTextEdit
*
addressText
;
...
...
doc/examples/addressbook-sdk/part6/addressbook.h
View file @
2112a1f6
...
...
@@ -31,6 +31,10 @@ public slots:
void
next
();
void
previous
();
void
findContact
();
//! [slot definition]
void
saveToFile
();
void
loadFromFile
();
//! [slot definition]
private:
Ui
::
AddressBook
*
ui
;
...
...
@@ -44,6 +48,10 @@ private:
QPushButton
*
nextButton
;
QPushButton
*
previousButton
;
QPushButton
*
findButton
;
//! [private members]
QPushButton
*
loadButton
;
QPushButton
*
saveButton
;
//! [private members]
QLineEdit
*
nameLine
;
QTextEdit
*
addressText
;
...
...
doc/examples/addressbook-sdk/part6/addressbook.ui
View file @
2112a1f6
...
...
@@ -6,8 +6,8 @@
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
4
44
</width>
<height>
288
</height>
<width>
4
78
</width>
<height>
352
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
...
...
@@ -83,6 +83,20 @@
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"loadButton"
>
<property
name=
"text"
>
<string>
Load...
</string>
</property>
</widget>
</item>
<item>
<widget
class=
"QPushButton"
name=
"saveButton"
>
<property
name=
"text"
>
<string>
Save...
</string>
</property>
</widget>
</item>
<item>
<spacer
name=
"verticalSpacer"
>
<property
name=
"orientation"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment