| umbrello 25.07.90
    Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology | 
#include <codeimpselectpage.h>
 
 | Signals | |
| void | applyClicked () | 
| void | languageChanged () | 
| void | syncCodeDocumentsToParent () | 
| void | selectionChanged () | 
| Public Member Functions | |
| CodeImpSelectPage (QWidget *parent=nullptr) | |
| ~CodeImpSelectPage () | |
| QString | language () | 
| bool | validatePage () | 
| QList< QFileInfo > | selectedFiles () | 
| Protected Slots | |
| void | languageChanged (int id) | 
| void | treeClicked (const QModelIndex &index) | 
| void | treeEntered (const QModelIndex &index) | 
| Private Slots | |
| void | changeLanguage () | 
| void | subdirStateChanged (int state) | 
| void | fileExtChanged () | 
| void | selectAll () | 
| void | deselectAll () | 
| void | updateSelectionCounter () | 
| Private Member Functions | |
| bool | matchFilter (const QFileInfo &path) | 
| void | setupLanguageBox () | 
| void | setupTreeView () | 
| void | setupFileExtEdit () | 
| void | setupToolTips () | 
| Private Attributes | |
| QList< QFileInfo > | m_fileList | 
| QStringList | m_fileExtensions | 
| Static Private Attributes | |
| static QString | s_recentPath | 
This class is used in the code importing wizard. It represents the first page where files are selected for importing.
| 
 | explicit | 
Constructor.
| parent | the parent (wizard) of this wizard page | 
| CodeImpSelectPage::~CodeImpSelectPage | ( | ) | 
Destructor.
| 
 | signal | 
| 
 | privateslot | 
When the user changes the language, the codegenoptions page language-dependent stuff has to be updated.
| 
 | privateslot | 
Slot for clicked event on the button widget. Deselects all items in the entire tree.
| 
 | privateslot | 
Slot for the editingFinished event of the line edit widget for the extensions.
| QString CodeImpSelectPage::language | ( | ) | 
Returns the user selected language used for code generation.
| 
 | signal | 
| 
 | protectedslot | 
Slot of the activated event of the combo box widget. Transform signal.
| id | position in combo box | 
| 
 | private | 
Decide if the given file has one of the set extensions.
| path | file info to be examined | 
| 
 | privateslot | 
Slot for clicked event on the button widget. Select all items in the current selected directory. If the checkbox 'ui_subdirCheckBox' is selected also all the files in the subdirectories are selected.
| QList< QFileInfo > CodeImpSelectPage::selectedFiles | ( | ) | 
Returns the list of files, which will be used for code import.
| 
 | signal | 
| 
 | private | 
Setup the tree view and file extension widget. Call it after setupTreeView(), because the extensions are set there.
| 
 | private | 
Fills the language combo box with items and sets the currently selected value.
| 
 | private | 
Setup the tool tips for every widget. TODO: Do it here or in the ui file?
| 
 | private | 
Setup the tree view widget.
| 
 | privateslot | 
Slot for the stateChanged event of the subdirectory check box.
| state | check box state (Qt::Checked / Qt::Unchecked) | 
| 
 | signal | 
| 
 | protectedslot | 
Slot for the clicked event on one of the items of the tree view widget.
| index | the index of the item on which was clicked | 
| 
 | protectedslot | 
| 
 | privateslot | 
Utility method for setting the selection counter.
| bool CodeImpSelectPage::validatePage | ( | ) | 
Reimplemented QWizardPage method to validate page when user clicks next button.
| 
 | private | 
| 
 | private | 
| 
 | staticprivate | 
Keep the last clicked directory for setting it the next time.