Eneboo - Documentación para desarrolladores
Funciones | Variables
Referencia del Archivo src/fllite/main.cpp
#include <stdlib.h>
#include <qsplashscreen.h>
#include "FLConnectDBDialog.h"
#include "FLDiskCache.h"
#include "FLSqlDatabase.h"
#include "FLSqlConnections.h"
#include "FLSettings.h"
#include "AQApplication.h"
#include "AQConfig.h"

Funciones

AQ_DECL_MAIN QPalette p (QColor(229, 229, 229), QColor(229, 229, 229))
setColor (QPalette::Active, QColorGroup::Dark, QColor(246, 242, 246))
setColor (QPalette::Inactive, QColorGroup::Dark, QColor(246, 242, 246))
setColor (QPalette::Disabled, QColorGroup::Dark, QColor(246, 242, 246))
setColor (QPalette::Active, QColorGroup::Base, QColor(255, 255, 248))
setColor (QPalette::Inactive, QColorGroup::Base, QColor(255, 255, 248))
setColor (QPalette::Disabled, QColorGroup::Base, QColor(255, 255, 248))
setColor (QPalette::Active, QColorGroup::Highlight, QColor(95, 150, 205))
setColor (QPalette::Active, QColorGroup::HighlightedText, Qt::white)
setColor (QPalette::Inactive, QColorGroup::HighlightedText, Qt::white)
setColor (QPalette::Disabled, QColorGroup::HighlightedText, Qt::white)
setColor (QPalette::Inactive, QColorGroup::Text, Qt::black)
setColor (QPalette::Disabled, QColorGroup::Text, QColor(100, 100, 100))
setColor (QPalette::Active, QColorGroup::Foreground, QColor(30, 30, 30))
setColor (QPalette::Inactive, QColorGroup::Foreground, QColor(30, 30, 30))
setColor (QPalette::Disabled, QColorGroup::Foreground, QColor(100, 100, 100))
setColor (QPalette::Active, QColorGroup::ButtonText, QColor(30, 30, 30))
setColor (QPalette::Inactive, QColorGroup::ButtonText, QColor(30, 30, 30))
setColor (QPalette::Disabled, QColorGroup::ButtonText, QColor(100, 100, 100))
 for (int i=1;i< argc;i++)
QStringList paths (AbanQ->libraryPaths())
 if (!paths.contains(pathApp)) paths<< pathApp
 if (!paths.contains(AQ_LIB)) paths<< AQ_LIB
AbanQ setLibraryPaths (paths)
appFont setPointSize (FLSettings::readNumEntry("font/pointSize", pointSize))
appFont setBold (FLSettings::readBoolEntry("font/bold", false))
appFont setItalic (FLSettings::readBoolEntry("font/italic", false))
appFont setUnderline (FLSettings::readBoolEntry("font/underline", false))
appFont setStrikeOut (FLSettings::readBoolEntry("font/strikeOut", false))
AbanQ setFont (appFont)
AbanQ setStyle (FLSettings::readEntry("style","QtCurve"))
AbanQ installTranslator (AbanQ->createSysTranslator(QString(QTextCodec::locale()).left(2), true))
AbanQ installTranslator (AbanQ->createSysTranslator("multilang"))
AbanQ setPalette (p, true)
 if (silentConn.isEmpty())
else if (!silentConnect(silentConn))
AbanQ setNotExit (FLSettings::readBoolEntry("application/notExit", false))
AbanQ setPrintProgram (FLSettings::readEntry("printing/printProgram", QString::null))
AbanQ flushX ()
AbanQ syncX ()
AbanQ processEvents ()
AbanQ init (FLSettings::readEntry("application/formAlone", formAlone), FLSettings::readEntry("application/callFunction", callFunction), FLSettings::readEntry("application/arguments", arguments), FLSettings::readBoolEntry("application/quitAfterCall", quitAfterCall), FLSettings::readBoolEntry("application/noMax", noMax))
 if (AbanQ->mainWidget())
else if(splash) QTimer int main (int argc, char **argv)

Variables

QString formAlone
QString callFunction
QString arguments
QString strConn
QString silentConn
bool quitAfterCall = false
bool autoLogin_ = false
bool noMax = false
FLApplicationAbanQ = aqApp
QFont appFont
QString pathApp (AQ_PREFIX+"/plugins")
int pointSize = 8
FLConnectDBDialogs = 0
QSplashScreensplash = 0

