Sponsored Content
Full Discussion: starting unix
Top Forums Shell Programming and Scripting starting unix Post 17677 by imshelpdesk on Tuesday 19th of March 2002 07:42:29 AM
Old 03-19-2002
hooray!
thanks,

rich
 

10 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

Starting MS Windows from UNIX

Hi there, sorry that this is a really dumb question from a UNIX newbie, but here goes. How do I start MS Windows (I think it is NT) from UNIX? The school I work for has a network server that has a UNIX shell (I think that is what it is called) and has some form of Windows on it (I think it... (5 Replies)
Discussion started by: gorilla
5 Replies

2. UNIX for Dummies Questions & Answers

starting out in unix

i am trying to learn cgi script (perl), i think to do this i need to download a unix system,/acccount, which i have tried to do on XP without success. Can any one point me in the right direction on how i get started. i.e what do i need to do to actually write cgi script for my website. cheers... (4 Replies)
Discussion started by: rerkskin
4 Replies

3. Shell Programming and Scripting

Need help!! Am just starting to learn UNIX

Dear ALL! i have just started learing UNIX. Can anyone pls let me how to write a program using command line to give product of two numbers /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman;... (1 Reply)
Discussion started by: chature
1 Replies

4. Shell Programming and Scripting

Need help!! Am just starting to learn UNIX

Dear ALL! i have just started learing UNIX. Can anyone pls let me how to write a program using command line to give product of two numbers ? The program should ask like enter first no and so on. Also,i want to know a program which can display the digits entered in words. Like if entered "1"... (2 Replies)
Discussion started by: chature
2 Replies

5. Shell Programming and Scripting

How can i delete a keyword starting with x in unix

I am trying to delete key word starting with x in a unix text file. example, I am trying to delete the words like xaa,xabxbb,xbd and so on.... my input file is some thing like this xaaa w 1234 5678 rwsd ravi xw123 xbc3 ohrd want to delete words xaaa,xw123 and xbc3 from the above... (10 Replies)
Discussion started by: rdhanek
10 Replies

6. UNIX for Advanced & Expert Users

Pring starting and ending numbers using UNIX

Hi all, I need to do scrip for printing starting and ending numbers along with count in given file.:wall: Input: a.txt 10000030 10000029 10000028 10000027 10000026 10000024 10000023 10000021 10000018 10000018 10000017 10000016 10000015 10000014 (2 Replies)
Discussion started by: jackbell2013
2 Replies

7. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

8. UNIX for Advanced & Expert Users

Starting SSH in UNIX

I have been working on my UNIX box for just over 1 month. The issue I am having, I cannot get my SSH to start on the system. I have a few rsync programs that are depending on SSH. Can anyone please let me know how to get SSH started back? Any assistance will be much appreciated. Thanks (2 Replies)
Discussion started by: T Long
2 Replies

9. UNIX for Beginners Questions & Answers

UNIX Environment Setup - (Just starting!)

Morning All So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question: Currently I use Oracle VirtualBox, can... (8 Replies)
Discussion started by: GophusMeau
8 Replies

10. UNIX for Beginners Questions & Answers

UNIX Environment Setup - (Just starting!)

Morning All So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question: Currently I use Oracle VirtualBox, can... (1 Reply)
Discussion started by: harveyclayton
1 Replies
QStyleSheet(3qt)														  QStyleSheet(3qt)

NAME
QStyleSheet - Collection of styles for rich text rendering and a generator of tags SYNOPSIS
#include <qstylesheet.h> Inherits QObject. Public Members QStyleSheet ( QObject * parent = 0, const char * name = 0 ) virtual ~QStyleSheet () QStyleSheetItem * item ( const QString & name ) const QStyleSheetItem * item ( const QString & name ) const virtual QTextCustomItem * tag ( const QString & name, const QMap<QString, QString> & attr, const QString & context, const QMimeSourceFactory & factory, bool emptyTag, QTextDocument * doc ) const virtual void scaleFont ( QFont & font, int logicalSize ) const virtual void error ( const QString & msg ) const Static Public Members QStyleSheet * defaultSheet () void setDefaultSheet ( QStyleSheet * sheet ) QString escape ( const QString & plain ) QString convertFromPlainText ( const QString & plain, QStyleSheetItem::WhiteSpaceMode mode = QStyleSheetItem::WhiteSpacePre ) bool mightBeRichText ( const QString & text ) DESCRIPTION
The QStyleSheet class is a collection of styles for rich text rendering and a generator of tags. By creating QStyleSheetItem objects for a style sheet you build a definition of a set of tags. This definition will be used by the internal rich text rendering system to parse and display text documents to which the style sheet applies. Rich text is normally visualized in a QTextEdit or a QTextBrowser. However, QLabel, QWhatsThis and QMessageBox also support it, and other classes are likely to follow. With QSimpleRichText it is possible to use the rich text renderer for custom widgets as well. The default QStyleSheet object has the following style bindings, sorted by structuring bindings, anchors, character style bindings (i.e. inline styles), special elements such as horizontal lines or images, and other tags. In addition, rich text supports simple HTML tables. The structuring tags are <center>.nf </center> Anchors and links are done with a single tag: <center>.nf </center> The default character style bindings are <center>.nf </center> Special elements are: <center>.nf Special tags ------------------------------------------- given in the source attribute, for example </center> In addition, rich text supports simple HTML tables. A table consists of one or more rows each of which contains one or more cells. Cells are either data cells or header cells, depending on their content. Cells which span rows and columns are supported. <center>.nf </center> See also Graphics Classes, Help System, and Text Related Classes. MEMBER FUNCTION DOCUMENTATION
QStyleSheet::QStyleSheet ( QObject * parent = 0, const char * name = 0 ) Creates a style sheet called name, with parent parent. Like any QObject it will be deleted when its parent is destroyed (if the child still exists). By default the style sheet has the tag definitions defined above. QStyleSheet::~QStyleSheet () [virtual] Destroys the style sheet. All styles inserted into the style sheet will be deleted. QString QStyleSheet::convertFromPlainText ( const QString & plain, QStyleSheetItem::WhiteSpaceMode mode = QStyleSheetItem::WhiteSpacePre ) [static] Auxiliary function. Converts the plain text string plain to a rich text formatted paragraph while preserving most of its look. mode defines the whitespace mode. Possible values are QStyleSheetItem::WhiteSpacePre (no wrapping, all whitespaces preserved) and QStyleSheetItem::WhiteSpaceNormal (wrapping, simplified whitespaces). See also escape(). QStyleSheet * QStyleSheet::defaultSheet () [static] Returns the application-wide default style sheet. This style sheet is used by rich text rendering classes such as QSimpleRichText, QWhatsThis and QMessageBox to define the rendering style and available tags within rich text documents. It also serves as the initial style sheet for the more complex render widgets, QTextEdit and QTextBrowser. See also setDefaultSheet(). void QStyleSheet::error ( const QString & msg ) const [virtual] This virtual function is called when an error occurs when processing rich text. Reimplement it if you need to catch error messages. Errors might occur if some rich text strings contain tags that are not understood by the stylesheet, if some tags are nested incorrectly, or if tags are not closed properly. msg is the error message. QString QStyleSheet::escape ( const QString & plain ) [static] Auxiliary function. Converts the plain text string plain to a rich text formatted string with any HTML meta-characters escaped. See also convertFromPlainText(). QStyleSheetItem * QStyleSheet::item ( const QString & name ) Returns the style called name or 0 if there is no such style. const QStyleSheetItem * QStyleSheet::item ( const QString & name ) const This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Returns the style called name or 0 if there is no such style (const version) bool QStyleSheet::mightBeRichText ( const QString & text ) [static] Returns TRUE if the string text is likely to be rich text; otherwise returns FALSE. This function uses a fast and therefore simple heuristic. It mainly checks whether there is something that looks like a tag before the first line break. Although the result may be correct for common cases, there is no guarantee. void QStyleSheet::scaleFont ( QFont & font, int logicalSize ) const [virtual] Scales the font font to the appropriate physical point size corresponding to the logical font size logicalSize. When calling this function, font has a point size corresponding to the logical font size 3. Logical font sizes range from 1 to 7, with 1 being the smallest. See also QStyleSheetItem::logicalFontSize(), QStyleSheetItem::logicalFontSizeStep(), and QFont::setPointSize(). void QStyleSheet::setDefaultSheet ( QStyleSheet * sheet ) [static] Sets the application-wide default style sheet to sheet, deleting any style sheet previously set. The ownership is transferred to QStyleSheet. See also defaultSheet(). QTextCustomItem * QStyleSheet::tag ( const QString & name, const QMap<QString, QString> & attr, const QString & context, const QMimeSourceFactory & factory, bool emptyTag, QTextDocument * doc ) const [virtual] This function is under development and is subject to change. Generates an internal object for the tag called name, given the attributes attr, and using additional information provided by the mime source factory factory. context is the optional context of the document, i.e. the path to look for relative links. This becomes important if the text contains relative references, for example within image tags. QSimpleRichText always uses the default mime source factory (see QMimeSourceFactory::defaultFactory()) to resolve these references. The context will then be used to calculate the absolute path. See QMimeSourceFactory::makeAbsolute() for details. emptyTag and doc are for internal use only. This function should not be used in application code. SEE ALSO
http://doc.trolltech.com/qstylesheet.html http://www.trolltech.com/faq/tech.html COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. AUTHOR
Generated automatically from the source code. BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qstylesheet.3qt) and the Qt version (3.1.1). Trolltech AS 9 December 2002 QStyleSheet(3qt)
All times are GMT -4. The time now is 06:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy