Back to index

salome-gui  6.5.0
Functions | Variables
QtxSearchTool.cxx File Reference
#include "QtxSearchTool.h"
#include <QApplication>
#include <QCheckBox>
#include <QEvent>
#include <QHBoxLayout>
#include <QKeyEvent>
#include <QLineEdit>
#include <QPersistentModelIndex>
#include <QShortcut>
#include <QTimer>
#include <QToolButton>
#include <QTreeView>

Go to the source code of this file.

Functions

static QWidget * wrapWidget (QWidget *parent, QWidget *w)
 Wrap specified widget by another dumb widget.

Variables

const char *const first_xpm []
const char *const last_xpm []
const char *const prev_xpm []
const char *const next_xpm []
const char *const close_xpm []
const char * highlightColor = "#FF6666"
const int DefaultAutoHideDelay = 10000

Function Documentation

static QWidget* wrapWidget ( QWidget *  parent,
QWidget *  w 
) [static]

Wrap specified widget by another dumb widget.

Parameters:
parentwidget to be used as parent for the dumb widget
wwidget to be wrapped
Returns:
wrapper widget

Definition at line 202 of file QtxSearchTool.cxx.

{
  QWidget* wrapper = new QWidget( parent );
  w->setParent( wrapper );
  QHBoxLayout* l = new QHBoxLayout( wrapper );
  l->setMargin( 1 );
  l->setSpacing( 0 );
  l->addWidget( w );
  return wrapper;
}

Variable Documentation

const char* const close_xpm[]
Initial value:
 {
"16 16 8 1",
"       c None",
".      c #D73727",
"+      c #E17765",
"@      c #E7957F",
"#      c #DE6F48",
"$      c #DF7B4F",
"%      c #FAE9E4",
"&      c #FFFFFF",
"                ",
"  ............  ",
" .+@@@@@@@@@@+. ",
" .@#$$$$$$$$#@. ",
" .@$$%$$$$%$$@. ",
" .@$%&%$$%&%$@. ",
" .@$$%&%%&%$$@. ",
" .@$$$%&&%$$$@. ",
" .@$$$%&&%$$$@. ",
" .@$$%&%%&%$$@. ",
" .@$%&%$$%&%$@. ",
" .@$$%$$$$%$$@. ",
" .@#$$$$$$$$#@. ",
" .+@@@@@@@@@@+. ",
"  ............  ",
"                "}

Definition at line 165 of file QtxSearchTool.cxx.

const int DefaultAutoHideDelay = 10000

Definition at line 193 of file QtxSearchTool.cxx.

const char* const first_xpm[]

Definition at line 37 of file QtxSearchTool.cxx.

const char* highlightColor = "#FF6666"

Definition at line 192 of file QtxSearchTool.cxx.

const char* const last_xpm[]

Definition at line 70 of file QtxSearchTool.cxx.

const char* const next_xpm[]
Initial value:
 {
"16 16 12 1",
"       c None",
".      c #111111",
"+      c #FC6D6E",
"@      c #FB6364",
"#      c #F25B5C",
"$      c #EA5859",
"%      c #C1494A",
"&      c #B64545",
"*      c #ACACAC",
"=      c #AB4040",
"-      c #A03C3C",
";      c #99393A",
"       .        ",
"       ..       ",
"  ......+.      ",
"  .+++++++.     ",
"  .@@@@@@@@.    ",
"  .#########.   ",
"  .$$$$$$$$$$.  ",
"  .%%%%%%%%%%%. ",
"  .&&&&&&&&&&.**",
"  .=========.** ",
"  .--------.**  ",
"  .;;;;;;;.**   ",
"  ......;.**    ",
"   ****..**     ",
"       .**      ",
"       **       "}

Definition at line 134 of file QtxSearchTool.cxx.

const char* const prev_xpm[]
Initial value:
 {
"16 16 12 1",
"       c None",
".      c #111111",
"+      c #ACACAC",
"@      c #FC6D6E",
"#      c #FB6364",
"$      c #F25B5C",
"%      c #EA5859",
"&      c #C1494A",
"*      c #B64545",
"=      c #AB4040",
"-      c #A03C3C",
";      c #99393A",
"        .       ",
"       ..+      ",
"      .@......  ",
"     .@@@@@@@.+ ",
"    .########.+ ",
"   .$$$$$$$$$.+ ",
"  .%%%%%%%%%%.+ ",
" .&&&&&&&&&&&.+ ",
"  .**********.+ ",
"  +.=========.+ ",
"   +.--------.+ ",
"    +.;;;;;;;.+ ",
"     +.;......+ ",
"      +..++++++ ",
"       +.+      ",
"        ++      "}

Definition at line 103 of file QtxSearchTool.cxx.