23 #ifndef _TDEABOUTDIALOG_PRIVATE_H_
24 #define _TDEABOUTDIALOG_PRIVATE_H_
52 void mouseTrack(
int mode,
const TQMouseEvent *e );
55 virtual void mousePressEvent( TQMouseEvent *e );
56 virtual void mouseReleaseEvent( TQMouseEvent *e );
57 virtual void mouseDoubleClickEvent( TQMouseEvent *e );
58 virtual void mouseMoveEvent ( TQMouseEvent *e );
63 class TDEAboutContainerBasePrivate;
79 AbtImageLeft = 0x0008,
80 AbtImageRight = 0x0010,
81 AbtImageOnly = 0x0020,
83 AbtKDEStandard = AbtTabbed|AbtTitle|AbtImageLeft,
84 AbtAppStandard = AbtTabbed|AbtTitle|AbtProduct,
85 AbtImageAndTitle = AbtPlain|AbtTitle|AbtImageOnly
90 virtual void show(
void );
91 virtual TQSize sizeHint(
void )
const;
93 void setTitle(
const TQString &title );
94 void setImage(
const TQString &fileName );
95 void setImageBackgroundColor(
const TQColor &color );
96 void setImageFrame(
bool state );
97 void setProgramLogo(
const TQString &fileName );
98 void setProgramLogo(
const TQPixmap &pixmap );
99 void setProduct(
const TQString &appName,
const TQString &version,
100 const TQString &author,
const TQString &year );
102 TQFrame *addTextPage(
const TQString &title,
const TQString &text,
103 bool richText=
false,
int numLines=10 );
104 TQFrame *addLicensePage(
const TQString &title,
const TQString &text,
107 int childAlignment = AlignCenter,
int innerAlignment = AlignCenter );
109 int childAlignment = AlignCenter,
int innerAlignment = AlignCenter );
111 TQFrame *addEmptyPage(
const TQString &title );
116 virtual void slotMouseTrack(
int mode,
const TQMouseEvent *e );
117 virtual void slotUrlClick(
const TQString &url );
118 virtual void slotMailClick(
const TQString &name,
const TQString &address );
121 virtual void fontChange(
const TQFont &oldFont );
124 void mouseTrack(
int mode,
const TQMouseEvent *e );
125 void urlClick(
const TQString &url );
126 void mailClick(
const TQString &name,
const TQString &address );
129 TQVBoxLayout *mTopLayout;
131 TQLabel *mTitleLabel;
133 TQLabel *mVersionLabel;
134 TQLabel *mAuthorLabel;
135 TQFrame *mImageFrame;
136 TQTabWidget *mPageTab;
137 TQFrame *mPlainSpace;
139 TDEAboutContainerBasePrivate*
const d;
Used internally by TDEAboutContainerBase.
Used internally by TDEAboutDialog.
TDEAboutContainer can be used to make a application specific AboutDialog.