summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qpushbutton.cpp
diff options
context:
space:
mode:
authorDavid Gil <davidgiloliva@gmail.com>2012-09-25 23:46:34 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-09-27 14:59:13 +0200
commitad4c76d938aa7274e32833e37392db2446715b5b (patch)
tree9aa896bf8410952660e3cc36b1a25c07fca9861f /src/widgets/widgets/qpushbutton.cpp
parent0189315c8c990a53db4579b2c8b1f36e14d9555c (diff)
[Doc cleanup] Fix typos and style of QPushButton and QGroupBox
Fix some typos. Fix some sentences to make them clearer to understand. Since both of them are widgets, there's no Qt4-centric info. Change-Id: I5c3c4a23621505d47b00cf466e4daad9763c3076 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Diffstat (limited to 'src/widgets/widgets/qpushbutton.cpp')
-rw-r--r--src/widgets/widgets/qpushbutton.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/widgets/qpushbutton.cpp b/src/widgets/widgets/qpushbutton.cpp
index 9ed25c6ca2..16e06872ae 100644
--- a/src/widgets/widgets/qpushbutton.cpp
+++ b/src/widgets/widgets/qpushbutton.cpp
@@ -99,18 +99,18 @@ QT_BEGIN_NAMESPACE
Push buttons display a textual label, and optionally a small
icon. These can be set using the constructors and changed later
- using setText() and setIcon(). If the button is disabled the
+ using setText() and setIcon(). If the button is disabled, the
appearance of the text and icon will be manipulated with respect
to the GUI style to make the button look "disabled".
A push button emits the signal clicked() when it is activated by
the mouse, the Spacebar or by a keyboard shortcut. Connect to
this signal to perform the button's action. Push buttons also
- provide less commonly used signals, for example, pressed() and
+ provide less commonly used signals, for example pressed() and
released().
Command buttons in dialogs are by default auto-default buttons,
- i.e. they become the default push button automatically when they
+ i.e., they become the default push button automatically when they
receive the keyboard input focus. A default button is a push
button that is activated when the user presses the Enter or Return
key in a dialog. You can change this with setAutoDefault(). Note
@@ -190,7 +190,7 @@ QT_BEGIN_NAMESPACE
In some GUI styles a default button is drawn with an extra frame
around it, up to 3 pixels or more. Qt automatically keeps this
- space free around auto-default buttons, i.e. auto-default buttons
+ space free around auto-default buttons, i.e., auto-default buttons
may have a slightly larger size hint.
This property's default is true for buttons that have a QDialog
@@ -224,7 +224,7 @@ QT_BEGIN_NAMESPACE
If the default property is set to false on the current default button
while the dialog is visible, a new default will automatically be
- assigned the next time a pushbutton in the dialog receives focus.
+ assigned the next time a push button in the dialog receives focus.
This property's default is false.
*/