Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > 4272c97b1af3db3f39a3b697bcba7e48 > files > 387

albumshaper-2.1-7mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>AlbumShaper: alertDialog.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>alertDialog.h</h1><a href="alertDialog_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//==============================================</span>
<a name="l00002"></a>00002 <span class="comment">//  copyright            : (C) 2003-2005 by Will Stokes</span>
<a name="l00003"></a>00003 <span class="comment">//==============================================</span>
<a name="l00004"></a>00004 <span class="comment">//  This program is free software; you can redistribute it</span>
<a name="l00005"></a>00005 <span class="comment">//  and/or modify it under the terms of the GNU General</span>
<a name="l00006"></a>00006 <span class="comment">//  Public License as published by the Free Software</span>
<a name="l00007"></a>00007 <span class="comment">//  Foundation; either version 2 of the License, or</span>
<a name="l00008"></a>00008 <span class="comment">//  (at your option) any later version.</span>
<a name="l00009"></a>00009 <span class="comment">//==============================================</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef GUI_DIALOGS_ALERTDIALOG_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define GUI_DIALOGS_ALERTDIALOG_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 <span class="comment">//--------------------</span>
<a name="l00015"></a>00015 <span class="comment">//forward delcarations</span>
<a name="l00016"></a>00016 <span class="keyword">class </span>QGridLayout;
<a name="l00017"></a>00017 <span class="keyword">class </span><a class="code" href="classQLabel.html">QLabel</a>;
<a name="l00018"></a>00018 <span class="keyword">class </span><a class="code" href="classQTextEdit.html">QTextEdit</a>;
<a name="l00019"></a>00019 <span class="keyword">class </span>QPushButton;
<a name="l00020"></a>00020 <span class="keyword">class </span>QPixmap;
<a name="l00021"></a>00021 <span class="keyword">class </span><a class="code" href="classQFrame.html">QFrame</a>;
<a name="l00022"></a>00022 <span class="comment">//--------------------</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;qdialog.h&gt;</span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="comment">//=====================================</span>
<a name="l00029"></a>00029 <span class="comment"></span><span class="comment">//=====================================</span>
<a name="l00030"></a>00030 
<a name="l00031"></a><a class="code" href="classAlertDialog.html">00031</a> <span class="keyword">class </span><a class="code" href="classAlertDialog.html" title="A configurable alert dialog that displays an alert/error message.">AlertDialog</a> : <span class="keyword">public</span> <a class="code" href="classQDialog.html">QDialog</a>
<a name="l00032"></a>00032 {
<a name="l00033"></a>00033 Q_OBJECT
<a name="l00034"></a>00034 <span class="comment">//----------------------</span>
<a name="l00035"></a>00035 <span class="keyword">public</span>:
<a name="l00037"></a>00037   <a class="code" href="classAlertDialog.html#ab7aea99441443423111a042693519644" title="Basic constructor.">AlertDialog</a>( QString message,
<a name="l00038"></a>00038                     QString description,
<a name="l00039"></a>00039                     QString alertIconName,
<a name="l00040"></a>00040                     <a class="code" href="classQWidget.html">QWidget</a> *parent=0,
<a name="l00041"></a>00041                     <span class="keyword">const</span> <span class="keywordtype">char</span>* name=0);
<a name="l00042"></a>00042 
<a name="l00044"></a>00044   <a class="code" href="classAlertDialog.html#a5ea8838b691df53710d053c592ce2c7c" title="Destructor.">~AlertDialog</a>();
<a name="l00045"></a>00045 <span class="comment">//----------------------</span>
<a name="l00046"></a>00046 <span class="keyword">private</span>:
<a name="l00048"></a><a class="code" href="classAlertDialog.html#ac8df4978addd21fe813e3848d647920e">00048</a>   QGridLayout *<a class="code" href="classAlertDialog.html#ac8df4978addd21fe813e3848d647920e" title="Grids objects placed in.">gridTop</a>, *<a class="code" href="classAlertDialog.html#aadf46bd7937fc62fcef201f284d4fdca">gridBottom</a>, *<a class="code" href="classAlertDialog.html#ab698c37a23a4466f30be6a10a682bb1e">gridFull</a>;
<a name="l00049"></a>00049 
<a name="l00051"></a><a class="code" href="classAlertDialog.html#ad339d7b13e67d13a17081acb3a0199c0">00051</a>   <a class="code" href="classQLabel.html">QLabel</a>* <a class="code" href="classAlertDialog.html#ad339d7b13e67d13a17081acb3a0199c0" title="Message displayed in window.">alertText</a>;
<a name="l00052"></a>00052 
<a name="l00054"></a><a class="code" href="classAlertDialog.html#aeed97a15a81fdf31bd6158dc09be45f2">00054</a>   <a class="code" href="classQTextEdit.html">QTextEdit</a>* <a class="code" href="classAlertDialog.html#aeed97a15a81fdf31bd6158dc09be45f2" title="Description displayed in window.">descriptionText</a>;
<a name="l00055"></a>00055 
<a name="l00057"></a><a class="code" href="classAlertDialog.html#ad9869083a0e1c6cf511d20af4491f494">00057</a>   QPushButton* <a class="code" href="classAlertDialog.html#ad9869083a0e1c6cf511d20af4491f494" title="Ok button.">okButton</a>;
<a name="l00058"></a>00058 
<a name="l00060"></a><a class="code" href="classAlertDialog.html#ae67fea12ccbc008bb58b6a50ffd5a34a">00060</a>   QPixmap* <a class="code" href="classAlertDialog.html#ae67fea12ccbc008bb58b6a50ffd5a34a" title="Alert icon.">alertIcon</a>;
<a name="l00061"></a>00061 
<a name="l00063"></a><a class="code" href="classAlertDialog.html#a7e81fc1c47cde96ca54033cded01d749">00063</a>   <a class="code" href="classQLabel.html">QLabel</a>* <a class="code" href="classAlertDialog.html#a7e81fc1c47cde96ca54033cded01d749" title="Label which shows alert icon.">alertIconLabel</a>;
<a name="l00064"></a>00064 
<a name="l00066"></a><a class="code" href="classAlertDialog.html#a55fa42eed5e59028bc37621e50845e30">00066</a>   <a class="code" href="classQFrame.html">QFrame</a> *<a class="code" href="classAlertDialog.html#a55fa42eed5e59028bc37621e50845e30" title="Top and bottom frames.">topFrame</a>, *<a class="code" href="classAlertDialog.html#a8fd835bc05b07fd4fb34a8d4179493e4">bottomFrame</a>;
<a name="l00067"></a>00067 <span class="comment">//----------------------</span>
<a name="l00068"></a>00068 };
<a name="l00069"></a>00069 <span class="comment">//======================</span>
<a name="l00070"></a>00070 
<a name="l00071"></a>00071 <span class="preprocessor">#endif //GUI_DIALOGS_ALERTDIALOG_H</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>