1 /* 2 # PostgreSQL Database Modeler (pgModeler) 3 # 4 # Copyright 2006-2020 - Raphael Araújo e Silva <raphael@pgmodeler.io> 5 # 6 # This program is free software: you can redistribute it and/or modify 7 # it under the terms of the GNU General Public License as published by 8 # the Free Software Foundation version 3. 9 # 10 # This program is distributed in the hope that it will be useful), 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # The complete text of GPLv3 is at LICENSE file on source code root directory. 16 # Also), you can get the complete GNU General Public License at <http://www.gnu.org/licenses/> 17 */ 18 19 #include "attributes.h" 20 21 namespace Attributes { 22 const QString 23 Action("action"), 24 ActiveLayers("active-layers"), 25 AdminOption("admin-option"), 26 AdminRoles("admin-roles"), 27 Alias("alias"), 28 Alignment("alignment"), 29 AlignObjsToGrid("align-objs-to-grid"), 30 AllowConns("allow-conns"), 31 AlterCmds("alter-cmds"), 32 AnalyzeFunc("analyze"), 33 AncestorTable("ancestor-table"), 34 AppendAtEod("append-at-eod"), 35 AppendedSql("appended-sql"), 36 Application("application"), 37 ApplyOnServer="apply-on-server", 38 ArgCount("arg-count"), 39 ArgDefaults("arg-defaults"), 40 ArgDefCount("arg-def-count"), 41 ArgModes("arg-modes"), 42 ArgNames("arg-names"), 43 ArgTypes("arg-types"), 44 Arguments("arguments"), 45 AscOrder("asc-order"), 46 Assignment("assignment"), 47 AttribsPage("attribs-page"), 48 AttribsPerPage("attribs-per-page"), 49 Attribute("attribute"), 50 AutoBrowseDb("auto-browse-db"), 51 AutoSaveInterval("autosave-interval"), 52 BackgroundColor("background-color"), 53 BaseType("base"), 54 Before("before"), 55 BehaviorType("behavior-type"), 56 Bold("bold"), 57 BorderColor("border-color"), 58 Bottom("bottom"), 59 Buffering("buffering"), 60 BypassRls("bypassrls"), 61 ByValue("by-value"), 62 Cache("cache"), 63 CanonicalFunc("canonical"), 64 CanvasCornerMove("canvas-corner-move"), 65 Cascade("cascade"), 66 CaseSensitive("case-sensitive"), 67 CastType("cast-type"), 68 Category("category"), 69 Change("change"), 70 Changelog("changelog"), 71 CheckExp("check-exp"), 72 CheckUpdate("check-update"), 73 CkConstr("ck-constr"), 74 ClientEncoding("client-encoding"), 75 CodeCompletion("code-completion"), 76 CodeFont("code-font"), 77 CodeFontSize("code-font-size"), 78 CodeTabWidth("code-tab-width"), 79 ColIndexes("col-indexes"), 80 ColIsIdentity("col-is-identity"), 81 CollapseMode("collapse-mode"), 82 Collatable("collatable"), 83 Collation("collation"), 84 Collations("collations"), 85 Color("color"), 86 Colors("colors"), 87 ColsComment("cols-comment"), 88 Column("column"), 89 ColumnAlias("column-alias"), 90 Columns("columns"), 91 Command("command"), 92 Commands("commands"), 93 Comment("comment"), 94 CommutatorOp("commutator-op"), 95 CompactView("compact-view"), 96 CompareToDatabase="compare-to-db", 97 ComparisonType("comparison-type"), 98 CompletionTrigger("completion-trigger"), 99 CompositeType("composite"), 100 Concurrent("concurrent"), 101 Condition("condition"), 102 ConfigFile("config-file"), 103 Configuration("configuration"), 104 ConfirmValidation("confirm-validation"), 105 ConnectCenterPnts("center-pnts"), 106 ConnectFkToPk("fk-to-pk"), 107 Connection("connection"), 108 Connections("connections"), 109 ConnectionTimeout("connection-timeout"), 110 ConnectPriv("connect"), 111 ConnectTableEdges("table-edges"), 112 ConnLimit("connlimit"), 113 Constraint("constraint"), 114 Constraints("constraints"), 115 ConstrDefs("constr-defs"), 116 ConstrIndexes("constr-indexes"), 117 ConstrSqlDisabled("constr-sql-disabled"), 118 Contents("contents"), 119 CopyMode("copy-mode"), 120 CopyOptions("copy-options"), 121 CopyTable("copy-table"), 122 Create("create"), 123 CreateCmds("create-cmds"), 124 CreateDb("createdb"), 125 CreatePriv("create"), 126 CreateRole("createrole"), 127 CrowsFoot("crows-foot"), 128 CteExpression("cte-exp"), 129 CurIdentityType("cur-identity-type"), 130 CurrentModel="current-model", 131 CurVersion("cur-version"), 132 CustomColor("custom-color"), 133 CustomFilter("custom-filter"), 134 CustomIdxs("customidxs"), 135 Cycle("cycle"), 136 Database("database"), 137 DataDirectory("data-directory"), 138 Date("date"), 139 DbModel("dbmodel"), 140 DdlEndToken("-- ddl-end --"), 141 DeadRowsAmount("dead-rows-amount"), 142 Declaration("declaration"), 143 DeclInTable("decl-in-table"), 144 Default("default"), 145 DefaultCollation("default-collation"), 146 DefaultForOps("default-for-ops"), 147 DefaultOwner("default-owner"), 148 DefaultSchema("default-schema"), 149 DefaultTablespace("default-tablespace"), 150 DefaultValue("default-value"), 151 Deferrable("deferrable"), 152 DeferType("defer-type"), 153 Definition("definition"), 154 DelAction("del-action"), 155 DeletePriv("delete"), 156 DelEvent("del-event"), 157 Delimiter("delimiter"), 158 DestType("destiny-type"), 159 Diff("diff"), 160 Dimension("dimension"), 161 Directory("directory"), 162 DisableSmoothness("disable-smoothness"), 163 DisplayLineNumbers("display-line-numbers"), 164 DockWidgets("dock-widgets"), 165 DomConstraint("domconstraint"), 166 DontDropMissingObjs="dont-drop-missing-objs", 167 Drop("drop"), 168 DropCmds("drop-cmds"), 169 DropMissingColsConstrs="drop-missing-cols-constrs", 170 DropTruncCascade="drop-trunc-cascade", 171 DstColPattern("dst-col-pattern"), 172 DstColumns("dst-columns"), 173 DstEncoding("dst-encoding"), 174 DstFkPattern("dst-fk-pattern"), 175 DstLabel("dst-label"), 176 DstRequired("dst-required"), 177 DstTable("dst-table"), 178 DstType("dst-type"), 179 DynamicLibraryPath("dynamic-library-path"), 180 DynamicSharedMemory("dynamic-shared-memory-type"), 181 Element("element"), 182 Elements("elements"), 183 EmptyPassword("empty-password"), 184 Encoding("encoding"), 185 Encrypted("encrypted"), 186 EndExp("end-exp"), 187 Enumerations("enumerations"), 188 EnumType("enumeration"), 189 Entry("entry"), 190 EscapeComment("escape-comment"), 191 Event("event"), 192 Events("events"), 193 EventType("event-type"), 194 ExactMatch("exact-match"), 195 ExcBuiltinArrays("exc-builtin-arrays"), 196 ExcludeElement("excelement"), 197 ExConstr("ex-constr"), 198 ExecType("exec-type"), 199 ExecutionCost("execution-cost"), 200 ExecutPriv("execute"), 201 ExistingValue("existing-value"), 202 Explicit("explicit"), 203 Export("export"), 204 ExportToFile("export-to-file"), 205 Expression("expression"), 206 Expressions("expressions"), 207 ExtAttribsPage("ext-attribs-page"), 208 ExtAttribsPerPage("ext-attribs-per-page"), 209 ExtObjOids("ext-obj-oids"), 210 ExtraCondition("extra-condition"), 211 Factor("factor"), 212 FadedOut("faded-out"), 213 FadeInObjects("fadein-objects"), 214 False("false"), 215 Family("family"), 216 FastUpdate("fast-update"), 217 Fdw("fdw"), 218 File("file"), 219 FileAssociated("file-associated"), 220 FillColor("fill-color"), 221 Filter("filter"), 222 FilterOids("filter-oids"), 223 FilterTableTypes("filter-tab-types"), 224 FinalFunc("final"), 225 FiringType("firing-type"), 226 FkColumn("fk-column"), 227 FkConstr("fk-constr"), 228 FkDefs("fk-defs"), 229 Font("font"), 230 FontSize("font-size"), 231 ForceObjsRecreation="force-objs-recreation", 232 ForegroundColor("foreground-color"), 233 ForeignKeys("foreign-keys"), 234 ForeignTableBody("foreigntable-body"), 235 ForeignTableExtBody("foreigntable-ext-body"), 236 ForeignTableName("foreigntable-name"), 237 ForeignTableSchemaName("foreigntable-schema-name"), 238 ForeignTableTitle("foreigntable-title"), 239 FormatName("format-name"), 240 FromExp("from-exp"), 241 Function("function"), 242 FunctionType("function-type"), 243 GenAlterCmds("gen-alter-cmds"), 244 General("general"), 245 Generated("generated"), 246 Global("global"), 247 GrantOp("grant-op"), 248 GridSize("grid-size"), 249 Group("group"), 250 HandlerFunc("handler"), 251 HandlesType("handles-type"), 252 HasChanges("has-changes"), 253 Hashes("hashes"), 254 HbaFile("hba-file"), 255 Height("height"), 256 HideExtAttribs("hide-ext-attribs"), 257 HideRelName("hide-rel-name"), 258 HideTableTags("hide-table-tags"), 259 HighlightLines("highlight-lines"), 260 HighlightOrder("highlight-order"), 261 HistoryMaxLength("history-max-length"), 262 Icon("icon"), 263 Id("id"), 264 IdentFile("ident-file"), 265 Identifier("identifier"), 266 IdentityType("identity-type"), 267 IgnoredChars("ignored-chars"), 268 IgnoreDuplicErrors="ignore-duplic-errors", 269 IgnoreErrorCodes="ignore-error-codes", 270 IgnoreImportErrors="ignore-import-errors", 271 Implicit("implicit"), 272 Import("import"), 273 ImportExtObjs="import-ext-objs", 274 ImportSysObjs="import-sys-objs", 275 Increment("increment"), 276 Index("index"), 277 IndexElement("idxelement"), 278 Indexes("indexes"), 279 IndexType("index-type"), 280 Info("info"), 281 InhColumn("inh-column"), 282 InhColumns("inh-columns"), 283 Inherit("inherit"), 284 Inherited("inherited"), 285 InitialCond("initial-cond"), 286 InitialData("initial-data"), 287 InitialExp("initial-exp"), 288 InlineFunc("inline"), 289 InputDatabase="input-db", 290 InputFunc("input"), 291 InsertPriv("insert"), 292 InsEvent("ins-event"), 293 InternalLength("internal-length"), 294 IntervalType("interval-type"), 295 InvertRangeSelTrigger("invert-rangesel-trigger"), 296 IoCast("io-cast"), 297 IsPartitioned("is-partitioned"), 298 IsTemplate("is-template"), 299 Italic("italic"), 300 Item("item"), 301 Items("items"), 302 JoinFunc("join"), 303 KeepClusterObjs="keep-cluster-objs", 304 KeepObjsPerms="keep-objs-perms", 305 Label("label"), 306 LabelsPos("labels-pos"), 307 Landscape("landscape"), 308 Language("language"), 309 LastAnalyze("last-analyze"), 310 LastAutovacuum("last-autovacuum"), 311 LastPosition("last-position"), 312 LastSysOid("last-sys-oid"), 313 LastVacuum("last-vacuum"), 314 LastValue("last-value"), 315 LastZoom("last-zoom"), 316 Layer("layer"), 317 Layers("layers"), 318 LcCollate("lc-collate"), 319 LcCtype("lc-ctype"), 320 LeakProof("leakproof"), 321 Left("left"), 322 LeftType("left-type"), 323 Length("length"), 324 Library("library"), 325 LikeType("like-type"), 326 Line("line"), 327 LineHighlightColor("line-highlight-color"), 328 LineNumbersBgColor("line-numbers-bg-color"), 329 LineNumbersColor("line-numbers-color"), 330 Link("link"), 331 ListenAddresses("listen-addresses"), 332 Locale("locale"), 333 LockerArc("locker-arc"), 334 LockerBody("locker-body"), 335 Login("login"), 336 LookaheadChar("lookahead-char"), 337 LowVerbosity("low-verbosity"), 338 Materialized("materialized"), 339 MaxConnections("max-connections"), 340 Maximized("maximized"), 341 MaxObjCount("max-obj-count"), 342 MaxValue("max-value"), 343 Member("member"), 344 MemberRoles("member-roles"), 345 Merges("merges"), 346 Metadata("metadata"), 347 MinObjectOpacity("min-object-opacity"), 348 MinValue("min-value"), 349 Mode("mode"), 350 ModelAuthor("author"), 351 Name("name"), 352 NameFilter("name-filter"), 353 NameLabel("name-label"), 354 NamePatterns("name-patterns"), 355 Names("names"), 356 NegatorOp("negator-op"), 357 NewIdentityType("new-identity-type"), 358 NewName("new-name"), 359 NewTableName("new-table-name"), 360 NewVersion("new-version"), 361 Next("next"), 362 NnColumn("nn-column"), 363 NoInherit("no-inherit"), 364 None("none"), 365 NotExtObject("not-ext-object"), 366 NotNull("not-null"), 367 NullsFirst("nulls-first"), 368 Object("object"), 369 ObjectFinder("objectfinder"), 370 ObjectId("object-id"), 371 Objects("objects"), 372 ObjectType("object-type"), 373 ObjCount("objcount"), 374 ObjSelection("obj-selection"), 375 Oid("oid"), 376 OidFilterOp("oid-filter-op"), 377 Oids("oids"), 378 OldName("old-name"), 379 OldTableName("old-table-name"), 380 OldVersion("old-version"), 381 OpClass("opclass"), 382 OpClasses("opclasses"), 383 Operator("operator"), 384 OperatorFunc("operfunc"), 385 Operators("operators"), 386 OpFamily("opfamily"), 387 OpListSize("op-list-size"), 388 Options("options"), 389 OriginalPk("original-pk"), 390 OutputFunc("output"), 391 Owner("owner"), 392 OwnerColumn("owner-col"), 393 Pagination("pagination"), 394 PaperCustomSize("paper-custom-size"), 395 PaperMargin("paper-margin"), 396 PaperOrientation("paper-orientation"), 397 PaperType("paper-type"), 398 Parameter("parameter"), 399 Parameters("parameters"), 400 ParamIn("in"), 401 ParamOut("out"), 402 ParamVariadic("variadic"), 403 Parent("parent"), 404 ParentType("parent-type"), 405 Parents("parents"), 406 Parsable("parsable"), 407 PartialMatch("partial-match"), 408 PartitionBoundExpr("partition-bound-expr"), 409 PartitionedTable("partitioned-table"), 410 PartitionTables("partition-tables"), 411 Partitioning("partitioning"), 412 PartitionKey("partitionkey"), 413 PartKeyColls("part-key-colls"), 414 PartKeyCols("part-key-cols"), 415 PartKeyExprs("part-key-exprs"), 416 PartKeyOpCls("part-key-opcls"), 417 Password("password"), 418 PasswordEncryption("password-encryption"), 419 Path("path"), 420 Patterns("patterns"), 421 Permission("permission"), 422 Permissive("permissive"), 423 PerRow("per-line"), 424 PgModelerVersion("pgmodeler-ver"), 425 PgSqlBaseType("basetype"), 426 PgSqlVersion("pgsql-ver"), 427 PkColPattern("pk-col-pattern"), 428 PkColumn("pk-column"), 429 PkConstr("pk-constr"), 430 PkPattern("pk-pattern"), 431 Placeholder("placeholder"), 432 Placeholders("placeholders"), 433 Points("points"), 434 Port("port"), 435 Portrait("portrait"), 436 Position("position"), 437 PositionInfo("pos-info"), 438 Precision("precision"), 439 Predicate("predicate"), 440 Preferred("preferred"), 441 PrependAtBod("prepend-at-bod"), 442 PrependedSql("prepended-sql"), 443 PreserveDbName("preserve-db-name"), 444 PrependSchema("prepend-schema"), 445 Preset("preset"), 446 Previous("previous"), 447 PrintGrid("print-grid"), 448 PrintPgNum("print-pg-num"), 449 Privileges("privileges"), 450 PrivilegesGop("privileges-gop"), 451 ProtColumn("prot-column"), 452 Protected("protected"), 453 RangeAttribs("range-attribs"), 454 RangeType("range"), 455 Recent("recent"), 456 RecentModels("recent-models"), 457 RecreateUnmodObjs="recreate-unmod-objs", 458 RectVisible("rect-visible"), 459 Recursive("recursive"), 460 RecvFunc("receive"), 461 ReducedForm("reduced-form"), 462 RefAlias("ref-alias"), 463 RefColumn("ref-column"), 464 Refer("refer"), 465 Reference("reference"), 466 ReferenceFk("reference-fk"), 467 References("references"), 468 ReferencesPriv("references"), 469 Referrers("referrers"), 470 RefName("ref-name"), 471 RefRoles("ref-roles"), 472 RefTable("ref-table"), 473 RefTables("ref-tables"), 474 RefTableTag("reftable"), 475 RefType("ref-type"), 476 RegularExp("regexp"), 477 Relationship("relationship"), 478 Relationship11("rel11"), 479 Relationship1n("rel1n"), 480 RelationshipDep("reldep"), 481 RelationshipFk("relfk"), 482 RelationshipGen("relgen"), 483 RelationshipNn("relnn"), 484 RelationshipPart("relpart"), 485 RelationshipTabView("reltv"), 486 Rename("rename"), 487 Replication("replication"), 488 RestartSeq("restart-seq"), 489 RestrictionFunc("restriction"), 490 ReturnsSetOf("returns-setof"), 491 ReturnTable("return-table"), 492 ReturnType("return-type"), 493 ReuseSequences("reuse-sequences"), 494 Revoke("revoke"), 495 Right("right"), 496 RightType("right-type"), 497 RlsEnabled("rls-enabled"), 498 RlsForced("rls-forced"), 499 Role("role"), 500 Roles("roles"), 501 RoleType("role-type"), 502 RowAmount("row-amount"), 503 Rules("rules"), 504 SaveLastPosition("save-last-position"), 505 SaveRestoreGeometry("save-restore-geometry"), 506 Schema("schema"), 507 SchemaOid("schema-oid"), 508 SearchPath("search-path"), 509 SecurityType("security-type"), 510 SelectExp("select-exp"), 511 SelectObjects("select-objects"), 512 SelectPriv("select"), 513 SendFunc("send"), 514 Sequence("sequence"), 515 Server("server"), 516 ServerEncoding("server-encoding"), 517 ServerPid("server-pid"), 518 ServerProtocol("server-protocol"), 519 ServerVersion("server-version"), 520 SetPerms("set-perms"), 521 SharedObj("shared-obj"), 522 ShellTypes("shell-types"), 523 ShowAttributesGrid("show-attributes-grid"), 524 ShowCanvasGrid("show-canvas-grid"), 525 ShowMainMenu("show-main-menu"), 526 ShowPageDelimiters("show-page-delimiters"), 527 ShowSourcePane("show-source-pane"), 528 Signature("signature"), 529 SimpleExp("simple-exp"), 530 SimplifiedObjCreation("simplified-obj-creation"), 531 SinglePkColumn("single-pk-col"), 532 Size("size"), 533 Snippet("snippet"), 534 SortOp("sort-op"), 535 SourceEditorApp("source-editor-app"), 536 SourceEditorArgs("source-editor-args"), 537 SourceType("source-type"), 538 SpatialType("spatial-type"), 539 SpecialPkCols("special-pk-cols"), 540 Splitted("splitted"), 541 SqlDisabled("sql-disabled"), 542 SqlObject("sql-object"), 543 SqlTool("sqltool"), 544 SqlValidation("sql-validation"), 545 SrcColPattern("src-col-pattern"), 546 SrcColumns("src-columns"), 547 SrcEncoding("src-encoding"), 548 SrcFkPattern("src-fk-pattern"), 549 SrcLabel("src-label"), 550 SrcRequired("src-required"), 551 SrcTable("src-table"), 552 SrcType("src-type"), 553 Srid("srid"), 554 Ssl("ssl"), 555 SslCaFile("ssl-ca-file"), 556 SslCertFile("ssl-cert-file"), 557 SslCrlFile("ssl-crl-file"), 558 SslKeyFile("ssl-key-file"), 559 Start("start"), 560 StateType("state-type"), 561 Storage("storage"), 562 StorageParams("stg-params"), 563 StoreInFile="store-in-file", 564 StrategyNum("stg-number"), 565 Style("style"), 566 Styles("styles"), 567 Subtype("subtype"), 568 SubtypeDiffFunc("subtypediff"), 569 Superuser("superuser"), 570 Symbol("symbol"), 571 Table("table"), 572 TableBody("table-body"), 573 TableExtBody("table-ext-body"), 574 TableName("table-name"), 575 TableObject("table-obj"), 576 TableSchemaName("table-schema-name"), 577 Tablespace("tablespace"), 578 TableTitle("table-title"), 579 TableType("table-type"), 580 Tag("tag"), 581 TemplateDb("template"), 582 TemporaryPriv("temporary"), 583 Top("top"), 584 TpmodInFunc("tpmodin"), 585 TpmodOutFunc("tpmodout"), 586 TransitionFunc("transition"), 587 TriggerFunc("trigger-func"), 588 TriggerPriv("trigger"), 589 Triggers("triggers"), 590 True("true"), 591 Truncate("truncate"), 592 TruncateCmds("truncate-cmds"), 593 TruncatePriv("truncate"), 594 TruncColsBeforeAlter="trunc-cols-before-alter", 595 TruncEvent("trunc-event"), 596 Trusted("trusted"), 597 TuplesDel("tuples-del"), 598 TuplesIns("tuples-ins"), 599 Type("type"), 600 TypeAttribute("typeattrib"), 601 TypeClass("type-class"), 602 TypeOid("type-oid"), 603 Types("types"), 604 TyplesUpd("tuples-upd"), 605 UiLanguage("ui-language"), 606 Underline("underline"), 607 Unique("unique"), 608 Unlogged("unlogged"), 609 Unset("unset"), 610 UnsetPerms("unset-perms"), 611 UpdAction("upd-action"), 612 UpdatePriv("update"), 613 UpdEvent("upd-event"), 614 UqColumn("uq-column"), 615 UqConstr("uq-constr"), 616 UqPattern("uq-pattern"), 617 UsagePriv("usage"), 618 UseChangelog("use-changelog"), 619 UseCurvedLines("use-curved-lines"), 620 UsePlaceholders("use-placeholders"), 621 UseSignature("use-signature"), 622 UseSorting("use-sorting"), 623 UseUniqueNames("use-unique-names"), 624 UsingExp("using-exp"), 625 Validation("validation"), 626 Validator("validator"), 627 ValidatorFunc("validator"), 628 Validity("validity"), 629 Value("value"), 630 Values("values"), 631 Variable("variable"), 632 Variation("variation"), 633 Version("version"), 634 ViewBody("view-body"), 635 ViewExtBody("view-ext-body"), 636 ViewName("view-name"), 637 ViewSchemaName("view-schema-name"), 638 ViewTitle("view-title"), 639 Visible("visible"), 640 Widget("widget"), 641 WidgetsGeometry("widgets-geometry"), 642 Width("width"), 643 Wildcard("wildcard"), 644 WindowFunc("window-func"), 645 WithNoData("with-no-data"), 646 WithoutOids("without-oids"), 647 WithTimezone("with-timezone"), 648 WordDelimiters("word-delimiters"), 649 WordSeparators("word-separators"), 650 WorkingDir("working-dir"), 651 XPos("x"), 652 YPos("y"), 653 ZValue("z-value"); 654 } 655 656