File: CommentShell.h

package info (click to toggle)
gmod 3.1-11
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,352 kB
  • ctags: 809
  • sloc: cpp: 7,772; makefile: 77
file content (34 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// -*-C++-*-
// This file is part of the gmod package
// Copyright (C) 1997 by Andrew J. Robinson

#ifndef __CommentShellH
#define __CommentShellH

#include <qapplication.h>
#include <qmultilineedit.h>
#include <qpushbutton.h>

class CommentShell : public QWidget
{
  Q_OBJECT
public:
  CommentShell(QWidget *w = 0);
  void setComment(char *, int);

 public slots:
 void showCommentShell();

protected:
  void resizeEvent(QResizeEvent *);

private:
  QMultiLineEdit *commentEdit;
  QPushButton *closeButton;

 private slots:
 void closeCommentShell();
};


#endif