mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
Rearrange the developer documentation folder. Add some notes on compliance with the KDE 4 HIG / dialog design ( basically a TODO of problems to fix ). Small tweaks to the Edit Profile dialog.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662161
This commit is contained in:
@@ -128,6 +128,9 @@ void EditProfileDialog::setupGeneralPage(const Profile* info)
|
||||
_ui->initialDirEdit->setClearButtonShown(true);
|
||||
_ui->iconSelectButton->setIcon( KIcon(info->icon()) );
|
||||
|
||||
// tab title format
|
||||
_ui->tabTitleEdit->setClearButtonShown(true);
|
||||
_ui->remoteTabTitleEdit->setClearButtonShown(true);
|
||||
_ui->tabTitleEdit->setText( info->property(Profile::LocalTabTitleFormat).value<QString>() );
|
||||
_ui->remoteTabTitleEdit->setText(
|
||||
info->property(Profile::RemoteTabTitleFormat).value<QString>());
|
||||
@@ -135,10 +138,13 @@ void EditProfileDialog::setupGeneralPage(const Profile* info)
|
||||
// tab mode
|
||||
int tabMode = info->property(Profile::TabBarMode).value<int>();
|
||||
|
||||
RadioOption tabModes[] = { {_ui->alwaysHideTabBarButton,Profile::AlwaysHideTabBar,SLOT(alwaysHideTabBar())},
|
||||
{_ui->alwaysShowTabBarButton,Profile::AlwaysShowTabBar,SLOT(alwaysShowTabBar())},
|
||||
{_ui->autoShowTabBarButton,Profile::ShowTabBarAsNeeded,SLOT(showTabBarAsNeeded())},
|
||||
{0,0,0} };
|
||||
RadioOption tabModes[] = { {_ui->alwaysHideTabBarButton,Profile::AlwaysHideTabBar,
|
||||
SLOT(alwaysHideTabBar()) },
|
||||
{_ui->alwaysShowTabBarButton,Profile::AlwaysShowTabBar,
|
||||
SLOT(alwaysShowTabBar()) },
|
||||
{_ui->autoShowTabBarButton,Profile::ShowTabBarAsNeeded,
|
||||
SLOT(showTabBarAsNeeded()) },
|
||||
{0,0,0} };
|
||||
setupRadio( tabModes , tabMode );
|
||||
|
||||
_ui->showMenuBarButton->setChecked( info->property(Profile::ShowMenuBar).value<bool>() );
|
||||
|
||||
Reference in New Issue
Block a user