org.kde.koala
public class KAboutDialog extends KDialogBase
See Also: KDialogBase
UNKNOWN: A KDialogBase with predefined main widget.
Field Summary | |
---|---|
static int | AbtAppStandard |
static int | AbtImageAndTitle |
static int | AbtImageLeft |
static int | AbtImageOnly |
static int | AbtImageRight |
static int | AbtKDEStandard |
static int | AbtPlain
Layout formats. |
static int | AbtProduct |
static int | AbtTabbed |
static int | AbtTitle |
Constructor Summary | |
---|---|
protected | KAboutDialog(Class dummy) |
KAboutDialog(QWidget parent, String name, boolean modal)
The standard Qt constructor (Constructor I).
| |
KAboutDialog(QWidget parent, String name) | |
KAboutDialog(QWidget parent) | |
KAboutDialog() | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2, String user3)
The extended constructor. | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1, String user2) | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator, String user1) | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal, boolean separator) | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name, boolean modal) | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent, String name) | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton, QWidget parent) | |
KAboutDialog(int dialogLayout, String caption, int buttonMask, int defaultButton) |
Method Summary | |
---|---|
KAboutContainer | addContainer(int childAlignment, int innerAlignment)
(Constructor II only)
Adds a container. |
KAboutContainer | addContainerPage(String title, int childAlignment, int innerAlignment)
(Constructor II only)
Adds a container to a tab box. |
KAboutContainer | addContainerPage(String title, int childAlignment) |
KAboutContainer | addContainerPage(String title) |
void | addContributor(String name, String email, String url, String work)
(Constructor I only)
Show this person as one of the major contributors. |
QFrame | addLicensePage(String title, String text, int numLines)
(Constructor II only)
Adds a license page to a tab box. |
QFrame | addLicensePage(String title, String text) |
QFrame | addPage(String title)
(Constructor II only)
Adds an empty page to a tab box. |
KAboutContainer | addScrolledContainerPage(String title, int childAlignment, int innerAlignment)
(Constructor II only)
Adds a container inside a QScrollView to a tab box. |
KAboutContainer | addScrolledContainerPage(String title, int childAlignment) |
KAboutContainer | addScrolledContainerPage(String title) |
QFrame | addTextPage(String title, String text, boolean richText, int numLines)
(Constructor II only)
Adds a text page to a tab box. |
QFrame | addTextPage(String title, String text, boolean richText) |
QFrame | addTextPage(String title, String text) |
void | adjust()
Adjusts the dialog.
|
String | className() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
protected void | finalize() Deletes the wrapped C++ instance |
static void | imageURL(QWidget parent, String caption, String path, QColor imageColor, String url)
Create a modal dialog with an image in the upper area with a
URL link below. |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
QMetaObject | metaObject() |
protected void | mouseTrackSlot(int mode, QMouseEvent e)
(Constructor II only)
Tells the position of the mouse cursor when the left mouse button
is pressed above an image |
protected void | openURLSlot(String url)
Open this URL. |
protected void | sendEmailSlot(String name, String email)
Connected to widget.sendEmail. |
void | setAuthor(String name, String email, String url, String work)
(Constructor I only)
Sets the author's name and email address. |
void | setImage(String fileName)
(Constructor II only)
Define an image to be shown in the dialog. |
void | setImageBackgroundColor(QColor color)
(Constructor II only)
The image has a minimum size, but is centered within an area if the
dialog box is enlarged by the user. |
void | setImageFrame(boolean state)
(Constructor II only)
Enables or disables a frame around the image. |
void | setLogo(QPixmap arg1)
(Constructor I only)
Sets the image as the application logo. |
void | setMaintainer(String name, String email, String url, String work)
(Constructor I only)
Sets the maintainer's name and email address. |
void | setProduct(String appName, String version, String author, String year)
(Constructor II only)
Prints the application name, KDE version, author, a copyright sign
and a year string. |
void | setProgramLogo(String fileName)
Overloaded version of setProgramLogo(QPixmap pixmap). |
void | setProgramLogo(QPixmap pixmap)
(Constructor II only)
Define the program logo to be shown in the dialog. |
void | setTitle(String title)
(Constructor II only)
Sets a title (not caption) in the uppermost area of the dialog. |
void | setVersion(String name)
(Constructor I only)
Sets the text describing the version. |
void | show()
Makes a modeless (modal = false in constructor) dialog visible.
|
void | show(QWidget centerParent)
Makes a modeless (modal = false in constructor) dialog visible.
|
UNKNOWN: Layout formats.
UNKNOWN: The standard Qt constructor (Constructor I).
Parameters: dialogLayout Use a mask of LayoutType flags. caption The dialog caption. The text you specify is prepended by i18n("About"). buttonMask Specifies what buttons will be visible. defaultButton Specifies what button will be marked as the default. parent Parent of the dialog. name Dialog name (for internal use only) modal Sets dialog modality. If false, the rest of the program interface (other dialogs, for example) is accessible while the dialog is open. separator If true, a separator line is drawn between the action buttons an the main widget. user1 User button1 text. user2 User button2 text. user3 User button3 text.
UNKNOWN: The extended constructor.
Parameters: childAlignment Specifies how the children of the container are aligned with respect to the container. innerAlignment Specifies how the children are aligned with respect to each other.
Returns: The new container.
UNKNOWN: (Constructor II only) Adds a container.
Parameters: title Tab name. childAlignment Specifies how the children of the container are aligned with respect to the container. innerAlignment Specifies how the children are aligned with respect to each other.
Returns: The new container.
UNKNOWN: (Constructor II only) Adds a container to a tab box.
UNKNOWN: (Constructor I only) Show this person as one of the major contributors.
Parameters: title Tab name. text The text to display. numLines The text area height will be adjusted so that this is the minimum number of lines of text that are visible.
Returns: The frame that contains the page.
UNKNOWN: (Constructor II only) Adds a license page to a tab box.
Parameters: title Tab name
Returns: The new page.
UNKNOWN: (Constructor II only) Adds an empty page to a tab box.
Parameters: title Tab name. childAlignment Specifies how the children of the container are aligned with respect to the container. innerAlignment Specifies how the children are aligned with respect to each other.
Returns: The new container.
UNKNOWN: (Constructor II only) Adds a container inside a QScrollView to a tab box.
Parameters: title Tab name. text The text to display. richText Set this to true
if 'text' is rich text. numLines The text area height will be adjusted so that this
is the minimum number of lines of text that are visible.
Returns: The frame that contains the page.
UNKNOWN: (Constructor II only) Adds a text page to a tab box.
UNKNOWN: Adjusts the dialog.
UNKNOWN: Create a modal dialog with an image in the upper area with a URL link below.
UNKNOWN: (Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image
UNKNOWN: Open this URL.
UNKNOWN: Connected to widget.sendEmail.
UNKNOWN: (Constructor I only) Sets the author's name and email address.
dialogLayout
in the constructorParameters: fileName Path to image file.
UNKNOWN: (Constructor II only) Define an image to be shown in the dialog.
Parameters: color Background color.
UNKNOWN: (Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user.
Parameters: state A value of true
enables the frame
UNKNOWN: (Constructor II only) Enables or disables a frame around the image.
UNKNOWN: (Constructor I only) Sets the image as the application logo.
UNKNOWN: (Constructor I only) Sets the maintainer's name and email address.
Parameters: appName The application name. version Application version. author One or more authors. year A string telling when the application was made.
UNKNOWN: (Constructor II only) Prints the application name, KDE version, author, a copyright sign and a year string.
UNKNOWN: Overloaded version of setProgramLogo(QPixmap pixmap).
Parameters: pixmap The logo pixmap.
UNKNOWN: (Constructor II only) Define the program logo to be shown in the dialog.
Parameters: title Title string.
UNKNOWN: (Constructor II only) Sets a title (not caption) in the uppermost area of the dialog.
UNKNOWN: (Constructor I only) Sets the text describing the version.
UNKNOWN: Makes a modeless (modal = false in constructor) dialog visible.
Parameters: centerParent Center the dialog with respect to this widget.
UNKNOWN: Makes a modeless (modal = false in constructor) dialog visible.