umbrello: umbrello/finder/umlscenefinder.h Source File

umbrello 2.31.0 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

umlscenefinder.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) 2014-2020 *
8 * Umbrello UML Modeller Authors <umbrello-devel@kde.org> *
9 ***************************************************************************/
10
11 #ifndef UMLSCENEFINDER_H
12 #define UMLSCENEFINDER_H
13
14 #include "umlfinder.h"
15
16 class UMLView;
17
23 class UMLSceneFinder : public UMLFinder
24 {
25 public:
26 explicit UMLSceneFinder(UMLView *view);
27 virtual ~UMLSceneFinder();
28 virtual int collect(Category category, const QString &text);
29
30 virtual Result displayNext();
31 virtual Result displayPrevious();
32
33 protected:
34 Uml::ID::Type m_id;
35 bool showItem(Uml::ID::Type id);
36 };
37
38 #endif // UMLSCENEFINDER_H
UMLObject::id
virtual Uml::ID::Type id() const
Definition: umlobject.cpp:425
UMLWidget::height
qreal height() const
Definition: umlwidget.h:114
UMLApp::setCurrentView
void setCurrentView(UMLView *view, bool updateTreeView=true)
Definition: uml.cpp:3084
MessageWidget::floatingTextWidget
FloatingTextWidget * floatingTextWidget()
Definition: messagewidget.h:96
UMLSceneFinder
Definition: umlscenefinder.h:23
UMLSceneFinder::~UMLSceneFinder
virtual ~UMLSceneFinder()
Definition: umlscenefinder.cpp:27
umlscenefinder.h
umlview.h
UMLWidget
The base class for graphical UML objects.
Definition: umlwidget.h:40
WidgetBase::name
QString name() const
Definition: widgetbase.cpp:309
UMLListViewItem
Items used by UMLListView.
Definition: umllistviewitem.h:39
UMLSceneFinder::showItem
bool showItem(Uml::ID::Type id)
Definition: umlscenefinder.cpp:88
Uml::ID::Type
std::string Type
Definition: basictypes.h:368
UMLFinder::Result
Result
Definition: umlfinder.h:32
UMLSceneFinder::m_id
Uml::ID::Type m_id
id of scene
Definition: umlscenefinder.h:34
UMLFinder::NotFound
@ NotFound
Definition: umlfinder.h:32
UMLFinder::End
@ End
Definition: umlfinder.h:32
UMLSceneFinder::collect
virtual int collect(Category category, const QString &text)
Definition: umlscenefinder.cpp:31
floatingtextwidget.h
WidgetBase::umlObject
UMLObject * umlObject() const
Definition: widgetbase.cpp:182
UMLView::setZoom
void setZoom(qreal zoom)
Definition: umlview.cpp:72
UMLListView::findItem
UMLListViewItem * findItem(Uml::ID::Type id)
Definition: umllistview.cpp:1404
UMLFinder::Empty
@ Empty
Definition: umlfinder.h:32
UMLView
Definition: umlview.h:34
UMLWidget::setSelected
virtual void setSelected(bool _select)
Definition: umlwidget.cpp:1573
UMLApp::listView
UMLListView * listView() const
Definition: uml.cpp:1065
UMLFinder::includeObject
bool includeObject(Category category, UMLObject *o)
Definition: umlfinder.cpp:23
messagewidget.h
UMLScene::widgetList
const UMLWidgetList widgetList() const
Definition: umlscene.cpp:603
UMLFinder::Category
Category
Definition: umlfinder.h:30
umlfinder.h
umllistview.h
UMLScene::messageList
const MessageWidgetList messageList() const
Definition: umlscene.cpp:629
UMLApp::app
static UMLApp * app()
Definition: uml.cpp:269
UMLScene::findWidget
UMLWidget * findWidget(Uml::ID::Type id)
Definition: umlscene.cpp:1184
UMLFinder::m_items
QList< Uml::ID::Type > m_items
Definition: umlfinder.h:60
UMLScene::setIsOpen
void setIsOpen(bool isOpen)
Definition: umlscene.cpp:661
UMLSceneFinder::UMLSceneFinder
UMLSceneFinder(UMLView *view)
Definition: umlscenefinder.cpp:21
umlscene.h
uml.h
UMLFinder::m_index
int m_index
Definition: umlfinder.h:59
UMLScene
Definition: umlscene.h:68
UMLView::umlScene
UMLScene * umlScene() const
Definition: umlview.cpp:56
UMLFinder::Found
@ Found
Definition: umlfinder.h:32
FloatingTextWidget::text
QString text() const
Definition: floatingtextwidget.cpp:88
UMLWidget::width
qreal width() const
Definition: umlwidget.h:121
UMLSceneFinder::displayPrevious
virtual Result displayPrevious()
Definition: umlscenefinder.cpp:70
MessageWidget
Displays a message.
Definition: messagewidget.h:40
UMLDoc::findView
UMLView * findView(Uml::ID::Type id)
Definition: umldoc.cpp:1003
UMLApp::document
UMLDoc * document() const
Definition: uml.cpp:1055
umldoc.h
UMLSceneFinder::displayNext
virtual Result displayNext()
Definition: umlscenefinder.cpp:59
WidgetBase::id
Uml::ID::Type id() const
Definition: widgetbase.cpp:214
UMLFinder
Definition: umlfinder.h:27