~ubuntu-branches/ubuntu/oneiric/valkyrie/oneiric

« back to all changes in this revision

Viewing changes to valkyrie/help/help_about.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2011-09-02 22:08:34 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: package-import@ubuntu.com-20110902220834-kigsixteppj9epp5
Tags: 2.0.0-0ubuntu1
* New upstream release. (LP: #635129, LP: #832886, LP: #721298)
* Standards bumped to 3.9.2, no changes required.
* d/control, d/rules: cdbs removed, dh minimal rule instead.
* d/control: build system is qmake not autotools
* d/control: bump required qt to qt4
* d/valkyrie.install: installing html docs manually as make install
  no longer does so.
* d/patches/valkyrie-2.0.0-fix-doc.dir.patch: Fix doc path to match
  policy. Also corrects LP: #588074 since the documentation link now
  works.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* ---------------------------------------------------------------------
2
 
 * Definition of HelpAbout                                  help_about.h
3
 
 * Small tabbed dialog showing misc. info re license etc.
4
 
 * --------------------------------------------------------------------- 
5
 
 * This file is part of Valkyrie, a front-end for Valgrind
6
 
 * Copyright (C) 2000-2008, OpenWorks LLP <info@open-works.co.uk>
7
 
 * This program is released under the terms of the GNU GPL v.2
8
 
 * See the file COPYING for the full license details.
9
 
 */
10
 
 
11
 
#ifndef __VK_HELP_ABOUT_H
12
 
#define __VK_HELP_ABOUT_H
13
 
 
14
 
#include <qdialog.h>
15
 
#include <qtabwidget.h>
16
 
 
17
 
#include "hand_book.h"   /* VkTextBrowser */
18
 
 
19
 
 
20
 
/* class HelpAbout ----------------------------------------------------- */
21
 
class HelpAbout : public QDialog
22
 
{
23
 
   Q_OBJECT
24
 
public:
25
 
   enum TabId { ABOUT_VK=0, ABOUT_QT, LICENSE, SUPPORT, NUM_TABS };
26
 
 
27
 
   HelpAbout( QWidget* parent, TabId tabid );
28
 
   ~HelpAbout();
29
 
 
30
 
private slots:
31
 
   void showTab( QWidget* );
32
 
 
33
 
private:
34
 
   QString title;
35
 
 
36
 
   QTabWidget* tabParent;
37
 
   VkTextBrowser* aboutVk;
38
 
   VkTextBrowser* aboutQt;
39
 
   VkTextBrowser* license;
40
 
   VkTextBrowser* support;
41
 
};
42
 
 
43
 
#endif