Documentación de las funciones

AbanQ flushX ( )
for ( )
if ( silentConn.  isEmpty())
else if ( silentConnectsilentConn)
if ( !paths.  containspathApp)
if ( AbanQ->  mainWidget())
if ( !paths.  containsAQ_LIB)
AbanQ init ( FLSettings::  readEntry"application/formAlone", formAlone,
FLSettings::  readEntry"application/callFunction", callFunction,
FLSettings::  readEntry"application/arguments", arguments,
FLSettings::  readBoolEntry"application/quitAfterCall", quitAfterCall,
FLSettings::  readBoolEntry"application/noMax", noMax 
)
AbanQ installTranslator ( AbanQ->  createSysTranslator"multilang")
AbanQ installTranslator ( AbanQ->  createSysTranslatorQString(QTextCodec::locale()).left(2), true)
else if (splash) QTimer int main ( int  argc,
char **  argv 
)
AQ_DECL_MAIN QPalette p ( QColor(229, 229, 229)  ,
QColor(229, 229, 229)   
)
QStringList paths ( AbanQ->  libraryPaths())
AbanQ processEvents ( )
appFont setBold ( FLSettings::  readBoolEntry"font/bold", false)
p setColor ( QPalette::Inactive  ,
QColorGroup::HighlightedText  ,
Qt::white   
)
p setColor ( QPalette::Inactive  ,
QColorGroup::Foreground  ,
QColor(30, 30, 30)   
)
p setColor ( QPalette::Disabled  ,
QColorGroup::Base  ,
QColor(255, 255, 248)   
)
p setColor ( QPalette::Active  ,
QColorGroup::ButtonText  ,
QColor(30, 30, 30)   
)
p setColor ( QPalette::Inactive  ,
QColorGroup::Text  ,
Qt::black   
)
p setColor ( QPalette::Active  ,
QColorGroup::Highlight  ,
QColor(95, 150, 205)   
)
p setColor ( QPalette::Inactive  ,
QColorGroup::ButtonText  ,
QColor(30, 30, 30)   
)
p setColor ( QPalette::Disabled  ,
QColorGroup::Foreground  ,
QColor(100, 100, 100)   
)
p setColor ( QPalette::Disabled  ,
QColorGroup::Dark  ,
QColor(246, 242, 246)   
)
p setColor ( QPalette::Active  ,
QColorGroup::HighlightedText  ,
Qt::white   
)
p setColor ( QPalette::Inactive  ,
QColorGroup::Dark  ,
QColor(246, 242, 246)   
)
p setColor ( QPalette::Disabled  ,
QColorGroup::ButtonText  ,
QColor(100, 100, 100)   
)
p setColor ( QPalette::Active  ,
QColorGroup::Base  ,
QColor(255, 255, 248)   
)
p setColor ( QPalette::Disabled  ,
QColorGroup::HighlightedText  ,
Qt::white   
)
p setColor ( QPalette::Active  ,
QColorGroup::Dark  ,
QColor(246, 242, 246)   
)
p setColor ( QPalette::Inactive  ,
QColorGroup::Base  ,
QColor(255, 255, 248)   
)
p setColor ( QPalette::Disabled  ,
QColorGroup::Text  ,
QColor(100, 100, 100)   
)
p setColor ( QPalette::Active  ,
QColorGroup::Foreground  ,
QColor(30, 30, 30)   
)
AbanQ setFont ( appFont  )
appFont setItalic ( FLSettings::  readBoolEntry"font/italic", false)
AbanQ setLibraryPaths ( paths  )
AbanQ setNotExit ( FLSettings::  readBoolEntry"application/notExit", false)
AbanQ setPalette ( ,
true   
)
appFont setPointSize ( FLSettings::  readNumEntry"font/pointSize", pointSize)
AbanQ setPrintProgram ( FLSettings::  readEntry"printing/printProgram", QString::null)
appFont setStrikeOut ( FLSettings::  readBoolEntry"font/strikeOut", false)
AbanQ setStyle ( FLSettings::  readEntry"style","QtCurve")
appFont setUnderline ( FLSettings::  readBoolEntry"font/underline", false)
AbanQ syncX ( )

Documentación de las variables

bool autoLogin_ = false
bool noMax = false
QString pathApp(AQ_PREFIX+"/plugins")
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'