[Kstars-devel] branches/KDE/3.5/kdeedu/kstars/kstars/tools

Jason Harris kstars at 30doradus.org
Wed Sep 7 07:49:47 CEST 2005


SVN commit 457980 by harris:

The Observing List tool has a feature that is not yet working: a 
MiniButton that is supposed to toggle the window between "norml" mode 
and a smaller "compact" mode.  The idea is to have a smaller 
observing list window (with slightly reduced functionality) so the 
user can leave it open without covering much of the screen.

It mostly works, the UI elements are modified when you click the 
button.  However, I can't get the window to resize itself.  So it's kind 
of useless right now.  Therefore, I am disabling it for KDE-3.5 (unless 
someone who knows how to fix it can speak up in the next few days :)

CCMAIL: kstars-devel at kde.org


 M  +7 -2      observinglist.cpp  


--- branches/KDE/3.5/kdeedu/kstars/kstars/tools/observinglist.cpp #457979:457980
@@ -62,6 +62,9 @@
 	ui = new ObservingListUI( page );
 	vlay->addWidget( ui );
 
+	//FIXME: enable MiniButton when I figure out how to resize the window correctly
+	ui->MiniButton->hide();
+
 	//Connections
 	connect( this, SIGNAL( closeClicked() ), this, SLOT( slotClose() ) );
 	connect( ui->TableStack, SIGNAL( aboutToShow( QWidget* ) ), 
@@ -93,9 +96,11 @@
 			this, SLOT( slotSaveListAs() ) );
 	connect( ui->WizardButton, SIGNAL( clicked() ),
 			this, SLOT( slotWizard() ) );
-	connect( ui->MiniButton, SIGNAL( clicked() ),
-			this, SLOT( slotToggleSize() ) );
 
+	//FIXME: enable MiniButton
+// 	connect( ui->MiniButton, SIGNAL( clicked() ),
+// 			this, SLOT( slotToggleSize() ) );
+
 	obsList.setAutoDelete( false ); //do NOT delete removed pointers!
 	
 	//Add icons to Push Buttons


More information about the Kstars-devel mailing list