Changeset View
Changeset View
Standalone View
Standalone View
src/main/KexiMainWindow.cpp
Show First 20 Lines • Show All 4238 Lines • ▼ Show 20 Line(s) | |||||
4239 | 4239 | | |||
4240 | void KexiMainWindow::addSearchableModel(KexiSearchableModel *model) | 4240 | void KexiMainWindow::addSearchableModel(KexiSearchableModel *model) | ||
4241 | { | 4241 | { | ||
4242 | if (d->tabbedToolBar) { | 4242 | if (d->tabbedToolBar) { | ||
4243 | d->tabbedToolBar->addSearchableModel(model); | 4243 | d->tabbedToolBar->addSearchableModel(model); | ||
4244 | } | 4244 | } | ||
4245 | } | 4245 | } | ||
4246 | 4246 | | |||
4247 | void KexiMainWindow::removeSearchableModel(KexiSearchableModel *model) | ||||
4248 | { | ||||
4249 | if (d->tabbedToolBar) { | ||||
4250 | d->tabbedToolBar->removeSearchableModel(model); | ||||
4251 | } | ||||
4252 | } | ||||
4253 | | ||||
4247 | void KexiMainWindow::setReasonableDialogSize(QDialog *dialog) | 4254 | void KexiMainWindow::setReasonableDialogSize(QDialog *dialog) | ||
4248 | { | 4255 | { | ||
4249 | dialog->setMinimumSize(600, 400); | 4256 | dialog->setMinimumSize(600, 400); | ||
4250 | dialog->resize(size() * 0.8); | 4257 | dialog->resize(size() * 0.8); | ||
4251 | } | 4258 | } | ||
4252 | 4259 | | |||
4253 | void KexiMainWindow::restoreDesignTabAndActivateIfNeeded(const QString &tabName) | 4260 | void KexiMainWindow::restoreDesignTabAndActivateIfNeeded(const QString &tabName) | ||
4254 | { | 4261 | { | ||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |