I want to exclude (-v) blank records from a file before analysing it.
I know I can use '^]$' for spaces and tabs but how do you look for lines that have nothing (/n or line feed) ? (2 Replies)
Hello.
I had installed solaris 10 in morning , and all was running fine... I just logged out and logged in with another user ID oracle - It got stuck and then I pressed the button for restart.
Now I see only word GRUB written in top line rest everything is black.
What to do? (2 Replies)
Hello
I'm new in sun and i have a liitle problem.
I buy sun enterprise 420r and connect keyboard and monitor crt (non Sun).
But when i start server i have blank screen on crt. I'm new in sun servers and i dont know why its doin this. (11 Replies)
Hello!
Sorry, for my not so perfect english!
I want to stop bash shell script execution until any key is pressed.
This line in a bash shell script
read -n1 -r -p "Press any key to continue..." key
produces this error
When I run this from the command line
usera@lynx:~$ read... (4 Replies)
Using GNU-Screen for a long time.
C-a 1 2 n p to navigate to other tabs. This works till 9. I often have 10, 11 etc. Is there any way to go to them quickly ?
Currently, i have to do C-a 9, C-a n which is quite a pain. Thanks. (0 Replies)
hi to all.
im a newbie in unix shell scripts. i want to make a simple unix shell script using the bash shell that asks a user to press any key after a series of commands, or an x if he wishes to exit. here's a sample script that i made:
#!/usr/bin/bash
pause(){
/usr/bin/echo "\t\t Press... (3 Replies)
I have a SunFire V490
Recently when the server is rebooted the screen goes blank from when the CDE is shutdown to when it is started up again.
Has anyone got any ideas what might be causing this?
I've had a quick look in messages but can't find anything in there. I've had a look at... (2 Replies)
Hello,
I got blank screen when reboot after I tried to upgrade Ubuntu (64 bit server version) from 11.10 to 12.04 at update manager.
The normal login GUI is missing, but mouse cursor is fine. Then I switched to terminal (tty1 ~ tty6), which looked fine and showed it is Ubuntu 12.04 ! (Forgot how... (4 Replies)
Hi everyone,
I have a data.xml file which only contains thousands of data (tag) blocks. A part of the file looks exactly like this;
<data>
Line
Line
Line
</data>
<data>
Line
Line
Line
</data>
the rest of the file is simply a repetition of this part. Here each data block contains a... (8 Replies)
hi,
i need to replace a blank tab output in a file to zero.
input file:
2015/08/04 00:00:00 171 730579 27088 <blank> 3823 30273 1621778 ... (6 Replies)
Discussion started by: amyt1234
6 Replies
LEARN ABOUT CENTOS
qfocusevent
QFocusEvent(3qt)QFocusEvent(3qt)NAME
QFocusEvent - Event parameters for widget focus events
SYNOPSIS
#include <qevent.h>
Inherits QEvent.
Public Members
QFocusEvent ( Type type )
bool gotFocus () const
bool lostFocus () const
enum Reason { Mouse, Tab, Backtab, ActiveWindow, Popup, Shortcut, Other }
Static Public Members
Reason reason ()
void setReason ( Reason reason )
void resetReason ()
DESCRIPTION
The QFocusEvent class contains event parameters for widget focus events.
Focus events are sent to widgets when the keyboard input focus changes. Focus events occur due to mouse actions, keypresses (e.g. Tab or
Backtab), the window system, popup menus, keyboard shortcuts or other application specific reasons. The reason for a particular focus event
is returned by reason() in the appropriate event handler.
The event handlers QWidget::focusInEvent() and QWidget::focusOutEvent() receive focus events.
Use setReason() to set the reason for all focus events, and resetReason() to set the reason for all focus events to the reason in force
before the last setReason() call.
See also QWidget::setFocus(), QWidget::focusPolicy, and Event Classes.
Member Type Documentation
QFocusEvent::Reason
This enum specifies why the focus changed.
QFocusEvent::Mouse - because of a mouse action.
QFocusEvent::Tab - because of a Tab press.
QFocusEvent::Backtab - because of a Backtab press (possibly including Shift/Control, e.g. Shift+Tab).
QFocusEvent::ActiveWindow - because the window system made this window (in)active.
QFocusEvent::Popup - because the application opened/closed a popup that grabbed/released focus.
QFocusEvent::Shortcut - because of a keyboard shortcut.
QFocusEvent::Other - any other reason, usually application-specific.
See the keyboard focus overview for more about focus.
MEMBER FUNCTION DOCUMENTATION QFocusEvent::QFocusEvent ( Type type )
Constructs a focus event object.
The type parameter must be either QEvent::FocusIn or QEvent::FocusOut.
bool QFocusEvent::gotFocus () const
Returns TRUE if the widget received the text input focus; otherwise returns FALSE.
bool QFocusEvent::lostFocus () const
Returns TRUE if the widget lost the text input focus; otherwise returns FALSE.
Reason QFocusEvent::reason () [static]
Returns the reason for this focus event.
See also setReason().
void QFocusEvent::resetReason () [static]
Resets the reason for all future focus events to the value before the last setReason() call.
See also reason() and setReason().
void QFocusEvent::setReason ( Reason reason ) [static]
Sets the reason for all future focus events to reason.
See also reason() and resetReason().
SEE ALSO
http://doc.trolltech.com/qfocusevent.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2007 Trolltech ASA, 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
(qfocusevent.3qt) and the Qt version (3.3.8).
Trolltech AS 2 February 2007 QFocusEvent(3qt)