umbrello: umbrello/codeimpwizard/codeimpselectpage.h Source File

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

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

codeimpselectpage.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2011 Andi Fischer <andi.fischer@hispeed.ch>
3
4 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
5*/
6#ifndef CODEIMPSELECTPAGE_H
7#define CODEIMPSELECTPAGE_H
8
9// qt includes
10#include <QFileInfo>
11#include <QWizardPage>
12
13// app includes
14#include "ui_codeimpselectpage.h"
15
21 class CodeImpSelectPage : public QWizardPage, private Ui::CodeImpSelectPage
22{
23 Q_OBJECT
24public:
25 explicit CodeImpSelectPage(QWidget *parent = 0);
26 ~CodeImpSelectPage();
27
28 QString language();
29 bool validatePage();
30
31 QList<QFileInfo> selectedFiles();
32
33private:
34 bool matchFilter(const QFileInfo& path);
35
36 QList<QFileInfo> m_fileList;
37 QStringList m_fileExtensions;
38
39 static QString s_recentPath;
40
41 void setupLanguageBox();
42 void setupTreeView();
43 void setupFileExtEdit();
44 void setupToolTips();
45
46protected slots:
47 void languageChanged(int id);
48 void treeClicked(const QModelIndex& index);
49 void treeEntered(const QModelIndex& index);
50
51private slots:
52 void changeLanguage();
53 void subdirStateChanged(int state);
54 void fileExtChanged();
55 void selectAll();
56 void deselectAll();
57 void updateSelectionCounter();
58
59signals:
60 void applyClicked();
61 void languageChanged();
62 void syncCodeDocumentsToParent();
63 void selectionChanged();
64};
65
66#endif
CodeImpSelectPage
Definition codeimpselectpage.h:22
CodeImpSelectPage::m_fileList
QList< QFileInfo > m_fileList
Definition codeimpselectpage.h:36
CodeImpSelectPage::selectedFiles
QList< QFileInfo > selectedFiles()
Definition codeimpselectpage.cpp:346
CodeImpSelectPage::matchFilter
bool matchFilter(const QFileInfo &path)
Definition codeimpselectpage.cpp:148
CodeImpSelectPage::updateSelectionCounter
void updateSelectionCounter()
Definition codeimpselectpage.cpp:407
CodeImpSelectPage::setupTreeView
void setupTreeView()
Definition codeimpselectpage.cpp:87
CodeImpSelectPage::syncCodeDocumentsToParent
void syncCodeDocumentsToParent()
CodeImpSelectPage::fileExtChanged
void fileExtChanged()
Definition codeimpselectpage.cpp:218
CodeImpSelectPage::setupFileExtEdit
void setupFileExtEdit()
Definition codeimpselectpage.cpp:125
CodeImpSelectPage::setupLanguageBox
void setupLanguageBox()
Definition codeimpselectpage.cpp:72
CodeImpSelectPage::validatePage
bool validatePage()
Definition codeimpselectpage.cpp:288
CodeImpSelectPage::selectAll
void selectAll()
Definition codeimpselectpage.cpp:370
CodeImpSelectPage::changeLanguage
void changeLanguage()
Definition codeimpselectpage.cpp:311
CodeImpSelectPage::selectionChanged
void selectionChanged()
CodeImpSelectPage::s_recentPath
static QString s_recentPath
Definition codeimpselectpage.h:39
CodeImpSelectPage::m_fileExtensions
QStringList m_fileExtensions
Definition codeimpselectpage.h:37
CodeImpSelectPage::subdirStateChanged
void subdirStateChanged(int state)
Definition codeimpselectpage.cpp:198
CodeImpSelectPage::language
QString language()
Definition codeimpselectpage.cpp:337
CodeImpSelectPage::treeClicked
void treeClicked(const QModelIndex &index)
Definition codeimpselectpage.cpp:233
CodeImpSelectPage::CodeImpSelectPage
CodeImpSelectPage(QWidget *parent=0)
Definition codeimpselectpage.cpp:31
CodeImpSelectPage::applyClicked
void applyClicked()
CodeImpSelectPage::treeEntered
void treeEntered(const QModelIndex &index)
Definition codeimpselectpage.cpp:278
CodeImpSelectPage::deselectAll
void deselectAll()
Definition codeimpselectpage.cpp:398
CodeImpSelectPage::~CodeImpSelectPage
~CodeImpSelectPage()
Definition codeimpselectpage.cpp:64
CodeImpSelectPage::setupToolTips
void setupToolTips()
Definition codeimpselectpage.cpp:134
CodeImpSelectPage::languageChanged
void languageChanged()