]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/kde/dlg/dialogs/print.dlg
initalize memeber vars
[lyx.git] / src / frontends / kde / dlg / dialogs / print.dlg
index 5f4a17c417013439bd209140d220bc3363cbc440..bfbbc020ae0d514b5449137f8e3ac066fbe97970 100644 (file)
@@ -1,12 +1,12 @@
 DlgEdit:v1.2:Dialog:
 Dialog {
-       ClassHeader {printdlg.h}
-       ClassSource {printdlg.C}
-       ClassName {PrintDialog}
+       ClassHeader {}
+       ClassSource {}
+       ClassName {}
        DataHeader {printdlgdata.h}
        DataSource {printdlgdata.C}
        DataName {PrintDialogData}
-       WindowBaseClass {QWidget}
+       WindowBaseClass {QDialog}
        UseGetText {true}
        WindowFlags {0}
 }
@@ -163,8 +163,8 @@ PushButton {
                AutoRepeat {false}
                AutoResize {false}
                Rect {86 280 81 45}
-               Name {print}
-               Variable {print}
+               Name {button_ok}
+               Variable {button_ok}
                Signal {[Protected]  clicked --> clickedPrint  ()}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
@@ -185,15 +185,15 @@ PushButton {
 }
 PushButton {
                ToggleButton {false}
-               Default {false}
+               Default {true}
                AutoDefault {false}
                IsMenuButton {false}
                Text {&Cancel}
                AutoRepeat {false}
                AutoResize {false}
                Rect {333 280 81 45}
-               Name {cancel}
-               Variable {cancel}
+               Name {button_cancel}
+               Variable {button_cancel}
                Signal {[Protected]  clicked --> clickedCancel  ()}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
@@ -218,8 +218,8 @@ RadioButton {
                AutoRepeat {false}
                AutoResize {false}
                Rect {15 42 142 34}
-               Name {allpages}
-               Variable {allpages}
+               Name {radio_allpages}
+               Variable {radio_allpages}
                MinimumSize {80 20}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -237,14 +237,39 @@ RadioButton {
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
+RadioButton {
+               Checked {false}
+               Text {&Odd pages}
+               AutoRepeat {false}
+               AutoResize {false}
+               Rect {15 96 142 14}
+               Name {radio_oddpages}
+               Variable {radio_oddpages}
+               MinimumSize {0 0}
+               MaximumSize {32767 32767}
+               BackgroundPixmap {}
+               UseBackgroundPixmap {false}
+               AdjustSize {false}
+               ReadPixmapFromData {false}
+               DataVarName {}
+               DataLenName {}
+               minWidthSizeHint {true}
+               minHeightSizeHint {true}
+               maxWidthSizeHint {true}
+               maxHeightSizeHint {true}
+               FocusPolicy {TabFocus}
+               BackgroundMode {PaletteBackground}
+               FontPropagation {NoChildren}
+               PalettePropagation {NoChildren}
+}
 RadioButton {
                Checked {false}
                Text {&Even pages}
                AutoRepeat {false}
                AutoResize {false}
                Rect {15 130 142 14}
-               Name {evenpages}
-               Variable {evenpages}
+               Name {radio_evenpages}
+               Variable {radio_evenpages}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -268,8 +293,8 @@ KDE::KIntLineEdit {
                MaxLength {32767}
                FrameShown {true}
                Rect {113 169 49 30}
-               Name {from}
-               Variable {from}
+               Name {line_from}
+               Variable {line_from}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -287,18 +312,14 @@ KDE::KIntLineEdit {
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-Label {
-               Text {From}
-               Alignment {289}
-               AutoResize {false}
-               Margin {-1}
-               Style {0}
-               LineWidth {1}
-               MidLineWidth {0}
-               FrameMargin {0}
-               Rect {10 169 98 30}
-               Name {fromLabel}
-               Variable {fromLabel}
+KDE::KIntLineEdit {
+               Text {}
+               EchoMode {Normal}
+               MaxLength {32767}
+               FrameShown {true}
+               Rect {113 204 49 31}
+               Name {line_to}
+               Variable {line_to}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -309,25 +330,21 @@ Label {
                DataLenName {}
                minWidthSizeHint {true}
                minHeightSizeHint {true}
-               maxWidthSizeHint {true}
+               maxWidthSizeHint {false}
                maxHeightSizeHint {true}
-               FocusPolicy {NoFocus}
-               BackgroundMode {PaletteBackground}
+               FocusPolicy {StrongFocus}
+               BackgroundMode {PaletteBase}
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-Label {
-               Text {To}
-               Alignment {289}
-               AutoResize {false}
-               Margin {-1}
-               Style {0}
-               LineWidth {1}
-               MidLineWidth {0}
-               FrameMargin {0}
-               Rect {10 204 98 31}
-               Name {toLabel}
-               Variable {toLabel}
+CheckBox {
+               Checked {false}
+               Text {&Reverse order}
+               AutoRepeat {false}
+               AutoResize {true}
+               Rect {10 240 152 30}
+               Name {check_reverse}
+               Variable {check_reverse}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -340,19 +357,45 @@ Label {
                minHeightSizeHint {true}
                maxWidthSizeHint {true}
                maxHeightSizeHint {true}
-               FocusPolicy {NoFocus}
+               FocusPolicy {TabFocus}
                BackgroundMode {PaletteBackground}
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-RadioButton {
+KDE::KIntLineEdit {
+               Text {}
+               EchoMode {Normal}
+               MaxLength {32767}
+               FrameShown {true}
+               Rect {334 17 50 46}
+               Name {line_count}
+               Variable {line_count}
+               Signal {[Protected]  textChanged --> changedCount  (const char*)}
+               MinimumSize {0 0}
+               MaximumSize {32767 32767}
+               BackgroundPixmap {}
+               UseBackgroundPixmap {false}
+               AdjustSize {false}
+               ReadPixmapFromData {false}
+               DataVarName {}
+               DataLenName {}
+               minWidthSizeHint {true}
+               minHeightSizeHint {true}
+               maxWidthSizeHint {false}
+               maxHeightSizeHint {true}
+               FocusPolicy {StrongFocus}
+               BackgroundMode {PaletteBase}
+               FontPropagation {NoChildren}
+               PalettePropagation {NoChildren}
+}
+CheckBox {
                Checked {false}
-               Text {&Odd pages}
+               Text {Co&llate}
                AutoRepeat {false}
-               AutoResize {false}
-               Rect {15 96 142 14}
-               Name {oddpages}
-               Variable {oddpages}
+               AutoResize {true}
+               Rect {440 17 50 46}
+               Name {check_sort}
+               Variable {check_sort}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -370,14 +413,18 @@ RadioButton {
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-RadioButton {
-               Checked {false}
-               Text {&Printer}
-               AutoRepeat {false}
+Label {
+               Text {From}
+               Alignment {289}
                AutoResize {false}
-               Rect {189 120 142 23}
-               Name {toprinter}
-               Variable {toprinter}
+               Margin {-1}
+               Style {0}
+               LineWidth {1}
+               MidLineWidth {0}
+               FrameMargin {0}
+               Rect {10 169 98 30}
+               Name {fromLabel}
+               Variable {fromLabel}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -390,19 +437,23 @@ RadioButton {
                minHeightSizeHint {true}
                maxWidthSizeHint {true}
                maxHeightSizeHint {true}
-               FocusPolicy {TabFocus}
+               FocusPolicy {NoFocus}
                BackgroundMode {PaletteBackground}
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-RadioButton {
-               Checked {false}
-               Text {&File}
-               AutoRepeat {false}
+Label {
+               Text {To}
+               Alignment {289}
                AutoResize {false}
-               Rect {189 170 142 23}
-               Name {tofile}
-               Variable {tofile}
+               Margin {-1}
+               Style {0}
+               LineWidth {1}
+               MidLineWidth {0}
+               FrameMargin {0}
+               Rect {10 204 98 31}
+               Name {toLabel}
+               Variable {toLabel}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -415,19 +466,19 @@ RadioButton {
                minHeightSizeHint {true}
                maxWidthSizeHint {true}
                maxHeightSizeHint {true}
-               FocusPolicy {TabFocus}
+               FocusPolicy {NoFocus}
                BackgroundMode {PaletteBackground}
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-LineEdit {
-               Text {}
-               EchoMode {Normal}
-               MaxLength {32767}
-               FrameShown {true}
-               Rect {341 115 142 26}
-               Name {printername}
-               Variable {printername}
+RadioButton {
+               Checked {false}
+               Text {&Printer}
+               AutoRepeat {false}
+               AutoResize {false}
+               Rect {189 120 142 23}
+               Name {radio_toprinter}
+               Variable {radio_toprinter}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -438,21 +489,21 @@ LineEdit {
                DataLenName {}
                minWidthSizeHint {true}
                minHeightSizeHint {true}
-               maxWidthSizeHint {false}
+               maxWidthSizeHint {true}
                maxHeightSizeHint {true}
-               FocusPolicy {StrongFocus}
-               BackgroundMode {PaletteBase}
+               FocusPolicy {TabFocus}
+               BackgroundMode {PaletteBackground}
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-CheckBox {
+RadioButton {
                Checked {false}
-               Text {&Reverse order}
+               Text {&File}
                AutoRepeat {false}
-               AutoResize {true}
-               Rect {10 240 152 30}
-               Name {reverse}
-               Variable {reverse}
+               AutoResize {false}
+               Rect {189 170 142 23}
+               Name {radio_tofile}
+               Variable {radio_tofile}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -475,9 +526,9 @@ LineEdit {
                EchoMode {Normal}
                MaxLength {32767}
                FrameShown {true}
-               Rect {341 172 142 26}
-               Name {filename}
-               Variable {filename}
+               Rect {341 115 142 26}
+               Name {line_printername}
+               Variable {line_printername}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -495,14 +546,14 @@ LineEdit {
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-CheckBox {
-               Checked {false}
-               Text {Co&llate}
-               AutoRepeat {false}
-               AutoResize {true}
-               Rect {440 17 50 46}
-               Name {sort}
-               Variable {sort}
+LineEdit {
+               Text {}
+               EchoMode {Normal}
+               MaxLength {32767}
+               FrameShown {true}
+               Rect {341 172 142 26}
+               Name {line_filename}
+               Variable {line_filename}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
                BackgroundPixmap {}
@@ -513,10 +564,10 @@ CheckBox {
                DataLenName {}
                minWidthSizeHint {true}
                minHeightSizeHint {true}
-               maxWidthSizeHint {true}
+               maxWidthSizeHint {false}
                maxHeightSizeHint {true}
-               FocusPolicy {TabFocus}
-               BackgroundMode {PaletteBackground}
+               FocusPolicy {StrongFocus}
+               BackgroundMode {PaletteBase}
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
@@ -529,8 +580,8 @@ PushButton {
                AutoRepeat {false}
                AutoResize {false}
                Rect {330 225 153 23}
-               Name {browse}
-               Variable {browse}
+               Name {button_browse}
+               Variable {button_browse}
                Signal {[Protected]  clicked --> clickedBrowse  ()}
                MinimumSize {0 0}
                MaximumSize {32767 32767}
@@ -549,32 +600,6 @@ PushButton {
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-KDE::KIntLineEdit {
-               Text {}
-               EchoMode {Normal}
-               MaxLength {32767}
-               FrameShown {true}
-               Rect {334 17 50 46}
-               Name {count}
-               Variable {count}
-               Signal {[Protected]  textChanged --> changedCount  (const char*)}
-               MinimumSize {0 0}
-               MaximumSize {32767 32767}
-               BackgroundPixmap {}
-               UseBackgroundPixmap {false}
-               AdjustSize {false}
-               ReadPixmapFromData {false}
-               DataVarName {}
-               DataLenName {}
-               minWidthSizeHint {true}
-               minHeightSizeHint {true}
-               maxWidthSizeHint {false}
-               maxHeightSizeHint {true}
-               FocusPolicy {StrongFocus}
-               BackgroundMode {PaletteBase}
-               FontPropagation {NoChildren}
-               PalettePropagation {NoChildren}
-}
 Label {
                Text {Count}
                Alignment {289}
@@ -604,31 +629,6 @@ Label {
                FontPropagation {NoChildren}
                PalettePropagation {NoChildren}
 }
-KDE::KIntLineEdit {
-               Text {}
-               EchoMode {Normal}
-               MaxLength {32767}
-               FrameShown {true}
-               Rect {113 204 49 31}
-               Name {to}
-               Variable {to}
-               MinimumSize {0 0}
-               MaximumSize {32767 32767}
-               BackgroundPixmap {}
-               UseBackgroundPixmap {false}
-               AdjustSize {false}
-               ReadPixmapFromData {false}
-               DataVarName {}
-               DataLenName {}
-               minWidthSizeHint {true}
-               minHeightSizeHint {true}
-               maxWidthSizeHint {false}
-               maxHeightSizeHint {true}
-               FocusPolicy {StrongFocus}
-               BackgroundMode {PaletteBase}
-               FontPropagation {NoChildren}
-               PalettePropagation {NoChildren}
-}
 
 Grid_Layout-1{
        Border {5}
@@ -682,7 +682,7 @@ Box_Stretch-1.1.1.1.1.2.1.1{
        Stretch {1}
 }
 Layout_Widget-1.1.1.1.1.2.1.2{
-       Widget {allpages}
+       Widget {radio_allpages}
        BoxStretch {1}
        Alignment {1}
 }
@@ -690,7 +690,7 @@ Box_Stretch-1.1.1.1.1.2.1.3{
        Stretch {1}
 }
 Layout_Widget-1.1.1.1.1.2.1.4{
-       Widget {oddpages}
+       Widget {radio_oddpages}
        BoxStretch {1}
        Alignment {1}
 }
@@ -698,7 +698,7 @@ Box_Stretch-1.1.1.1.1.2.1.5{
        Stretch {1}
 }
 Layout_Widget-1.1.1.1.1.2.1.6{
-       Widget {evenpages}
+       Widget {radio_evenpages}
        BoxStretch {1}
        Alignment {1}
 }
@@ -719,7 +719,7 @@ Layout_Widget-1.1.1.1.1.3.1{
        Alignment {36}
 }
 Layout_Widget-1.1.1.1.1.3.2{
-       Widget {from}
+       Widget {line_from}
        BoxStretch {1}
        Alignment {36}
 }
@@ -737,12 +737,12 @@ Layout_Widget-1.1.1.1.1.4.1{
        Alignment {36}
 }
 Layout_Widget-1.1.1.1.1.4.2{
-       Widget {to}
+       Widget {line_to}
        BoxStretch {1}
        Alignment {36}
 }
 Layout_Widget-1.1.1.1.1.5{
-       Widget {reverse}
+       Widget {check_reverse}
        BoxStretch {1}
        Alignment {36}
 }
@@ -790,7 +790,7 @@ Box_Stretch-1.1.1.2.1.1.2.3{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.1.1.2.4{
-       Widget {count}
+       Widget {line_count}
        BoxStretch {1}
        Alignment {36}
 }
@@ -798,7 +798,7 @@ Box_Stretch-1.1.1.2.1.1.2.5{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.1.1.2.6{
-       Widget {sort}
+       Widget {check_sort}
        BoxStretch {1}
        Alignment {36}
 }
@@ -849,7 +849,7 @@ Box_Layout-1.1.1.2.2.1.3.2.1{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.2.1.3.2.1.1{
-       Widget {toprinter}
+       Widget {radio_toprinter}
        BoxStretch {1}
        Alignment {1}
 }
@@ -857,7 +857,7 @@ Box_Stretch-1.1.1.2.2.1.3.2.1.2{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.2.1.3.2.1.3{
-       Widget {tofile}
+       Widget {radio_tofile}
        BoxStretch {1}
        Alignment {1}
 }
@@ -870,7 +870,7 @@ Box_Layout-1.1.1.2.2.1.3.3{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.2.1.3.3.1{
-       Widget {printername}
+       Widget {line_printername}
        BoxStretch {1}
        Alignment {36}
 }
@@ -878,7 +878,7 @@ Box_Stretch-1.1.1.2.2.1.3.3.2{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.2.1.3.3.3{
-       Widget {filename}
+       Widget {line_filename}
        BoxStretch {1}
        Alignment {36}
 }
@@ -900,7 +900,7 @@ Box_Stretch-1.1.1.2.2.1.5.1{
        Stretch {1}
 }
 Layout_Widget-1.1.1.2.2.1.5.2{
-       Widget {browse}
+       Widget {button_browse}
        BoxStretch {1}
        Alignment {36}
 }
@@ -926,7 +926,7 @@ Box_Stretch-1.2.1.1{
        Stretch {1}
 }
 Layout_Widget-1.2.1.2{
-       Widget {print}
+       Widget {button_ok}
        BoxStretch {1}
        Alignment {36}
 }
@@ -934,7 +934,7 @@ Box_Stretch-1.2.1.3{
        Stretch {2}
 }
 Layout_Widget-1.2.1.4{
-       Widget {cancel}
+       Widget {button_cancel}
        BoxStretch {1}
        Alignment {36}
 }