mirror of
https://github.com/KDE/konsole.git
synced 2026-05-19 12:09:25 -04:00
Add a checkbox to hide the size widget upon resizing window.
Re-add the KDE 3 option to show/hide the size widget when the window is changed. Patch is years old from Chali Ahmul M.P.U <chali.ahmul@atlas.cz> FEATURE: 169054 FIXED-IN: 4.8
This commit is contained in:
@@ -260,6 +260,7 @@ void EditProfileDialog::setupGeneralPage(const Profile::Ptr info)
|
||||
|
||||
// window options
|
||||
_ui->showMenuBarButton->setChecked( info->property<bool>(Profile::ShowMenuBar) );
|
||||
_ui->showSizeWidgetButton->setChecked( info->property<bool>(Profile::ShowSizeWidget) );
|
||||
_ui->saveGeometryOnExitButton->setChecked( info->property<bool>(Profile::SaveGeometryOnExit) );
|
||||
|
||||
// signals and slots
|
||||
@@ -279,6 +280,9 @@ void EditProfileDialog::setupGeneralPage(const Profile::Ptr info)
|
||||
connect(_ui->saveGeometryOnExitButton , SIGNAL(toggled(bool)) , this ,
|
||||
SLOT(saveGeometryOnExit(bool)) );
|
||||
|
||||
connect(_ui->showSizeWidgetButton , SIGNAL(toggled(bool)) , this ,
|
||||
SLOT(showSizeWidget(bool)) );
|
||||
|
||||
connect(_ui->environmentEditButton , SIGNAL(clicked()) , this ,
|
||||
SLOT(showEnvironmentEditor()) );
|
||||
}
|
||||
@@ -385,6 +389,10 @@ void EditProfileDialog::saveGeometryOnExit(bool save)
|
||||
{
|
||||
updateTempProfileProperty(Profile::SaveGeometryOnExit,save);
|
||||
}
|
||||
void EditProfileDialog::showSizeWidget(bool show)
|
||||
{
|
||||
_tempProfile->setProperty(Profile::ShowSizeWidget,show);
|
||||
}
|
||||
void EditProfileDialog::tabTitleFormatChanged(const QString& format)
|
||||
{
|
||||
updateTempProfileProperty(Profile::LocalTabTitleFormat,format);
|
||||
|
||||
Reference in New Issue
Block a user