1
/****************************************************************************
2
** Form implementation generated from reading ui file 'markersWidgetBase.ui'
4
** Created: Fri Jan 9 17:31:24 2004
5
** by: The User Interface Compiler ($Id: markersWidgetBase.cpp,v 1.1 2004/01/12 06:16:16 blais Exp $)
7
** WARNING! All changes made in this file will be lost!
8
****************************************************************************/
10
#include "markersWidgetBase.h"
13
#include <qpushbutton.h>
15
#include <qbuttongroup.h>
16
#include <qradiobutton.h>
17
#include <qcheckbox.h>
18
#include <qlineedit.h>
21
#include <qwhatsthis.h>
24
* Constructs a XxMarkersWidgetBase as a child of 'parent', with the
25
* name 'name' and widget flags set to 'f'.
27
XxMarkersWidgetBase::XxMarkersWidgetBase( QWidget* parent, const char* name, WFlags fl )
28
: QWidget( parent, name, fl )
31
setName( "XxMarkersWidgetBase" );
32
XxMarkersWidgetBaseLayout = new QVBoxLayout( this, 11, 6, "XxMarkersWidgetBaseLayout");
34
TextLabel1_2 = new QLabel( this, "TextLabel1_2" );
35
QFont TextLabel1_2_font( TextLabel1_2->font() );
36
TextLabel1_2_font.setFamily( "helvetica" );
37
TextLabel1_2_font.setPointSize( 14 );
38
TextLabel1_2->setFont( TextLabel1_2_font );
39
TextLabel1_2->setAlignment( int( QLabel::AlignCenter ) );
40
XxMarkersWidgetBaseLayout->addWidget( TextLabel1_2 );
42
_buttongroup = new QButtonGroup( this, "_buttongroup" );
43
_buttongroup->setColumnLayout(0, Qt::Vertical );
44
_buttongroup->layout()->setSpacing( 6 );
45
_buttongroup->layout()->setMargin( 11 );
46
_buttongroupLayout = new QVBoxLayout( _buttongroup->layout() );
47
_buttongroupLayout->setAlignment( Qt::AlignTop );
49
_checkboxConflicts = new QRadioButton( _buttongroup, "_checkboxConflicts" );
50
_buttongroupLayout->addWidget( _checkboxConflicts );
52
Layout3 = new QHBoxLayout( 0, 0, 6, "Layout3");
54
_checkboxConditionals = new QRadioButton( _buttongroup, "_checkboxConditionals" );
55
Layout3->addWidget( _checkboxConditionals );
57
_removeEmptyConditionals = new QCheckBox( _buttongroup, "_removeEmptyConditionals" );
58
Layout3->addWidget( _removeEmptyConditionals );
59
_buttongroupLayout->addLayout( Layout3 );
61
Layout13 = new QHBoxLayout( 0, 0, 6, "Layout13");
63
_labelConditional1 = new QLabel( _buttongroup, "_labelConditional1" );
64
Layout13->addWidget( _labelConditional1 );
66
_lineeditConditional1 = new QLineEdit( _buttongroup, "_lineeditConditional1" );
67
Layout13->addWidget( _lineeditConditional1 );
68
_buttongroupLayout->addLayout( Layout13 );
70
Layout13_2 = new QHBoxLayout( 0, 0, 6, "Layout13_2");
72
_labelConditional2 = new QLabel( _buttongroup, "_labelConditional2" );
73
Layout13_2->addWidget( _labelConditional2 );
75
_lineeditConditional2 = new QLineEdit( _buttongroup, "_lineeditConditional2" );
76
Layout13_2->addWidget( _lineeditConditional2 );
77
_buttongroupLayout->addLayout( Layout13_2 );
79
Layout13_2_2 = new QHBoxLayout( 0, 0, 6, "Layout13_2_2");
81
_labelConditional3 = new QLabel( _buttongroup, "_labelConditional3" );
82
Layout13_2_2->addWidget( _labelConditional3 );
84
_lineeditConditional3 = new QLineEdit( _buttongroup, "_lineeditConditional3" );
85
Layout13_2_2->addWidget( _lineeditConditional3 );
86
_buttongroupLayout->addLayout( Layout13_2_2 );
87
XxMarkersWidgetBaseLayout->addWidget( _buttongroup );
89
resize( QSize(537, 253).expandedTo(minimumSizeHint()) );
90
clearWState( WState_Polished );
94
* Destroys the object and frees any allocated resources
96
XxMarkersWidgetBase::~XxMarkersWidgetBase()
98
// no need to delete child widgets, Qt does it all for us
102
* Sets the strings of the subwidgets using the current
105
void XxMarkersWidgetBase::languageChange()
107
setCaption( tr( "Form3" ) );
108
TextLabel1_2->setText( tr( "Some regions were found that are still UNSELECTED." ) );
109
_buttongroup->setTitle( tr( "Unselected lines" ) );
110
_checkboxConflicts->setText( tr( "Save as merge conflicts" ) );
111
_checkboxConditionals->setText( tr( "Save with conditionals" ) );
112
_removeEmptyConditionals->setText( tr( "Remove empty conditionals" ) );
113
_labelConditional1->setText( tr( "Conditional variable:" ) );
114
_lineeditConditional1->setText( tr( "FILE1" ) );
115
_labelConditional2->setText( tr( "Conditional variable:" ) );
116
_lineeditConditional2->setText( tr( "FILE2" ) );
117
_labelConditional3->setText( tr( "Conditional variable:" ) );
118
_lineeditConditional3->setText( tr( "FILE3" ) );