1 /***************************************************************************
2 kcontrolheader.h - description
4 begin : Tue May 29 2001
5 copyright : (C) 2001 by Javier Campos
6 email : javi@asyris.org
7 ***************************************************************************/
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
18 #ifndef KCONTROLHEADER_H
19 #define KCONTROLHEADER_H
21 #include "../libkeduca/fileread.h"
22 #include "klangcombo.h"
24 #include <kdialogbase.h>
25 #include <kurlrequester.h>
29 * Options Dialog for KEduca Document.
30 * Will be called for each new KEduca Document and from the Editor (class KEducaBuilder)
31 *@author Javier Campos
34 class KControlHeader
: public KDialogBase
{
38 KControlHeader(FileRead
*keducaFile
, QWidget
*parent
=0, const char *name
=0);
46 FileRead
*_keducaFile
;
48 QLineEdit
*_headerTitle
;
50 KComboBox
*_headerType
;
51 /** Header category */
52 KComboBox
*_headerCategory
;
54 KComboBox
*_headerLevel
;
56 KLanguageCombo
*_headerLang
;
58 KURLRequester
*_headerPicture
;
60 QLineEdit
*_headerName
;
62 QLineEdit
*_headerEmail
;
64 QLineEdit
*_headerWWW
;
65 /** Default categories */
66 QStringList _defaultCategories
;
70 /** Init graphical interface */
74 /** Load country list */
75 void loadCountryList(KLanguageCombo
*combo
);