X-Git-Url: https://harishankar.org/repos/?p=biaweb_qt.git;a=blobdiff_plain;f=article_dialog.ui;h=7fd1581a37071073964640f74b06f87b78b12108;hp=70a61bc95556dba88b4bc7f12f5d428338c9449f;hb=ba3069991aeda91317057aa2c115f8c2151d0a98;hpb=d698bb44596dd96533a9aef0f25c03c20a1bf1d2 diff --git a/article_dialog.ui b/article_dialog.ui index 70a61bc..7fd1581 100644 --- a/article_dialog.ui +++ b/article_dialog.ui @@ -6,13 +6,16 @@ 0 0 - 624 - 544 + 750 + 548 Article + + false + true @@ -20,45 +23,59 @@ true - + + + + 75 + true + + Title - + - + + + + 50 + false + + Keywords - + - + + + + 50 + false + + Summary - - - - Qt::ScrollBarAlwaysOn - - - true - - - - + + + + 75 + true + + Article content @@ -72,16 +89,27 @@ true + + Qt::NoFocus + - Bold + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:600; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bold</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-weight:400; font-style:italic;">Shortcut: Ctrl+B</span></p></body></html> - + :/bia/resources/bold.gif:/bia/resources/bold.gif + + Ctrl+B + false @@ -94,16 +122,27 @@ true + + Qt::NoFocus + - Italic + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:italic;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Italic</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Shortcut: Ctrl+I</p></body></html> - + :/bia/resources/italic.gif:/bia/resources/italic.gif + + Ctrl+I + false @@ -111,262 +150,480 @@ + + Qt::NoFocus + - Preformatted text + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Preformatted text</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+F</span></p></body></html> - + :/bia/resources/pre.gif:/bia/resources/pre.gif + + Ctrl+F + false - - + + + + Qt::NoFocus + - Left align para + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Right align para</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+R</span></p></body></html> - - :/bia/resources/left.gif:/bia/resources/left.gif + + :/bia/resources/right.gif:/bia/resources/right.gif + + + Ctrl+R false - - + + + + Qt::NoFocus + - Center para + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Justify para</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+J</span></p></body></html> - - :/bia/resources/center.gif:/bia/resources/center.gif + + :/bia/resources/justify.gif:/bia/resources/justify.gif + + + Ctrl+J false - - + + + + Qt::NoFocus + - Right align para + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Bulleted list</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+. </span>(Ctrl+dot)</p></body></html> - - :/bia/resources/right.gif:/bia/resources/right.gif + + :/bia/resources/bullets.gif:/bia/resources/bullets.gif + + + Ctrl+. false - - + + + + Qt::NoFocus + - Justify para + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Numbered list</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+1 </span>(Ctrl+One)</p></body></html> - - :/bia/resources/justify.gif:/bia/resources/justify.gif + + :/bia/resources/numbers.gif:/bia/resources/numbers.gif + + + Ctrl+1 false - - - - - true - + + + + Qt::NoFocus - Insert image + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Code block</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+= </span>(Ctrl+Equals)</p></body></html> - - :/bia/resources/img.gif:/bia/resources/img.gif + + :/bia/resources/code.gif:/bia/resources/code.gif + + + Ctrl+= false - - + + + + Qt::NoFocus + - Insert flash object + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Table</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+T</span></p></body></html> - - :/bia/resources/flash.gif:/bia/resources/flash.gif + + :/bia/resources/table.gif:/bia/resources/table.gif + + + Ctrl+T false - - + + + + Qt::NoFocus + - Bulleted list + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Horizontal rule</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+H</span></p></body></html> - - :/bia/resources/bullets.gif:/bia/resources/bullets.gif + + :/bia/resources/hr.gif:/bia/resources/hr.gif + + + Ctrl+H false - - + + + + Qt::NoFocus + - Numbered list + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Paragraph</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+P</span></p></body></html> - - :/bia/resources/numbers.gif:/bia/resources/numbers.gif + + :/bia/resources/par.gif:/bia/resources/par.gif + + + Ctrl+P false - - + + + + Qt::NoFocus + - Code block + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Line break</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Enter</span></p></body></html> - - :/bia/resources/code.gif:/bia/resources/code.gif + + :/bia/resources/br.gif:/bia/resources/br.gif + + + Ctrl+Return false - - + + + + Category + + + + + + + + + + Rating + + + + + + + -1 + + + 10 + + + + + + + + 75 + true + + + + Stub (file name without HTML extension) + + + + + + + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + + true + + + + Qt::NoFocus + - Table + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Insert image</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Shift+I</span></p></body></html> - - :/bia/resources/table.gif:/bia/resources/table.gif + + :/bia/resources/img.gif:/bia/resources/img.gif + + + Ctrl+Shift+I false - - + + + + Qt::NoFocus + - Blockquote + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Insert link</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Shift+L</span></p></body></html> - - :/bia/resources/bquote.gif:/bia/resources/bquote.gif + + :/bia/resources/link.gif:/bia/resources/link.gif - - false + + Ctrl+Shift+L - - + + + + Qt::NoFocus + - Horizontal rule + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Center para</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+O</span></p></body></html> - - :/bia/resources/hr.gif:/bia/resources/hr.gif + + :/bia/resources/center.gif:/bia/resources/center.gif + + + Ctrl+O false - - + + + + Qt::NoFocus + + + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Left align para</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+L</span></p></body></html> + - - :/bia/resources/par.gif:/bia/resources/par.gif + + :/bia/resources/left.gif:/bia/resources/left.gif + + + Ctrl+L false - - + + + + Qt::NoFocus + - Line break + <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;"> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Blockquote</p> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Shortcut: Ctrl+Q</span></p></body></html> - - :/bia/resources/br.gif:/bia/resources/br.gif + + :/bia/resources/bquote.gif:/bia/resources/bquote.gif + + + Ctrl+Q false - + @@ -374,62 +631,61 @@ 210 + + + Monospace + + Qt::ScrollBarAlwaysOn - - - - - - Category - - - - - - - - - - Rating + + true - - - - 1 + + + + + 0 + 0 + - - 10 + + + 0 + 40 + - - - - - - Stub (file name without HTML extension) + + + 16777215 + 75 + - - - - - - - - - Qt::Horizontal + + Qt::ScrollBarAlwaysOn - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + true + + article_title + keywords + summary + content + category + rating + stub + buttonBox + - + @@ -464,5 +720,297 @@ + + bold + clicked() + ArticleDialog + onBold() + + + 24 + 201 + + + 181 + 170 + + + + + italic + clicked() + ArticleDialog + onItalic() + + + 57 + 206 + + + 141 + 161 + + + + + preformat + clicked() + ArticleDialog + onPre() + + + 95 + 214 + + + 251 + 169 + + + + + image + clicked() + ArticleDialog + onImage() + + + 125 + 203 + + + 328 + 178 + + + + + link + clicked() + ArticleDialog + onLink() + + + 158 + 209 + + + 322 + 170 + + + + + paraleft + clicked() + ArticleDialog + onLeft() + + + 210 + 204 + + + 99 + 122 + + + + + paracenter + clicked() + ArticleDialog + onCenter() + + + 238 + 208 + + + 106 + 104 + + + + + pararight + clicked() + ArticleDialog + onRight() + + + 270 + 212 + + + 88 + 79 + + + + + parajustify + clicked() + ArticleDialog + onJustify() + + + 332 + 219 + + + 98 + 63 + + + + + bullets + clicked() + ArticleDialog + onBullet() + + + 386 + 219 + + + 336 + 208 + + + + + numbered + clicked() + ArticleDialog + onNumber() + + + 422 + 219 + + + 372 + 219 + + + + + blockquote + clicked() + ArticleDialog + onBQuote() + + + 458 + 219 + + + 311 + 271 + + + + + codeblock + clicked() + ArticleDialog + onCode() + + + 494 + 219 + + + 311 + 271 + + + + + table + clicked() + ArticleDialog + onTable() + + + 530 + 219 + + + 311 + 271 + + + + + hrule + clicked() + ArticleDialog + onHRule() + + + 572 + 219 + + + 311 + 271 + + + + + paragraph + clicked() + ArticleDialog + onPara() + + + 608 + 219 + + + 311 + 271 + + + + + linebreak + clicked() + ArticleDialog + onBreak() + + + 644 + 219 + + + 311 + 271 + + + + + onBold() + onItalic() + onPre() + onImage() + onLink() + onLeft() + onCenter() + onRight() + onJustify() + onBullet() + onNumber() + onBQuote() + onCode() + onTable() + onHRule() + onPara() + onBreak() + onTextChanged() +