#include <KexiProjectSelector.h>
Inherits KexiProjectSelectorBase.
Widget that allows to select a kexi project (or database)
Definition at line 34 of file KexiProjectSelector.h.
◆ KexiProjectSelectorWidget()
| KexiProjectSelectorWidget::KexiProjectSelectorWidget |
( |
TQWidget * |
parent = 0, |
|
|
const char * |
name = 0, |
|
|
KexiProjectSet * |
prj_set = 0, |
|
|
bool |
showProjectNameColumn = true, |
|
|
bool |
showConnectionColumns = true |
|
) |
| |
Constructs a project selector widget.
If showProjectNameColumn is true (the default) project names' column is visible. If showConnectionColumns is true (the default) information about database driver and connection columns are added. prj_set may be NULL - you can assign a set later with setProjectSet().
Constructs a KexiProjectSelector which is a child of 'parent', with the name 'name' and widget flags set to 'f'
Definition at line 97 of file KexiProjectSelector.cpp.
◆ ~KexiProjectSelectorWidget()
| KexiProjectSelectorWidget::~KexiProjectSelectorWidget |
( |
| ) |
|
◆ isSelectable()
| bool KexiProjectSelectorWidget::isSelectable |
( |
| ) |
const |
◆ languageChange
| virtual void KexiProjectSelectorWidget::languageChange |
( |
| ) |
|
|
inlineprotectedvirtualslot |
◆ projectSet()
- Returns
- currently assigned project set or NULL if no project set is assigned.
Definition at line 64 of file KexiProjectSelector.h.
◆ selectedProjectData()
- Returns
- data of selected project. Returns NULL if no selection has been made.
Definition at line 137 of file KexiProjectSelector.cpp.
◆ setProjectSet()
| void KexiProjectSelectorWidget::setProjectSet |
( |
KexiProjectSet * |
prj_set | ) |
|
Assigns a new project set prj_set. Old project set is not destoyed
- it is just left unassigned. If new project set is in error state (Object::error() == true), nothing is displayed.
Definition at line 162 of file KexiProjectSelector.cpp.
◆ setSelectable()
| void KexiProjectSelectorWidget::setSelectable |
( |
bool |
set | ) |
|
Sets selectable state on or off. In this state one project item can be selected and executed by mouse double clicking or return key pressing. The property is true by default.
Definition at line 201 of file KexiProjectSelector.cpp.
◆ slotItemExecuted
| void KexiProjectSelectorWidget::slotItemExecuted |
( |
TQListViewItem * |
item | ) |
|
|
protectedslot |
◆ slotItemSelected
| void KexiProjectSelectorWidget::slotItemSelected |
( |
| ) |
|
|
protectedslot |
◆ ProjectDataLVItem
| friend class ProjectDataLVItem |
|
friend |
| KexiProjectSelectorWidgetPrivate* KexiProjectSelectorWidget::d |
|
protected |
◆ m_prj_set
The documentation for this class was generated from the following files: