Ananas Library
0.9.5
Титульная страница
Классы
Файлы
Файлы
src
messageswindow.h
1
/****************************************************************************
2
** $Id: messageswindow.h,v 1.8 2006/09/26 08:56:42 gr Exp $
3
**
4
** Header file of the Mesages window of Ananas
5
** Designer and Engine applications
6
**
7
** Created : 20031201
8
**
9
** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved.
10
**
11
** This file is part of the Library of the Ananas
12
** automation accounting system.
13
**
14
** This file may be distributed and/or modified under the terms of the
15
** GNU General Public License version 2 as published by the Free Software
16
** Foundation and appearing in the file LICENSE.GPL included in the
17
** packaging of this file.
18
**
19
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
20
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21
**
22
** See http://www.leaderit.ru/page=ananas or email sales@leaderit.ru
23
** See http://www.leaderit.ru/gpl/ for GPL licensing information.
24
**
25
** Contact org@leaderit.ru if any conditions of this licensing are
26
** not clear to you.
27
**
28
**********************************************************************/
29
30
/*
31
*/
32
#ifndef MESSAGESWINDOW_H
33
#define MESSAGESWINDOW_H
34
35
#include "ananasglobal.h"
36
37
#include <qdockwindow.h>
38
39
class
QTextBrowser;
40
41
void
messageproc(
int
n,
const
char
*msg);
42
43
class
ANANAS_EXPORT
MessagesWindow
:
public
QDockWindow
44
{
45
Q_OBJECT
46
47
public
:
48
// bool empty;
49
MessagesWindow
( QWidget* parent = 0, WFlags fl = WType_TopLevel );
50
~MessagesWindow
();
51
52
QTextBrowser* msgBrowser;
53
private
:
54
bool
expanded;
55
public
slots:
56
void
message(
int
msgtype,
const
QString &msg);
57
protected
slots:
58
virtual
void
languageChange();
59
virtual
void
hideEvent ( QHideEvent *e );
60
void
on_click();
61
void
setExpanded(
bool
exp);
62
bool
isExpanded();
63
};
64
65
#endif
// MESSAGESWINDOW_H
MessagesWindow
Definition
messageswindow.h:44
Создано системой
1.12.0