/**************************************************************************** ** Form implementation generated from reading ui file '..\xml\ConfigOptionsDialog.ui' ** ** Created: Sun Feb 16 16:05:37 2003 ** by: The User Interface Compiler (uic) ** ** WARNING! All changes made in this file will be lost! ****************************************************************************/ #include "\Documents and Settings\Jacob Gladish.SELLOUT\Projects\guest\jacob_gladish\qperforce\xml\..\include\ConfigOptionsDialog.h" #include <qbuttongroup.h> #include <qcheckbox.h> #include <qcombobox.h> #include <qgroupbox.h> #include <qheader.h> #include <qlabel.h> #include <qlineedit.h> #include <qlistview.h> #include <qpushbutton.h> #include <qradiobutton.h> #include <qtabwidget.h> #include <qwidget.h> #include <qlayout.h> #include <qvariant.h> #include <qtooltip.h> #include <qwhatsthis.h> /* * Constructs a ConfigOptionsDialog which is a child of 'parent', with the * name 'name' and widget flags set to 'f' * * The dialog will by default be modeless, unless you set 'modal' to * TRUE to construct a modal dialog. */ ConfigOptionsDialog::ConfigOptionsDialog( QWidget* parent, const char* name, bool modal, WFlags fl ) : QDialog( parent, name, modal, fl ) { if ( !name ) setName( "ConfigOptionsDialog" ); resize( 475, 425 ); setMinimumSize( QSize( 475, 425 ) ); setMaximumSize( QSize( 475, 425 ) ); setCaption( tr( "QPerforce Options" ) ); setSizeGripEnabled( TRUE ); QWidget* privateLayoutWidget = new QWidget( this, "Layout1" ); privateLayoutWidget->setGeometry( QRect( 10, 390, 447, 28 ) ); privateLayoutWidget->setMinimumSize( QSize( 0, 0 ) ); Layout1 = new QHBoxLayout( privateLayoutWidget ); Layout1->setSpacing( 6 ); Layout1->setMargin( 0 ); buttonHelp = new QPushButton( privateLayoutWidget, "buttonHelp" ); buttonHelp->setText( tr( "&Help" ) ); buttonHelp->setAutoDefault( TRUE ); Layout1->addWidget( buttonHelp ); QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum ); Layout1->addItem( spacer ); buttonApply = new QPushButton( privateLayoutWidget, "buttonApply" ); buttonApply->setText( tr( "&Apply" ) ); buttonApply->setAutoDefault( TRUE ); Layout1->addWidget( buttonApply ); buttonOk = new QPushButton( privateLayoutWidget, "buttonOk" ); buttonOk->setText( tr( "&OK" ) ); buttonOk->setAutoDefault( TRUE ); buttonOk->setDefault( TRUE ); Layout1->addWidget( buttonOk ); buttonCancel = new QPushButton( privateLayoutWidget, "buttonCancel" ); buttonCancel->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, buttonCancel->sizePolicy().hasHeightForWidth() ) ); buttonCancel->setText( tr( "&Cancel" ) ); buttonCancel->setAutoDefault( TRUE ); Layout1->addWidget( buttonCancel ); tabWidget = new QTabWidget( this, "tabWidget" ); tabWidget->setGeometry( QRect( 10, 10, 450, 370 ) ); tabWidget->setMinimumSize( QSize( 0, 0 ) ); Widget2 = new QWidget( tabWidget, "Widget2" ); ComboBox1 = new QComboBox( FALSE, Widget2, "ComboBox1" ); ComboBox1->setGeometry( QRect( 80, 10, 190, 22 ) ); CheckBox1 = new QCheckBox( Widget2, "CheckBox1" ); CheckBox1->setGeometry( QRect( 280, 10, 150, 20 ) ); CheckBox1->setText( tr( "Remember as Default" ) ); TextLabel2 = new QLabel( Widget2, "TextLabel2" ); TextLabel2->setGeometry( QRect( 220, 40, 53, 20 ) ); TextLabel2->setText( tr( "minutes" ) ); CheckBox5 = new QCheckBox( Widget2, "CheckBox5" ); CheckBox5->setGeometry( QRect( 20, 60, 330, 20 ) ); CheckBox5->setText( tr( "Automaticall reload depot & chanelists after editing client definition" ) ); CheckBox6 = new QCheckBox( Widget2, "CheckBox6" ); CheckBox6->setGeometry( QRect( 20, 80, 270, 20 ) ); CheckBox6->setText( tr( "Automatically reload pane when it is uncovered after" ) ); TextLabel3 = new QLabel( Widget2, "TextLabel3" ); TextLabel3->setGeometry( QRect( 340, 80, 53, 20 ) ); TextLabel3->setText( tr( "minutes" ) ); ButtonGroup2 = new QButtonGroup( Widget2, "ButtonGroup2" ); ButtonGroup2->setGeometry( QRect( 20, 110, 410, 70 ) ); ButtonGroup2->setTitle( tr( "Submitted Changelists Pane" ) ); RadioButton2 = new QRadioButton( ButtonGroup2, "RadioButton2" ); RadioButton2->setGeometry( QRect( 10, 40, 130, 20 ) ); RadioButton2->setText( tr( "Automatically fetch last" ) ); TextLabel4 = new QLabel( ButtonGroup2, "TextLabel4" ); TextLabel4->setGeometry( QRect( 190, 40, 120, 20 ) ); TextLabel4->setText( tr( "changelists from server" ) ); RadioButton1 = new QRadioButton( ButtonGroup2, "RadioButton1" ); RadioButton1->setGeometry( QRect( 10, 20, 290, 20 ) ); RadioButton1->setText( tr( "Automatically fetch all submitted changelists from server" ) ); LineEdit4 = new QLineEdit( ButtonGroup2, "LineEdit4" ); LineEdit4->setEnabled( FALSE ); LineEdit4->setGeometry( QRect( 150, 40, 30, 22 ) ); TextLabel1 = new QLabel( Widget2, "TextLabel1" ); TextLabel1->setGeometry( QRect( 20, 10, 50, 20 ) ); TextLabel1->setText( tr( "P4Port" ) ); ButtonGroup8 = new QButtonGroup( Widget2, "ButtonGroup8" ); ButtonGroup8->setGeometry( QRect( 20, 190, 410, 70 ) ); ButtonGroup8->setTitle( tr( "Job List Pane" ) ); RadioButton40 = new QRadioButton( ButtonGroup8, "RadioButton40" ); RadioButton40->setGeometry( QRect( 10, 20, 190, 20 ) ); RadioButton40->setText( tr( "Display All filtered or unfiltered Jobs" ) ); TextLabel4_2 = new QLabel( ButtonGroup8, "TextLabel4_2" ); TextLabel4_2->setGeometry( QRect( 170, 40, 140, 20 ) ); TextLabel4_2->setText( tr( "changelists from server" ) ); CheckBox40 = new QCheckBox( ButtonGroup8, "CheckBox40" ); CheckBox40->setEnabled( FALSE ); CheckBox40->setGeometry( QRect( 220, 20, 160, 20 ) ); CheckBox40->setText( tr( "Poll for Job Updates" ) ); RadioButton41 = new QRadioButton( ButtonGroup8, "RadioButton41" ); RadioButton41->setGeometry( QRect( 10, 40, 120, 20 ) ); RadioButton41->setText( tr( "Display maximum of" ) ); LineEdit35 = new QLineEdit( ButtonGroup8, "LineEdit35" ); LineEdit35->setEnabled( FALSE ); LineEdit35->setGeometry( QRect( 130, 40, 30, 22 ) ); ButtonGroup15 = new QButtonGroup( Widget2, "ButtonGroup15" ); ButtonGroup15->setGeometry( QRect( 20, 270, 410, 70 ) ); ButtonGroup15->setTitle( tr( "Revision History Window" ) ); TextLabel5_2 = new QLabel( ButtonGroup15, "TextLabel5_2" ); TextLabel5_2->setGeometry( QRect( 190, 40, 130, 20 ) ); TextLabel5_2->setText( tr( "history records from server" ) ); RadioButton60 = new QRadioButton( ButtonGroup15, "RadioButton60" ); RadioButton60->setGeometry( QRect( 10, 20, 300, 20 ) ); RadioButton60->setText( tr( "Automatically fetch all revision history records from server" ) ); RadioButton61 = new QRadioButton( ButtonGroup15, "RadioButton61" ); RadioButton61->setGeometry( QRect( 10, 40, 130, 20 ) ); RadioButton61->setText( tr( "Automatically fetch last" ) ); LineEdit43 = new QLineEdit( ButtonGroup15, "LineEdit43" ); LineEdit43->setEnabled( FALSE ); LineEdit43->setGeometry( QRect( 150, 40, 30, 22 ) ); LineEdit3 = new QLineEdit( Widget2, "LineEdit3" ); LineEdit3->setEnabled( FALSE ); LineEdit3->setGeometry( QRect( 300, 80, 28, 22 ) ); LineEdit2 = new QLineEdit( Widget2, "LineEdit2" ); LineEdit2->setEnabled( FALSE ); LineEdit2->setGeometry( QRect( 180, 40, 30, 22 ) ); CheckBox4 = new QCheckBox( Widget2, "CheckBox4" ); CheckBox4->setEnabled( FALSE ); CheckBox4->setGeometry( QRect( 280, 40, 120, 20 ) ); CheckBox4->setText( tr( "Poll When Active" ) ); CheckBox3 = new QCheckBox( Widget2, "CheckBox3" ); CheckBox3->setGeometry( QRect( 20, 40, 160, 20 ) ); CheckBox3->setText( tr( "Poll server for updates every" ) ); tabWidget->insertTab( Widget2, tr( "Connection" ) ); Widget3 = new QWidget( tabWidget, "Widget3" ); GroupBox3 = new QGroupBox( Widget3, "GroupBox3" ); GroupBox3->setGeometry( QRect( 10, 10, 431, 150 ) ); GroupBox3->setTitle( tr( "Editors (over-ride specific file associations)" ) ); ListView1 = new QListView( GroupBox3, "ListView1" ); ListView1->addColumn( tr( "Extension" ) ); ListView1->addColumn( tr( "Application" ) ); ListView1->setGeometry( QRect( 10, 20, 330, 120 ) ); PushButton7 = new QPushButton( GroupBox3, "PushButton7" ); PushButton7->setGeometry( QRect( 350, 110, 70, 26 ) ); PushButton7->setText( tr( "Edit" ) ); PushButton6 = new QPushButton( GroupBox3, "PushButton6" ); PushButton6->setGeometry( QRect( 350, 70, 70, 26 ) ); PushButton6->setText( tr( "Delete" ) ); PushButton5 = new QPushButton( GroupBox3, "PushButton5" ); PushButton5->setGeometry( QRect( 350, 30, 70, 26 ) ); PushButton5->setText( tr( "Add" ) ); CheckBox7_2 = new QCheckBox( Widget3, "CheckBox7_2" ); CheckBox7_2->setGeometry( QRect( 10, 170, 320, 20 ) ); CheckBox7_2->setText( tr( "Ignore associated apps for ALL other text files" ) ); TextLabel1_2 = new QLabel( Widget3, "TextLabel1_2" ); TextLabel1_2->setGeometry( QRect( 10, 200, 100, 20 ) ); TextLabel1_2->setText( tr( "Default Text Editor:" ) ); PushButton8 = new QPushButton( Widget3, "PushButton8" ); PushButton8->setGeometry( QRect( 10, 230, 93, 26 ) ); PushButton8->setText( tr( "Browse..." ) ); CheckBox8 = new QCheckBox( Widget3, "CheckBox8" ); CheckBox8->setGeometry( QRect( 110, 230, 160, 20 ) ); CheckBox8->setText( tr( "Console Application" ) ); ButtonGroup3 = new QButtonGroup( Widget3, "ButtonGroup3" ); ButtonGroup3->setGeometry( QRect( 18, 267, 410, 60 ) ); ButtonGroup3->setAutoMask( FALSE ); ButtonGroup3->setBackgroundOrigin( QButtonGroup::WidgetOrigin ); ButtonGroup3->setFrameShape( QButtonGroup::NoFrame ); ButtonGroup3->setTitle( tr( "Dont' use temp for these extensions:" ) ); RadioButton21 = new QRadioButton( ButtonGroup3, "RadioButton21" ); RadioButton21->setGeometry( QRect( 0, 40, 190, 20 ) ); RadioButton21->setText( tr( "Dont' use temp for these extensions:" ) ); RadioButton19 = new QRadioButton( ButtonGroup3, "RadioButton19" ); RadioButton19->setGeometry( QRect( 0, 0, 340, 20 ) ); RadioButton19->setText( tr( "Never use a temp file when viewing a synced unopened depot file" ) ); RadioButton20 = new QRadioButton( ButtonGroup3, "RadioButton20" ); RadioButton20->setGeometry( QRect( 0, 20, 310, 20 ) ); RadioButton20->setText( tr( "Always use a temp file when viewing an unopened depot file" ) ); LineEdit21 = new QLineEdit( ButtonGroup3, "LineEdit21" ); LineEdit21->setEnabled( FALSE ); LineEdit21->setGeometry( QRect( 200, 40, 200, 22 ) ); LineEdit6_2 = new QLineEdit( Widget3, "LineEdit6_2" ); LineEdit6_2->setGeometry( QRect( 110, 200, 320, 22 ) ); tabWidget->insertTab( Widget3, tr( "Edit/View" ) ); tab = new QWidget( tabWidget, "tab" ); ButtonGroup11 = new QButtonGroup( tab, "ButtonGroup11" ); ButtonGroup11->setGeometry( QRect( 10, 10, 420, 140 ) ); ButtonGroup11->setTitle( tr( "Diff Application" ) ); CheckBox64 = new QCheckBox( ButtonGroup11, "CheckBox64" ); CheckBox64->setGeometry( QRect( 10, 110, 150, 20 ) ); CheckBox64->setText( tr( "Allow Diff of Binary files" ) ); PushButton17 = new QPushButton( ButtonGroup11, "PushButton17" ); PushButton17->setGeometry( QRect( 330, 90, 80, 26 ) ); PushButton17->setText( tr( "Browse" ) ); LineEdit16 = new QLineEdit( ButtonGroup11, "LineEdit16" ); LineEdit16->setEnabled( FALSE ); LineEdit16->setGeometry( QRect( 10, 60, 400, 22 ) ); CheckBox63 = new QCheckBox( ButtonGroup11, "CheckBox63" ); CheckBox63->setEnabled( FALSE ); CheckBox63->setGeometry( QRect( 10, 90, 120, 20 ) ); CheckBox63->setText( tr( "Console Application" ) ); RadioButton32 = new QRadioButton( ButtonGroup11, "RadioButton32" ); RadioButton32->setGeometry( QRect( 10, 40, 170, 20 ) ); RadioButton32->setText( tr( "User supplied Diff application" ) ); CheckBox65 = new QCheckBox( ButtonGroup11, "CheckBox65" ); CheckBox65->setEnabled( FALSE ); CheckBox65->setGeometry( QRect( 160, 90, 140, 20 ) ); CheckBox65->setText( tr( "Close Window upon Exit" ) ); LineEdit15 = new QLineEdit( ButtonGroup11, "LineEdit15" ); LineEdit15->setEnabled( FALSE ); LineEdit15->setGeometry( QRect( 320, 20, 30, 22 ) ); TextLabel1_3 = new QLabel( ButtonGroup11, "TextLabel1_3" ); TextLabel1_3->setEnabled( FALSE ); TextLabel1_3->setGeometry( QRect( 180, 20, 140, 20 ) ); TextLabel1_3->setText( tr( "Characters per Tab setting:" ) ); RadioButton31 = new QRadioButton( ButtonGroup11, "RadioButton31" ); RadioButton31->setGeometry( QRect( 10, 20, 160, 20 ) ); RadioButton31->setText( tr( "Perforce Diff (recommended)" ) ); ButtonGroup12 = new QButtonGroup( tab, "ButtonGroup12" ); ButtonGroup12->setGeometry( QRect( 10, 170, 420, 140 ) ); ButtonGroup12->setTitle( tr( "Merge Application" ) ); CheckBox66 = new QCheckBox( ButtonGroup12, "CheckBox66" ); CheckBox66->setGeometry( QRect( 200, 20, 160, 20 ) ); CheckBox66->setText( tr( "Do not show file names" ) ); CheckBox67 = new QCheckBox( ButtonGroup12, "CheckBox67" ); CheckBox67->setEnabled( FALSE ); CheckBox67->setGeometry( QRect( 10, 100, 120, 20 ) ); CheckBox67->setText( tr( "Console Application" ) ); CheckBox68 = new QCheckBox( ButtonGroup12, "CheckBox68" ); CheckBox68->setEnabled( FALSE ); CheckBox68->setGeometry( QRect( 160, 100, 140, 20 ) ); CheckBox68->setText( tr( "Close window upon Exit" ) ); PushButton18 = new QPushButton( ButtonGroup12, "PushButton18" ); PushButton18->setEnabled( FALSE ); PushButton18->setGeometry( QRect( 330, 100, 80, 26 ) ); PushButton18->setText( tr( "Browse" ) ); LineEdit17 = new QLineEdit( ButtonGroup12, "LineEdit17" ); LineEdit17->setEnabled( FALSE ); LineEdit17->setGeometry( QRect( 10, 70, 400, 22 ) ); RadioButton34 = new QRadioButton( ButtonGroup12, "RadioButton34" ); RadioButton34->setGeometry( QRect( 10, 40, 180, 20 ) ); RadioButton34->setText( tr( "User supplied Merge application" ) ); RadioButton33 = new QRadioButton( ButtonGroup12, "RadioButton33" ); RadioButton33->setGeometry( QRect( 10, 20, 190, 20 ) ); RadioButton33->setText( tr( "Perforce Merge (recommended)" ) ); tabWidget->insertTab( tab, tr( "Diff/Merge" ) ); tab_2 = new QWidget( tabWidget, "tab_2" ); CheckBox25 = new QCheckBox( tab_2, "CheckBox25" ); CheckBox25->setGeometry( QRect( 10, 8, 315, 17 ) ); CheckBox25->setText( tr( "Show deleted depot files" ) ); CheckBox26 = new QCheckBox( tab_2, "CheckBox26" ); CheckBox26->setGeometry( QRect( 10, 31, 315, 17 ) ); CheckBox26->setText( tr( "Show Perforce files types in Depot and Changelist panes" ) ); CheckBox29 = new QCheckBox( tab_2, "CheckBox29" ); CheckBox29->setGeometry( QRect( 10, 54, 315, 17 ) ); CheckBox29->setText( tr( "Show open action in Changelist pane" ) ); CheckBox30 = new QCheckBox( tab_2, "CheckBox30" ); CheckBox30->setGeometry( QRect( 10, 77, 315, 17 ) ); CheckBox30->setText( tr( "Show partial change descriptions in Changelist pane" ) ); CheckBox31 = new QCheckBox( tab_2, "CheckBox31" ); CheckBox31->setGeometry( QRect( 10, 100, 315, 17 ) ); CheckBox31->setText( tr( "Always show connect settings in title bar" ) ); CheckBox32 = new QCheckBox( tab_2, "CheckBox32" ); CheckBox32->setGeometry( QRect( 10, 123, 315, 17 ) ); CheckBox32->setText( tr( "Show p4 command in the status pane" ) ); CheckBox33 = new QCheckBox( tab_2, "CheckBox33" ); CheckBox33->setGeometry( QRect( 10, 146, 315, 17 ) ); CheckBox33->setText( tr( "Show local path for depot files" ) ); CheckBox34 = new QCheckBox( tab_2, "CheckBox34" ); CheckBox34->setGeometry( QRect( 10, 169, 315, 17 ) ); CheckBox34->setText( tr( "Outline depot file under cursor" ) ); CheckBox35 = new QCheckBox( tab_2, "CheckBox35" ); CheckBox35->setGeometry( QRect( 10, 192, 315, 17 ) ); CheckBox35->setText( tr( "Show timestamp for status messages" ) ); CheckBox36 = new QCheckBox( tab_2, "CheckBox36" ); CheckBox36->setGeometry( QRect( 10, 215, 315, 17 ) ); CheckBox36->setText( tr( "Preserve formatting for text in all specification dialogs" ) ); CheckBox37 = new QCheckBox( tab_2, "CheckBox37" ); CheckBox37->setGeometry( QRect( 10, 238, 315, 17 ) ); CheckBox37->setText( tr( "List label files in a dialog box rather than in the status pane" ) ); CheckBox38 = new QCheckBox( tab_2, "CheckBox38" ); CheckBox38->setGeometry( QRect( 10, 261, 315, 17 ) ); CheckBox38->setText( tr( "Expand pending changelists whenever a file or job is added" ) ); CheckBox39 = new QCheckBox( tab_2, "CheckBox39" ); CheckBox39->setGeometry( QRect( 10, 284, 315, 17 ) ); CheckBox39->setText( tr( "Enable including integrations when filtering submitted changes" ) ); CheckBox40_2 = new QCheckBox( tab_2, "CheckBox40_2" ); CheckBox40_2->setGeometry( QRect( 10, 307, 315, 17 ) ); CheckBox40_2->setText( tr( "Enable displaying branching history in Revision History dialog" ) ); tabWidget->insertTab( tab_2, tr( "Display" ) ); tab_3 = new QWidget( tabWidget, "tab_3" ); tabWidget->insertTab( tab_3, tr( "Font" ) ); tab_4 = new QWidget( tabWidget, "tab_4" ); ButtonGroup20 = new QButtonGroup( tab_4, "ButtonGroup20" ); ButtonGroup20->setGeometry( QRect( 10, 150, 430, 90 ) ); ButtonGroup20->setTitle( tr( "When you double-click a file in either the depot or pending changelist pane:" ) ); RadioButton53 = new QRadioButton( ButtonGroup20, "RadioButton53" ); RadioButton53->setGeometry( QRect( 10, 20, 410, 20 ) ); RadioButton53->setText( tr( "Diff vs Head Rev in Depot pane/vs Depot version in Changelist pane" ) ); RadioButton54 = new QRadioButton( ButtonGroup20, "RadioButton54" ); RadioButton54->setGeometry( QRect( 10, 40, 410, 20 ) ); RadioButton54->setText( tr( "Display Properties dialog in both Depot and Changelist panes" ) ); RadioButton55 = new QRadioButton( ButtonGroup20, "RadioButton55" ); RadioButton55->setGeometry( QRect( 10, 60, 410, 20 ) ); RadioButton55->setText( tr( "Display Revision History in both Depot and Changelist panes" ) ); ButtonGroup19 = new QButtonGroup( tab_4, "ButtonGroup19" ); ButtonGroup19->setGeometry( QRect( 8, 7, 430, 130 ) ); ButtonGroup19->setTitle( tr( "When you double-click a file in the depot pane:" ) ); RadioButton48 = new QRadioButton( ButtonGroup19, "RadioButton48" ); RadioButton48->setGeometry( QRect( 10, 20, 410, 20 ) ); RadioButton48->setText( tr( "View unopened files, Edit opened files (Defautl)" ) ); RadioButton49 = new QRadioButton( ButtonGroup19, "RadioButton49" ); RadioButton49->setGeometry( QRect( 10, 40, 410, 20 ) ); RadioButton49->setText( tr( "Open for Edit" ) ); RadioButton51 = new QRadioButton( ButtonGroup19, "RadioButton51" ); RadioButton51->setGeometry( QRect( 10, 80, 410, 20 ) ); RadioButton51->setText( tr( "View Head Revision using associated viewer " ) ); RadioButton52 = new QRadioButton( ButtonGroup19, "RadioButton52" ); RadioButton52->setGeometry( QRect( 10, 100, 410, 20 ) ); RadioButton52->setText( tr( "Sync to Head Revision" ) ); RadioButton50 = new QRadioButton( ButtonGroup19, "RadioButton50" ); RadioButton50->setGeometry( QRect( 10, 60, 410, 20 ) ); RadioButton50->setText( tr( "Open and Edit file using associated editor" ) ); tabWidget->insertTab( tab_4, tr( "Double Click Option" ) ); tab_5 = new QWidget( tabWidget, "tab_5" ); GroupBox3_2 = new QGroupBox( tab_5, "GroupBox3_2" ); GroupBox3_2->setGeometry( QRect( 228, 11, 211, 50 ) ); GroupBox3_2->setTitle( tr( "Provide additional warnings" ) ); CheckBox30_2 = new QCheckBox( GroupBox3_2, "CheckBox30_2" ); CheckBox30_2->setGeometry( QRect( 10, 20, 180, 20 ) ); CheckBox30_2->setText( tr( "for opening already open file(s)" ) ); GroupBox2 = new QGroupBox( tab_5, "GroupBox2" ); GroupBox2->setGeometry( QRect( 10, 10, 211, 50 ) ); GroupBox2->setTitle( tr( "Integrate Options Default Setting" ) ); CheckBox29_2 = new QCheckBox( GroupBox2, "CheckBox29_2" ); CheckBox29_2->setGeometry( QRect( 10, 20, 160, 20 ) ); CheckBox29_2->setText( tr( "Integrate Target at Head Rev" ) ); CheckBox31_2 = new QCheckBox( tab_5, "CheckBox31_2" ); CheckBox31_2->setGeometry( QRect( 20, 60, 380, 20 ) ); CheckBox31_2->setText( tr( "Automatically deselect unchanged files before changelist submission" ) ); CheckBox32_2 = new QCheckBox( tab_5, "CheckBox32_2" ); CheckBox32_2->setGeometry( QRect( 20, 80, 420, 20 ) ); CheckBox32_2->setText( tr( "Default setting for Reopen files flag when a changelist is submitted" ) ); LineEdit11 = new QLineEdit( tab_5, "LineEdit11" ); LineEdit11->setGeometry( QRect( 160, 100, 50, 22 ) ); TextLabel3_2 = new QLabel( tab_5, "TextLabel3_2" ); TextLabel3_2->setGeometry( QRect( 220, 100, 120, 20 ) ); TextLabel3_2->setText( tr( "files in a single operation" ) ); TextLabel4_3 = new QLabel( tab_5, "TextLabel4_3" ); TextLabel4_3->setGeometry( QRect( 20, 120, 230, 20 ) ); TextLabel4_3->setText( tr( "Max number of depot files to sort by extension is" ) ); LineEdit12 = new QLineEdit( tab_5, "LineEdit12" ); LineEdit12->setGeometry( QRect( 250, 120, 70, 22 ) ); TextLabel5 = new QLabel( tab_5, "TextLabel5" ); TextLabel5->setGeometry( QRect( 20, 140, 320, 20 ) ); TextLabel5->setText( tr( "Minimum number of lines in multi-line edit field in spec edit dialog is" ) ); LineEdit13 = new QLineEdit( tab_5, "LineEdit13" ); LineEdit13->setGeometry( QRect( 340, 140, 40, 22 ) ); CheckBox33_2 = new QCheckBox( tab_5, "CheckBox33_2" ); CheckBox33_2->setGeometry( QRect( 20, 160, 150, 20 ) ); CheckBox33_2->setText( tr( "Wrap spec Descriptions at" ) ); TextLabel6 = new QLabel( tab_5, "TextLabel6" ); TextLabel6->setGeometry( QRect( 210, 160, 50, 20 ) ); TextLabel6->setText( tr( "characters" ) ); GroupBox4 = new QGroupBox( tab_5, "GroupBox4" ); GroupBox4->setGeometry( QRect( 10, 180, 430, 90 ) ); GroupBox4->setTitle( tr( "Temporary Files Directory" ) ); TextLabel8 = new QLabel( GroupBox4, "TextLabel8" ); TextLabel8->setGeometry( QRect( 10, 60, 200, 20 ) ); TextLabel8->setText( tr( "Temp File Directory" ) ); TextLabel7 = new QLabel( GroupBox4, "TextLabel7" ); TextLabel7->setGeometry( QRect( 10, 20, 410, 40 ) ); TextLabel7->setText( tr( "It is recommended that the Perforce temporary files directory be separate from any\nother temporary files directory. By default, this is set to (TODO: SOMEDIR)" ) ); LineEdit15_2 = new QLineEdit( GroupBox4, "LineEdit15_2" ); LineEdit15_2->setGeometry( QRect( 110, 60, 300, 22 ) ); ButtonGroup17 = new QButtonGroup( tab_5, "ButtonGroup17" ); ButtonGroup17->setGeometry( QRect( 10, 270, 430, 70 ) ); ButtonGroup17->setTitle( tr( "Depot pabe file tree expansion upon switching Port or Client or User" ) ); RadioButton50_2 = new QRadioButton( ButtonGroup17, "RadioButton50_2" ); RadioButton50_2->setGeometry( QRect( 210, 20, 190, 20 ) ); RadioButton50_2->setText( tr( "Expand Depot to Previous location" ) ); LineEdit46 = new QLineEdit( ButtonGroup17, "LineEdit46" ); LineEdit46->setEnabled( FALSE ); LineEdit46->setGeometry( QRect( 90, 40, 330, 22 ) ); RadioButton51_2 = new QRadioButton( ButtonGroup17, "RadioButton51_2" ); RadioButton51_2->setGeometry( QRect( 10, 40, 80, 20 ) ); RadioButton51_2->setText( tr( "Expand to" ) ); RadioButton49_2 = new QRadioButton( ButtonGroup17, "RadioButton49_2" ); RadioButton49_2->setGeometry( QRect( 10, 20, 160, 20 ) ); RadioButton49_2->setText( tr( "Do not expand Depot" ) ); TextLabel2_2 = new QLabel( tab_5, "TextLabel2_2" ); TextLabel2_2->setGeometry( QRect( 30, 100, 120, 20 ) ); TextLabel2_2->setText( tr( "Warn if adding more than" ) ); LineEdit14 = new QLineEdit( tab_5, "LineEdit14" ); LineEdit14->setEnabled( FALSE ); LineEdit14->setGeometry( QRect( 170, 160, 30, 22 ) ); tabWidget->insertTab( tab_5, tr( "Miscellaneous" ) ); // signals and slots connections connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) ); connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) ); connect( RadioButton51_2, SIGNAL( toggled(bool) ), LineEdit46, SLOT( setEnabled(bool) ) ); connect( RadioButton61, SIGNAL( toggled(bool) ), LineEdit43, SLOT( setEnabled(bool) ) ); connect( CheckBox6, SIGNAL( toggled(bool) ), LineEdit3, SLOT( setEnabled(bool) ) ); connect( CheckBox3, SIGNAL( toggled(bool) ), LineEdit2, SLOT( setEnabled(bool) ) ); connect( CheckBox3, SIGNAL( toggled(bool) ), CheckBox4, SLOT( setEnabled(bool) ) ); connect( CheckBox3, SIGNAL( toggled(bool) ), CheckBox40, SLOT( setEnabled(bool) ) ); connect( RadioButton2, SIGNAL( toggled(bool) ), LineEdit4, SLOT( setEnabled(bool) ) ); connect( RadioButton41, SIGNAL( toggled(bool) ), LineEdit35, SLOT( setEnabled(bool) ) ); connect( RadioButton21, SIGNAL( toggled(bool) ), LineEdit21, SLOT( setEnabled(bool) ) ); connect( RadioButton32, SIGNAL( toggled(bool) ), LineEdit16, SLOT( setEnabled(bool) ) ); connect( RadioButton32, SIGNAL( toggled(bool) ), CheckBox63, SLOT( setEnabled(bool) ) ); connect( CheckBox63, SIGNAL( toggled(bool) ), CheckBox65, SLOT( setEnabled(bool) ) ); connect( RadioButton31, SIGNAL( toggled(bool) ), CheckBox65, SLOT( setDisabled(bool) ) ); connect( RadioButton31, SIGNAL( toggled(bool) ), TextLabel1_3, SLOT( setEnabled(bool) ) ); connect( RadioButton31, SIGNAL( toggled(bool) ), LineEdit15, SLOT( setEnabled(bool) ) ); connect( RadioButton34, SIGNAL( toggled(bool) ), CheckBox67, SLOT( setEnabled(bool) ) ); connect( RadioButton34, SIGNAL( toggled(bool) ), CheckBox68, SLOT( setEnabled(bool) ) ); connect( RadioButton34, SIGNAL( toggled(bool) ), PushButton18, SLOT( setEnabled(bool) ) ); connect( RadioButton33, SIGNAL( toggled(bool) ), CheckBox66, SLOT( setEnabled(bool) ) ); connect( CheckBox33_2, SIGNAL( toggled(bool) ), LineEdit14, SLOT( setEnabled(bool) ) ); connect( RadioButton34, SIGNAL( toggled(bool) ), LineEdit17, SLOT( setEnabled(bool) ) ); connect( PushButton8, SIGNAL( clicked() ), this, SLOT( slotDefaultTextEditDialog() ) ); connect( PushButton17, SIGNAL( clicked() ), this, SLOT( slotDiffApplicationDialog() ) ); connect( PushButton18, SIGNAL( clicked() ), this, SLOT( slotMergeApplicationDialog() ) ); } /* * Destroys the object and frees any allocated resources */ ConfigOptionsDialog::~ConfigOptionsDialog() { // no need to delete child widgets, Qt does it all for us } void ConfigOptionsDialog::slotMergeApplicationDialog() { qWarning( "ConfigOptionsDialog::slotMergeApplicationDialog(): Not implemented yet!" ); } void ConfigOptionsDialog::slotDefaultTextEditDialog() { qWarning( "ConfigOptionsDialog::slotDefaultTextEditDialog(): Not implemented yet!" ); } void ConfigOptionsDialog::slotDiffApplicationDialog() { qWarning( "ConfigOptionsDialog::slotDiffApplicationDialog(): Not implemented yet!" ); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#4 | 3782 | Jacob Gladish | I have no clue... | ||
#3 | 2217 | Jacob Gladish |
More work on the configuration options dialog box. Added the sub-class that will implement all the slot functionality (ConfigOptionsDialogImpl) |
||
#2 | 2216 | Jacob Gladish | Added the .ui/xml file for the Configuration Dialog box. | ||
#1 | 2157 | Jacob Gladish | Adding initial support for the client view of the depot. |