• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

umbrello/umbrello

  • sources
  • kde-4.12
  • kdesdk
  • umbrello
  • umbrello
  • dialogs
diagramprintpage.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This program is free software; you can redistribute it and/or modify *
3  * it under the terms of the GNU General Public License as published by *
4  * the Free Software Foundation; either version 2 of the License, or *
5  * (at your option) any later version. *
6  * *
7  * copyright (C) 2002-2013 *
8  * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9  ***************************************************************************/
10 
11 #ifndef DIAGRAMPRINTPAGE_H
12 #define DIAGRAMPRINTPAGE_H
13 
14 #include "basictypes.h"
15 #include "umlview.h"
16 
17 #include <QList>
18 
19 class QListWidget;
20 class QRadioButton;
21 class QGroupBox;
22 class KComboBox;
23 class UMLDoc;
24 
36 class DiagramPrintPage : public QWidget
37 {
38  Q_OBJECT
39 public:
40  DiagramPrintPage(QWidget * parent, UMLDoc *doc);
41  ~DiagramPrintPage();
42 
43  int printUmlCount();
44  QString printUmlDiagram(int sel);
45 
46  bool isValid(QString& msg);
47 
48 private:
49  bool isSelected(int index);
50 
51  QGroupBox * m_pFilterGB;
52  QGroupBox * m_pSelectGB;
53  QListWidget * m_pSelectLW;
54  QRadioButton * m_pAllRB;
55  QRadioButton * m_pCurrentRB;
56  QRadioButton * m_pSelectRB;
57  QRadioButton * m_pTypeRB;
58  KComboBox * m_pTypeCB;
59 
60  UMLDoc * m_doc;
61  Uml::DiagramType::Enum m_ViewType;
62 
63  QList<Uml::ID::Type> m_nIdList;
64 
65  enum FilterType{Current = 0, All, Select, Type};
66 
67 public slots:
68  void slotClicked();
69  void slotActivated(int index);
70 };
71 
72 #endif
DiagramPrintPage::printUmlCount
int printUmlCount()
Get selected print options.
Definition: diagramprintpage.cpp:119
umlview.h
QWidget
DiagramPrintPage::isValid
bool isValid(QString &msg)
Overridden method.
Definition: diagramprintpage.cpp:150
DiagramPrintPage::printUmlDiagram
QString printUmlDiagram(int sel)
Return ID string of UML diagram.
Definition: diagramprintpage.cpp:130
DiagramPrintPage::DiagramPrintPage
DiagramPrintPage(QWidget *parent, UMLDoc *doc)
Constructs the diagram print page.
Definition: diagramprintpage.cpp:39
Uml::DiagramType::Enum
Enum
Definition: basictypes.h:73
Type
Type
Definition: preprocesslexer.h:59
DiagramPrintPage::slotClicked
void slotClicked()
Gets called when the users chooses to print all diagrams, the current diagram, a selection of diagram...
Definition: diagramprintpage.cpp:186
DiagramPrintPage::~DiagramPrintPage
~DiagramPrintPage()
Standard destructor.
Definition: diagramprintpage.cpp:111
DiagramPrintPage
This is a page on the print dialog to select what diagram(s) you wish to print.
Definition: diagramprintpage.h:36
DiagramPrintPage::slotActivated
void slotActivated(int index)
Gets called when the user chooses another diagram type.
Definition: diagramprintpage.cpp:244
basictypes.h
QList
UMLDoc
UMLDoc provides a document object for a document-view model.
Definition: umldoc.h:63
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

umbrello/umbrello

Skip menu "umbrello/umbrello"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal