Problems w/ Dialog Editor

Steven Suson suson at TuckerEnergy.com
Wed Apr 12 17:20:32 BST 2000


Greetings,

    Having noticed that the "Bugs and Ongoing Work" page recommends
posting all bugs to this list, and having heard nothing concerning this
bug other than the automated replies, I am posting this bug (#2862). As
it appears that KDevelop 1.2 is getting closer, I hope that these
problems can be addressed. Please feel free to contact me for more
information, and I apologize for the rather large email, due to the need
to include two .kdevdlg files...

Thanks in advance,
Steven Suson
"Keep the faith."


Package: kdevelop
Version: 1.1
Severity: grave

Bugreport ID : 14:34,20.03.00

Originator      : Steven Suson
E-Mail          : suson at TuckerEnergy.com

Subject : Dialog Editor problem w/ QSpinBox

Error Class     : software bug
Error Location  : dialog editor
Priority        : high
Bug Description ---------------------------

Two problems really, which may or may not be connected. With the dialog
that I have created, I may now only open it once per invocation of
KDevelop.
Closing and reopening the project doesn't help. The other problem, is
that
although I have set the SpecialValText property, this does not get
included
in the output source code.

How to repeat the error -------------------

I am unsure, as this is the first time that I have used the
SpecialValText
property. It may be that using this property is sufficient to cause the
problem. If need be, let me know and I will send you the .kdevdlg file.

System Information ------------------------

KDevelop version        : 1.1
KDE version             : 1.1.1
QT version              : 1.44
OS/Distribution         : Red Hat 6.0
Compiler                : egcs 1.1.2

Here is the associated .kdevdlg file contents:

// KDevelop Dialog Editor File (.kdevdlg)
//
// Created by KDlgEdit Version 0.1alpha (C) 1999 by Pascal Krahmer
// Get KDevelop including KDlgEdit at "www.beast.de/kdevelop"
//
data Information
{

Filename="/home/suson/KProjects/kspecdisp/kspecdisp/quickscales.kdevdlg"

   KDevelopVersion="1.1"
   DlgEditVersion="0.1alpha"
   LastChanged="Mon Mar 20 15:07:12 2000"
}

data SessionManagement
{
   OpenedRoot_1="Appearance"
   OpenedRoot_2="C++ Code"
   OpenedRoot_3="General"
   OpenedRoot_4="Geometry"
   OpenedRootCount="4"
}

item QWidget
{
   ToolTip="Quick scale set dialog"
   Name="setscaledlg"
   IsHidden="false"
   IsEnabled="true"
   VarName="this"
   AcceptsDrops="false"
   HasFocus="false"
   X="0"
   Y="0"
   Width="490"
   Height="130"
   MinWidth="0"
   MinHeight="0"
   IsFixedSize="true"

   item QLabel
   {
      Name="titlelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_1"
      AcceptsDrops="false"
      X="160"
      Y="10"
      Width="164"
      Height="21"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidabright" "18" "75" "TRUE""
      Text="Quick Set Scales"
      isAutoResize="true"
   }

   item QLabel
   {
      Name="lowscalelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="10"
      Y="40"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="Low Scale"
      Buddy="lowspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the low scale value\nfor both spectrum & analyzer"

      ToolTip="Sets low scale"
      Name="lowspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="110"
      Y="40"
      Width="110"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""terminal" "16" "50" "FALSE""
      Suffix=" CPS"
      Value="0"
      MinValue="-1"
      MaxValue="990"
      isWrapping="true"
      SpecialValText="Auto"
   }

   item QLabel
   {
      Name="highscalelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_3"
      AcceptsDrops="false"
      HasFocus="false"
      X="250"
      Y="40"
      Width="90"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="High Scale"
      Buddy="highspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the high scale value\nfor both spectrum &
analyzer"
      ToolTip="Sets low scale"
      Name="highspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="350"
      Y="40"
      Width="110"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""terminal" "16" "50" "FALSE""
      Suffix=" CPS"
      Value="500"
      MinValue="9"
      MaxValue="1000"
      isWrapping="true"
      SpecialValText="Auto"
   }

   item QPushButton
   {
      ToolTip="Completes dialog"
      Name="okbtn"
      IsHidden="false"
      IsEnabled="true"
      VarName="QPushButton_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="30"
      Y="90"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "18" "75" "TRUE""
      Text="OK"
      isDefault="true"
      isAutoDefault="true"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
   }

   item QPushButton
   {
      ToolTip="Cancels dialog"
      Name="cancelbtn"
      IsHidden="false"
      IsEnabled="true"
      VarName="QPushButton_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="190"
      Y="90"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "18" "75" "TRUE""
      Text="Cancel"
      isDefault="false"
      isAutoDefault="false"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
   }

   item QPushButton
   {
      ToolTip="Provides help for dialog"
      Name="hlpbtn"
      IsHidden="false"
      IsEnabled="true"
      VarName="QPushButton_3"
      AcceptsDrops="false"
      HasFocus="false"
      X="360"
      Y="90"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "18" "75" "TRUE""
      Text="Help"
      isDefault="false"
      isAutoDefault="false"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
   }
}

    At some point, the Dialog Editor has now decided to drop my suffix
property for QSpinBox also. Following is the new .kdevdlg file...

// KDevelop Dialog Editor File (.kdevdlg)
//
// Created by KDlgEdit Version 0.1alpha (C) 1999 by Pascal Krahmer
// Get KDevelop including KDlgEdit at "www.beast.de/kdevelop"
//
data Information
{

Filename="/home/suson/KProjects/kspecdisp/kspecdisp/configure.kdevdlg"
   KDevelopVersion="1.1"
   DlgEditVersion="0.1alpha"
   LastChanged="Tue Mar 21 17:05:38 2000"
}

data SessionManagement
{
   OpenedRoot_1="Appearance"
   OpenedRoot_2="C++ Code"
   OpenedRoot_3="General"
   OpenedRoot_4="Geometry"
   OpenedRootCount="4"
}

item QWidget
{
   ToolTip="Data view configuration"
   Name="configuredlg"
   IsHidden="true"
   IsEnabled="true"
   VarName="this"
   AcceptsDrops="false"
   HasFocus="false"
   X="0"
   Y="0"
   Width="490"
   Height="410"
   MinWidth="0"
   MinHeight="0"
   IsFixedSize="true"

   item QLabel
   {
      Name="spectitle"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="150"
      Y="20"
      Width="176"
      Height="21"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidabright" "18" "75" "TRUE""
      Text="Spectrum Display"
      isAutoResize="true"
   }

   item QLabel
   {
      Name="speclowscalelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="20"
      Y="50"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="Low Scale"
      Buddy="speclowspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the low scale value\nfor spectrum"
      ToolTip="Sets low scale"
      Name="speclowspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="110"
      Y="50"
      Width="110"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""fixed" "12" "50" "FALSE""
      Suffix=" CPS"
      MinValue="-1"
      MaxValue="990"
      isWrapping="true"
      SpecialValText="Auto"
   }

   item QLabel
   {
      Name="spechighscalelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_3"
      AcceptsDrops="false"
      HasFocus="false"
      X="260"
      Y="50"
      Width="90"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="High Scale"
      Buddy="spechighspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the high scale value\nfor spectrum"
      ToolTip="Sets high scale"
      Name="spechighspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="360"
      Y="50"
      Width="110"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""fixed" "12" "50" "FALSE""
      Suffix=" CPS"
      MinValue="9"
      MaxValue="1000"
      isWrapping="true"
      SpecialValText="Auto"
   }

   item KColorButton
   {
      QuickHelp="Sets the color of the\ndisplayed spectrum"
      ToolTip="Spectrum color"
      Name="specclr"
      IsHidden="false"
      IsEnabled="true"
      VarName="KColorButton_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="250"
      Y="100"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      isDefault="false"
      isAutoDefault="false"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
      DisplayedColor="0xffffff"
   }

   item QLabel
   {
      Name="specclrlbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_4"
      AcceptsDrops="false"
      HasFocus="false"
      X="110"
      Y="100"
      Width="130"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="Spectrum Color"
      Buddy="specclr"
      isAutoResize="false"
   }

   item KSeparator
   {
      Name="sep_1"
      IsHidden="false"
      IsEnabled="true"
      VarName="KSeparator_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="0"
      Y="130"
      Width="490"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Orientation="Horizontal"
   }

   item QLabel
   {
      Name="anatitle"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_5"
      AcceptsDrops="false"
      HasFocus="false"
      X="150"
      Y="170"
      Width="176"
      Height="21"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidabright" "18" "75" "TRUE""
      Text="Spectrum Analyzer"
      isAutoResize="true"
   }

   item QLabel
   {
      Name="analowscalelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_6"
      AcceptsDrops="false"
      HasFocus="false"
      X="20"
      Y="200"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="Low Scale"
      Buddy="analowspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the low scale value\nfor analyzer"
      ToolTip="Sets low scale"
      Name="analowspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_3"
      AcceptsDrops="false"
      HasFocus="false"
      X="110"
      Y="200"
      Width="110"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""fixed" "12" "50" "FALSE""
      Suffix=" CPS"
      MinValue="-1"
      MaxValue="990"
      isWrapping="true"
      SpecialValText="Auto"
   }

   item QLabel
   {
      Name="anahighscalelbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_7"
      AcceptsDrops="false"
      HasFocus="false"
      X="260"
      Y="200"
      Width="90"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="High Scale"
      Buddy="anahighspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the high scale value\nfor analyzer"
      ToolTip="Sets high scale"
      Name="anahighspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_4"
      AcceptsDrops="false"
      HasFocus="false"
      X="360"
      Y="200"
      Width="110"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""fixed" "12" "50" "FALSE""
      Suffix=" CPS"
      MinValue="9"
      MaxValue="1000"
      isWrapping="true"
      SpecialValText="Auto"
   }

   item QLabel
   {
      Name="anaclrlbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_8"
      AcceptsDrops="false"
      HasFocus="false"
      X="110"
      Y="250"
      Width="130"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="Analyzer Color"
      Buddy="anaclr"
      isAutoResize="false"
   }

   item KColorButton
   {
      QuickHelp="Sets the color of the\ndisplayed analyzer"
      ToolTip="Analyzer color"
      Name="anaclr"
      IsHidden="false"
      IsEnabled="true"
      VarName="KColorButton_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="250"
      Y="250"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      isDefault="false"
      isAutoDefault="false"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
      DisplayedColor="0xff0000"
   }

   item KSeparator
   {
      Name="sep_2"
      IsHidden="false"
      IsEnabled="true"
      VarName="KSeparator_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="0"
      Y="280"
      Width="490"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Orientation="Horizontal"
   }

   item QLabel
   {
      Name="accumlbl"
      IsHidden="false"
      IsEnabled="true"
      VarName="QLabel_9"
      AcceptsDrops="false"
      HasFocus="false"
      X="130"
      Y="320"
      Width="90"
      Height="15"
      MinWidth="0"
      MinHeight="0"
      IsFixedSize="false"
      Font=""lucidatypewriter" "14" "75" "TRUE""
      Text="Accumulate"
      Buddy="accumspinbox"
      isAutoResize="false"
   }

   item QSpinBox
   {
      QuickHelp="Sets the number of spectra\nto accumulate"
      ToolTip="Sets number to accumulate"
      Name="accumspinbox"
      IsHidden="false"
      IsEnabled="true"
      VarName="QSpinBox_5"
      AcceptsDrops="false"
      HasFocus="false"
      X="230"
      Y="310"
      Width="130"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""fixed" "12" "50" "FALSE""
      Suffix=" Spectra"
      MinValue="1"
      MaxValue="16"
      isWrapping="true"
   }

   item KSeparator
   {
      Name="sep_2"
      IsHidden="false"
      IsEnabled="true"
      VarName="KSeparator_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="0"
      Y="340"
      Width="490"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Orientation="Horizontal"
   }

   item QPushButton
   {
      ToolTip="Completes dialog"
      Name="okbtn"
      IsHidden="false"
      IsEnabled="true"
      VarName="QPushButton_1"
      AcceptsDrops="false"
      HasFocus="false"
      X="20"
      Y="370"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "18" "75" "TRUE""
      Text="OK"
      isDefault="true"
      isAutoDefault="true"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
   }

   item QPushButton
   {
      ToolTip="Cancels dialog"
      Name="cancelbtn"
      IsHidden="false"
      IsEnabled="true"
      VarName="QPushButton_2"
      AcceptsDrops="false"
      HasFocus="false"
      X="200"
      Y="370"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "18" "75" "TRUE""
      Text="Cancel"
      isDefault="false"
      isAutoDefault="false"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
   }

   item QPushButton
   {
      ToolTip="Provides help for dialog"
      Name="hlpbtn"
      IsHidden="false"
      IsEnabled="true"
      VarName="QPushButton_3"
      AcceptsDrops="false"
      HasFocus="false"
      X="370"
      Y="370"
      Width="100"
      Height="30"
      MinWidth="0"
      MinHeight="0"
      Font=""lucidatypewriter" "18" "75" "TRUE""
      Text="Help"
      isDefault="false"
      isAutoDefault="false"
      isToggleButton="false"
      isMenuButton="false"
      isAutoResize="false"
      isAutoRepeat="false"
   }
}






More information about the KDevelop mailing list